#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

#396 in Operating systems

Download history 1530/week @ 2024-03-14 1328/week @ 2024-03-21 1144/week @ 2024-03-28 1118/week @ 2024-04-04 887/week @ 2024-04-11 1093/week @ 2024-04-18 1052/week @ 2024-04-25 1029/week @ 2024-05-02 828/week @ 2024-05-09 885/week @ 2024-05-16 1081/week @ 2024-05-23 1127/week @ 2024-05-30 1213/week @ 2024-06-06 1108/week @ 2024-06-13 1179/week @ 2024-06-20 972/week @ 2024-06-27

4,718 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

~43KB