little cleanup

This commit is contained in:
JT 2021-10-16 07:51:25 +13:00
parent 68601629c0
commit 1b745015c3
3 changed files with 5 additions and 51 deletions

52
Cargo.lock generated
View file

@ -154,21 +154,6 @@ dependencies = [
"chrono",
]
[[package]]
name = "console"
version = "0.14.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3993e6445baa160675931ec041a5e03ca84b9c6e32a056150d3aa2bdda0a1f45"
dependencies = [
"encode_unicode",
"lazy_static",
"libc",
"regex",
"terminal_size",
"unicode-width",
"winapi",
]
[[package]]
name = "console"
version = "0.15.0"
@ -270,26 +255,13 @@ dependencies = [
"syn",
]
[[package]]
name = "dialoguer"
version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c9dd058f8b65922819fabb4a41e7d1964e56344042c26efbccd465202c23fa0c"
dependencies = [
"console 0.14.1",
"lazy_static",
"tempfile",
"zeroize",
]
[[package]]
name = "dialoguer"
version = "0.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "61579ada4ec0c6031cfac3f86fdba0d195a7ebeb5e36693bd53cb5999a25beeb"
dependencies = [
"console 0.15.0",
"fuzzy-matcher",
"console",
"lazy_static",
"tempfile",
"zeroize",
@ -358,7 +330,7 @@ version = "0.1.0"
dependencies = [
"assert_cmd",
"crossterm",
"dialoguer 0.9.0",
"dialoguer",
"miette",
"nu-cli",
"nu-command",
@ -374,15 +346,6 @@ dependencies = [
"tempfile",
]
[[package]]
name = "fuzzy-matcher"
version = "0.3.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "54614a3312934d066701a80f20f15fa3b56d67ac7722b39eea5b4c9dd1d66c94"
dependencies = [
"thread_local",
]
[[package]]
name = "getrandom"
version = "0.2.3"
@ -612,7 +575,7 @@ version = "0.1.0"
dependencies = [
"bytesize",
"chrono",
"dialoguer 0.8.0",
"dialoguer",
"glob",
"lscolors",
"nu-engine",
@ -1214,15 +1177,6 @@ dependencies = [
"syn",
]
[[package]]
name = "thread_local"
version = "1.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8018d24e04c95ac8790716a5987d0fec4f8b27249ffa0f7d33f1369bdfb88cbd"
dependencies = [
"once_cell",
]
[[package]]
name = "time"
version = "0.1.44"

View file

@ -11,7 +11,7 @@ members = ["crates/nu-cli", "crates/nu-engine", "crates/nu-parser", "crates/nu-c
[dependencies]
reedline = { git = "https://github.com/nushell/reedline", branch = "main" }
crossterm = "0.21.*"
dialoguer = { version = "0.9.0", features = ["fuzzy-select"] }
dialoguer = "0.9.0"
nu-cli = { path="./crates/nu-cli" }
nu-command = { path="./crates/nu-command" }
nu-engine = { path="./crates/nu-engine" }

View file

@ -25,7 +25,7 @@ chrono = { version = "0.4.19", features = ["serde"] }
terminal_size = "0.1.17"
lscolors = { version = "0.8.0", features = ["crossterm"] }
bytesize = "1.1.0"
dialoguer = "0.8.0"
dialoguer = "0.9.0"
[features]
trash-support = ["trash"]