From 5f694ef481610e8c4c77bb963b49e2d3b0d4db3c Mon Sep 17 00:00:00 2001 From: Nick Hassan Date: Sat, 3 Feb 2024 15:12:36 +1030 Subject: add support for entering password for sudo --- Cargo.lock | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'Cargo.lock') diff --git a/Cargo.lock b/Cargo.lock index 55e5564..3bd43c3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -139,6 +139,7 @@ dependencies = [ "merge", "notify", "rnix", + "rpassword", "serde", "serde_json", "signal-hook", @@ -666,6 +667,27 @@ dependencies = [ "thin-dst", ] +[[package]] +name = "rpassword" +version = "7.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "80472be3c897911d0137b2d2b9055faf6eeac5b14e324073d83bc17b191d7e3f" +dependencies = [ + "libc", + "rtoolbox", + "windows-sys 0.48.0", +] + +[[package]] +name = "rtoolbox" +version = "0.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c247d24e63230cdb56463ae328478bd5eac8b8faa8c69461a77e8e323afac90e" +dependencies = [ + "libc", + "windows-sys 0.48.0", +] + [[package]] name = "rustc-hash" version = "1.1.0" @@ -859,6 +881,7 @@ dependencies = [ "autocfg", "bytes", "libc", + "memchr", "mio 0.7.6", "num_cpus", "once_cell", -- cgit v1.2.3