shuteye provides for high-resolution sleep in rust. Let your code catch some shuteye
To use shuteye
, first add this to your Cargo.toml
:
toml
[dependencies]
shuteye = "*"
Then, add this to your crate root:
rust
extern crate shuteye;
View the docs here: http://brayniac.github.io/shuteye/
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.