#sleep #seconds #input #terms #long #containg #pauses

sleepy

A simple crate containg only the function 'sleep' which takes 1 input in terms of seconds and pauses the program for that long

1 stable release

1.0.1 Dec 31, 2021

#15 in #terms

BSD-Source-Code

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

No runtime deps