diff --git a/Cargo.lock b/Cargo.lock index eda428d..a3ee073 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -349,6 +349,12 @@ version = "1.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0d6ef0072f8a535281e4876be788938b528e9a1d43900b82c2569af7da799125" +[[package]] +name = "either" +version = "1.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0" + [[package]] name = "env_logger" version = "0.10.2" @@ -708,6 +714,7 @@ dependencies = [ "clap", "clap_complete", "directories", + "either", "inquire", "log", "passwords", diff --git a/Cargo.toml b/Cargo.toml index 6d5eb4d..daafff9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -32,6 +32,7 @@ base64 = "0.22.1" clap_complete = "4.5.2" totp-lite = "2.0.1" base32 = "0.5.0" +either = { version = "1.13.0", default-features = false } [features] default = ["update-notify"]