On this page
Rust
Environment
Qualified supports Rust 1.66 and Rust 1.44 (Rust 2018).
Rust 1.44 is deprecated. Use Rust 1.66.
Timeout
The sandbox environment will timeout the code within 12 seconds.
Packages
The following crates are available:
1.66
bit-set:0.5.3chrono:0.4.23either:1.8.0fancy-regex:0.10.0float-eq:1.0.1futures:0.3.25im:15.1.0itertools:0.10.5lazy_static:1.4.0num:0.4.0once_cell:1.16.0-
quickcheck:1.0.3quickcheck_macros:1.0.0
rand:0.8.5regex:1.7.0-
serde:1.0.150serde_derive:1.0.150serde_json:1.0.89
text_io:0.1.12thiserror:1.0.37tokio:1.23.0tokio-util:0.7.4
1.44 (Rust 2018)
bit-set:0.5.2chrono:0.4.11itertools:0.9.0lazy_static:1.4.0num:0.2.1-
quickcheck:0.9.2quickcheck_macros:0.9.1
rand:0.7.3regex:1.3.9-
serde:1.0.111serde_derive:1.0.111serde_json:1.0.53
text_io:0.1.8
Testing
Our Rust environment supports writing unit tests using tests mod with
#[cfg(test)] attribute. See rust/rust.