File tree Expand file tree Collapse file tree 1 file changed +4
-34
lines changed Expand file tree Collapse file tree 1 file changed +4
-34
lines changed Original file line number Diff line number Diff line change @@ -8,8 +8,7 @@ tags: [rust]
8
8
9
9
## Versions
10
10
11
- - 1.60 (` edition = "2021" ` )
12
- - 1.62 (` edition = "2021" ` )
11
+ - 1.66 (` edition = "2021" ` )
13
12
14
13
The following profiles are used to get decent performance in tests:
15
14
@@ -27,7 +26,7 @@ opt-level = 3
27
26
28
27
## Test Frameworks
29
28
30
- Rust kata uses builtin ` #[test] ` .
29
+ Rust kata use the built-in Rust support for testing, with test functions marked with ` #[test] ` .
31
30
32
31
## Example
33
32
@@ -37,7 +36,7 @@ Solution and tests are concatenated to `src/lib.rs`.
37
36
pub fn add (x : i32 , y : i32 ) -> i32 { x + y }
38
37
```
39
38
40
- All the tests _ should_ be in a child module ` tests ` :
39
+ All the tests _ should_ be in a child module named ` tests ` :
41
40
``` rust
42
41
#[cfg(test)]
43
42
mod tests {
@@ -62,36 +61,7 @@ See the unit testing chapter in [the book](https://doc.rust-lang.org/book/ch11-0
62
61
63
62
## Packages
64
63
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
95
65
96
66
``` toml
97
67
[dependencies ]
You can’t perform that action at this time.
0 commit comments