@@ -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
1413The 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`.
3736pub 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)]
4342mod tests {
@@ -62,62 +61,33 @@ See the unit testing chapter in [the book](https://doc.rust-lang.org/book/ch11-0
6261
6362## Packages
6463
65- ### 1.60
64+ ### 1.66
6665
6766``` toml
6867[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
95-
96- ``` toml
97- [dependencies ]
98- bit-set = " 0.5.2"
99- chrono = " 0.4.19"
100- either = " 1.7.0"
68+ bit-set = " 0.5.3"
69+ chrono = " 0.4.23"
70+ either = " 1.8.0"
10171fancy-regex = " 0.10.0"
102- futures = " 0.3.21 "
72+ futures = " 0.3.25 "
10373im = " 15.1.0"
104- itertools = " 0.10.3 "
74+ itertools = " 0.10.5 "
10575lazy_static = " 1.4.0"
10676num = { version = " 0.4.0" , features = [" rand" ] }
107- once_cell = " 1.13 .0"
77+ once_cell = " 1.16 .0"
10878rand = " 0.8.5"
109- regex = " 1.6 .0"
110- serde = { version = " 1.0.139 " , features = [" derive" ] }
111- serde_json = " 1.0.82 "
112- text_io = " 0.1.10 "
113- thiserror = " 1.0.31 "
114- tokio = { version = " 1.20 .0" , features = [" full" ] }
115- tokio-util = { version = " 0.7.3 " , features = [" full" ] }
79+ regex = " 1.7 .0"
80+ serde = { version = " 1.0.150 " , features = [" derive" ] }
81+ serde_json = " 1.0.89 "
82+ text_io = " 0.1.12 "
83+ thiserror = " 1.0.37 "
84+ tokio = { version = " 1.23 .0" , features = [" full" ] }
85+ tokio-util = { version = " 0.7.4 " , features = [" full" ] }
11686
11787[dev-dependencies ]
11888quickcheck = " 1.0.3"
11989quickcheck_macros = " 1.0.0"
120- float_eq = " 1.0.0 "
90+ float_eq = " 1.0.1 "
12191```
12292
12393## Services
0 commit comments