12 releases
Uses old Rust 2015
0.3.3 | Nov 18, 2017 |
---|---|
0.3.2 | Jun 3, 2017 |
0.3.1 | May 16, 2017 |
0.2.0 | Aug 5, 2016 |
0.0.4 | Oct 25, 2015 |
#399 in Operating systems
5,339 downloads per month
Used in 6 crates
10KB
shuteye - nanosleep for rust
shuteye provides for high-resolution sleep in rust. Let your code catch some shuteye
The API documentation of this library can be found at docs.rs/shuteye.
Code of Conduct
NOTE: All conversations and contributions to this project shall adhere to the Code of Conduct
Usage
To use shuteye
, first add this to your Cargo.toml
:
[dependencies]
shuteye = "^0"
Then, add this to your crate root:
extern crate shuteye;
Documentation
View the docs here: https://docs.rs/shuteye/
Features
- nanosleep
License
Licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
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.
Dependencies
~44KB