Skip to content

Commit a8a5eab

Browse files
committed
Update the rust documentation to reference the current version
1 parent 310200b commit a8a5eab

File tree

1 file changed

+4
-34
lines changed

1 file changed

+4
-34
lines changed

content/languages/rust/index.md

Lines changed: 4 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ tags: [rust]
88

99
## Versions
1010

11-
- 1.60 (`edition = "2021"`)
12-
- 1.62 (`edition = "2021"`)
11+
- 1.66 (`edition = "2021"`)
1312

1413
The following profiles are used to get decent performance in tests:
1514

@@ -27,7 +26,7 @@ opt-level = 3
2726

2827
## Test Frameworks
2928

30-
Rust kata uses builtin `#[test]`.
29+
Rust kata use the built-in Rust support for testing, with test functions marked with `#[test]`.
3130

3231
## Example
3332

@@ -37,7 +36,7 @@ Solution and tests are concatenated to `src/lib.rs`.
3736
pub fn add(x: i32, y: i32) -> i32 { x + y }
3837
```
3938

40-
All the tests _should_ be in a child module `tests`:
39+
All the tests _should_ be in a child module named `tests`:
4140
```rust
4241
#[cfg(test)]
4342
mod tests {
@@ -62,36 +61,7 @@ See the unit testing chapter in [the book](https://doc.rust-lang.org/book/ch11-0
6261

6362
## Packages
6463

65-
### 1.60
66-
67-
```toml
68-
[dependencies]
69-
bit-set = "0.5.2"
70-
chrono = "0.4.19"
71-
either = "1.6.1"
72-
fancy-regex = "0.8.0"
73-
futures = "0.3.21"
74-
im = "15.0.0"
75-
itertools = "0.10.3"
76-
lazy_static = "1.4.0"
77-
num = { version = "0.4.0", features = ["rand"] }
78-
once_cell = "1.10.0"
79-
rand = "0.8.5"
80-
regex = "1.5.5"
81-
serde = { version = "1.0.136", features = ["derive"] }
82-
serde_json = "1.0.79"
83-
text_io = "0.1.10"
84-
thiserror = "1.0.30"
85-
tokio = { version = "1.17.0", features = ["full"] }
86-
tokio-util = { version = "0.7.1", features = ["full"] }
87-
88-
[dev-dependencies]
89-
quickcheck = "1.0.3"
90-
quickcheck_macros = "1.0.0"
91-
float_eq = "0.7.0"
92-
```
93-
94-
### 1.62
64+
### 1.66
9565

9666
```toml
9767
[dependencies]

0 commit comments

Comments
 (0)