From 02bddc908ccc2393848fbc2770141fbe2963a1cb Mon Sep 17 00:00:00 2001 From: Greg Shuflin Date: Tue, 25 Jul 2023 23:53:02 -0700 Subject: [PATCH] Add rust termios library --- Cargo.lock | 10 ++++++++++ Cargo.toml | 1 + 2 files changed, 11 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index 514ebca..ccfca6a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -59,6 +59,7 @@ dependencies = [ "lexopt", "libc", "rand", + "termios", ] [[package]] @@ -97,6 +98,15 @@ dependencies = [ "getrandom", ] +[[package]] +name = "termios" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "411c5bf740737c7918b8b1fe232dca4dc9f8e754b8ad5e20966814001ed0ac6b" +dependencies = [ + "libc", +] + [[package]] name = "wasi" version = "0.11.0+wasi-snapshot-preview1" diff --git a/Cargo.toml b/Cargo.toml index 208149c..939e71f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,4 +14,5 @@ lexopt = "0.3.0" libc = "0.2.147" atty = "0.2.14" rand = "0.8.5" +termios = "0.3.3"