#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

#336 in Operating systems

Download history 1353/week @ 2023-12-07 1053/week @ 2023-12-14 428/week @ 2023-12-21 651/week @ 2023-12-28 1113/week @ 2024-01-04 1112/week @ 2024-01-11 1182/week @ 2024-01-18 1164/week @ 2024-01-25 1274/week @ 2024-02-01 1210/week @ 2024-02-08 1161/week @ 2024-02-15 1378/week @ 2024-02-22 1383/week @ 2024-02-29 1251/week @ 2024-03-07 1530/week @ 2024-03-14 1090/week @ 2024-03-21

5,543 downloads per month
Used in 5 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

~42KB