diff --git a/Cargo.lock b/Cargo.lock index 3ac92f0..11adec2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -475,12 +475,6 @@ version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fea41bba32d969b513997752735605054bc0dfa92b4c56bf1189f2e174be7a10" -[[package]] -name = "downcast" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1435fa1053d8b2fbbe9be7e97eca7f33d37b28409959813daefc1446a14247f1" - [[package]] name = "dunce" version = "1.0.2" @@ -610,12 +604,6 @@ dependencies = [ "percent-encoding", ] -[[package]] -name = "fragile" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8da1b8f89c5b5a5b7e59405cfcf0bb9588e5ed19f0b57a4cd542bbba3f164a6d" - [[package]] name = "fs_extra" version = "1.2.0" @@ -1138,33 +1126,6 @@ dependencies = [ "winapi", ] -[[package]] -name = "mockall" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d4d70639a72f972725db16350db56da68266ca368b2a1fe26724a903ad3d6b8" -dependencies = [ - "cfg-if", - "downcast", - "fragile", - "lazy_static", - "mockall_derive", - "predicates", - "predicates-tree", -] - -[[package]] -name = "mockall_derive" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79ef208208a0dea3f72221e26e904cdc6db2e481d9ade89081ddd494f1dbaa6b" -dependencies = [ - "cfg-if", - "proc-macro2", - "quote", - "syn", -] - [[package]] name = "nix" version = "0.23.1" @@ -1588,6 +1549,18 @@ dependencies = [ "winapi", ] +[[package]] +name = "rpassword" +version = "6.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "49b7ef46d67d4cecf32ad486814d625738e79e4ccd62531dde0548b2f242f894" +dependencies = [ + "libc", + "serde", + "serde_json", + "winapi", +] + [[package]] name = "rustc-hash" version = "1.1.0" @@ -2036,10 +2009,9 @@ dependencies = [ "indicatif", "isolang", "log", - "mockall", "predicates", "reqwest", - "rpassword", + "rpassword 6.0.0", "serde", "serde_json", "termcolor", @@ -2091,7 +2063,7 @@ dependencies = [ "oauth2", "once_cell", "regex", - "rpassword", + "rpassword 5.0.1", "schemars", "serde", "serde_json", diff --git a/Cargo.toml b/Cargo.toml index ab5cb34..3d224ec 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,16 +14,16 @@ build = "build.rs" [dependencies] anyhow = "1.0.56" assert_cmd = "2.0.4" -crossterm = "0.23.0" clap = "3.1.6" clap_complete = "3.1.1" +crossterm = "0.23.0" dirs = "4.0.0" indicatif = "0.16.2" isolang = "2.1.0" log = "0.4.14" predicates = "2.1.1" reqwest = { version = "0.11.9", default-features = false, features = ["blocking", "json", "rustls-tls", "multipart"] } -rpassword = "5.0.1" +rpassword = "6.0.0" serde = "1.0.136" serde_json = "1.0.79" termcolor = "1.1.3" @@ -33,9 +33,6 @@ toml = "0.5.8" tui = { version = "0.17.0", default-features = false, features = ['crossterm'] } url = "2.2.2" -[dev-dependencies] -mockall = "0.11.0" - [build-dependencies] clap = "3.1.6" clap_complete = "3.1.1"