Add rust termios library

This commit is contained in:
Greg Shuflin 2023-07-25 23:53:02 -07:00
parent 7ee23cd20d
commit 02bddc908c
2 changed files with 11 additions and 0 deletions

10
Cargo.lock generated
View File

@ -59,6 +59,7 @@ dependencies = [
"lexopt", "lexopt",
"libc", "libc",
"rand", "rand",
"termios",
] ]
[[package]] [[package]]
@ -97,6 +98,15 @@ dependencies = [
"getrandom", "getrandom",
] ]
[[package]]
name = "termios"
version = "0.3.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "411c5bf740737c7918b8b1fe232dca4dc9f8e754b8ad5e20966814001ed0ac6b"
dependencies = [
"libc",
]
[[package]] [[package]]
name = "wasi" name = "wasi"
version = "0.11.0+wasi-snapshot-preview1" version = "0.11.0+wasi-snapshot-preview1"

View File

@ -14,4 +14,5 @@ lexopt = "0.3.0"
libc = "0.2.147" libc = "0.2.147"
atty = "0.2.14" atty = "0.2.14"
rand = "0.8.5" rand = "0.8.5"
termios = "0.3.3"