diff options
author | Oxore <oxore@protonmail.com> | 2023-07-30 19:41:13 +0300 |
---|---|---|
committer | Oxore <oxore@protonmail.com> | 2023-07-30 19:41:13 +0300 |
commit | 0ee91f6d77571260580c6e37153a847fac8fb72f (patch) | |
tree | 3a824c70b3d2cd4122082a18c8badd54b0dd9a78 /Cargo.lock | |
parent | b918f31663a0c74099fbbcc19310df12b8c744cd (diff) |
Impl event loop using nonblock read and sleep
Diffstat (limited to 'Cargo.lock')
-rw-r--r-- | Cargo.lock | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -26,6 +26,15 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b4668fb0ea861c1df094127ac5f1da3409a82116a4ba74fca2e58ef927159bb3" [[package]] +name = "nonblock" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "51c7a4f22e5f2e2bd805d6ab56f1ae87eb1815673e1b452048896fb687a8a3d4" +dependencies = [ + "libc", +] + +[[package]] name = "ppv-lite86" version = "0.2.17" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -35,6 +44,7 @@ checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" name = "puzzle" version = "0.1.0" dependencies = [ + "nonblock", "rand", "termios", ] |