sleepy

Crates.iosleepy
lib.rssleepy
version1.0.1
sourcesrc
created_at2021-12-31 04:45:19.500637
updated_at2021-12-31 04:51:16.309152
descriptionA simple crate containg only the function 'sleep' which takes 1 input in terms of seconds and pauses the program for that long
homepagehttps://github.com/NintendEthan/rust-sleep
repositoryhttps://github.com/NintendEthan/rust-sleep
max_upload_size
id505664
size2,021
(NintendEthan)

documentation

https://github.com/NintendEthan/rust-sleep/blob/main/README.md

README

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

Commit count: 9

cargo fmt