Registry / utility / shuteye

shuteye

JSON →
library0.3.3rscratesunverified

High-resolution sleep utility for Rust, allowing precise thread sleeping with nanosecond granularity.

# Cargo.toml [dependencies] shuteye = "0.3.3"
INSTALL
IMPORT
SIG · SHUTEYE
S
shuteye
utilityrustv0.3.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

sleep
✓ use shuteye::sleep;

Sleeps the current thread for 100 milliseconds.

use shuteye::sleep; use std::time::Duration; fn main() { sleep(Duration::from_millis(100)); println!("Slept for 100ms"); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.3.3latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
12
Resources
shuteye — cargo add shuteye · libregistry