1 stable release
1.0.1 | Dec 31, 2021 |
---|
#15 in #terms
3KB
rust-sleep
rust-sleep
to use this crate add the following line to your Cargo.toml under the [dependencies] section: sleepy = "1.0.0"
then put: "use sleepy::sleep" in your .rs file
finally, call the sleep(x) function with x being the amount of seconds to pause for