Add termion crate

This commit is contained in:
Greg Shuflin 2023-07-26 00:29:23 -07:00
parent 398c36525f
commit 0ed79372d1
2 changed files with 44 additions and 0 deletions

43
Cargo.lock generated
View File

@ -13,6 +13,12 @@ dependencies = [
"winapi", "winapi",
] ]
[[package]]
name = "bitflags"
version = "1.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
[[package]] [[package]]
name = "cfg-if" name = "cfg-if"
version = "1.0.0" version = "1.0.0"
@ -59,9 +65,16 @@ dependencies = [
"lexopt", "lexopt",
"libc", "libc",
"rand", "rand",
"termion",
"termios", "termios",
] ]
[[package]]
name = "numtoa"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b8f8bdf33df195859076e54ab11ee78a1b208382d3a26ec40d142ffc1ecc49ef"
[[package]] [[package]]
name = "ppv-lite86" name = "ppv-lite86"
version = "0.2.17" version = "0.2.17"
@ -98,6 +111,36 @@ dependencies = [
"getrandom", "getrandom",
] ]
[[package]]
name = "redox_syscall"
version = "0.2.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a"
dependencies = [
"bitflags",
]
[[package]]
name = "redox_termios"
version = "0.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8440d8acb4fd3d277125b4bd01a6f38aee8d814b3b5fc09b3f2b825d37d3fe8f"
dependencies = [
"redox_syscall",
]
[[package]]
name = "termion"
version = "2.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "659c1f379f3408c7e5e84c7d0da6d93404e3800b6b9d063ba24436419302ec90"
dependencies = [
"libc",
"numtoa",
"redox_syscall",
"redox_termios",
]
[[package]] [[package]]
name = "termios" name = "termios"
version = "0.3.3" version = "0.3.3"

View File

@ -15,4 +15,5 @@ libc = "0.2.147"
atty = "0.2.14" atty = "0.2.14"
rand = "0.8.5" rand = "0.8.5"
termios = "0.3.3" termios = "0.3.3"
termion = "2.0.1"