#sleep #nanosecond #nanosleep

shuteye

shuteye provides for high-resolution sleep in rust. Let your code catch some shuteye

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

Download history 1094/week @ 2024-07-21 1432/week @ 2024-07-28 1272/week @ 2024-08-04 1085/week @ 2024-08-11 1112/week @ 2024-08-18 1407/week @ 2024-08-25 1255/week @ 2024-09-01 1715/week @ 2024-09-08 1582/week @ 2024-09-15 1297/week @ 2024-09-22 2206/week @ 2024-09-29 1209/week @ 2024-10-06 1080/week @ 2024-10-13 1529/week @ 2024-10-20 1460/week @ 2024-10-27 1212/week @ 2024-11-03

5,339 downloads per month
Used in 6 crates

MIT/Apache

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.

conduct-badge travis-badge downloads-badge release-badge license-badge

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

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