Use shadow-rs 0.6 in nu-cli. (#3759)

`nu-command` was already using `shadow-rs` 0.6, so there were two
copies being built and used. This makes them match up.
This commit is contained in:
Bruce Mitchener 2021-07-10 11:11:08 +07:00 committed by GitHub
parent 56c7a99eb4
commit 1881a297c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 14 deletions

14
Cargo.lock generated
View File

@ -3186,7 +3186,7 @@ dependencies = [
"rustyline",
"serde 1.0.126",
"serde_yaml",
"shadow-rs 0.5.25",
"shadow-rs",
"strip-ansi-escapes",
]
@ -3268,7 +3268,7 @@ dependencies = [
"serde_urlencoded",
"serde_yaml",
"sha2 0.9.5",
"shadow-rs 0.6.2",
"shadow-rs",
"strip-ansi-escapes",
"sxd-document",
"sxd-xpath",
@ -5534,16 +5534,6 @@ dependencies = [
"opaque-debug",
]
[[package]]
name = "shadow-rs"
version = "0.5.25"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "110e0e7bde3d3f0f2a4284f250c40f1f6ed7ef1eef281598f8eb76838ac42305"
dependencies = [
"chrono",
"git2",
]
[[package]]
name = "shadow-rs"
version = "0.6.2"

View File

@ -28,12 +28,12 @@ pretty_env_logger = "0.4.0"
strip-ansi-escapes = "0.1.0"
rustyline = { version="8.1.0", optional=true }
ctrlc = { version="3.1.7", optional=true }
shadow-rs = { version="0.5", default-features=false, optional=true }
shadow-rs = { version="0.6", default-features=false, optional=true }
serde = { version="1.0.123", features=["derive"] }
serde_yaml = "0.8.16"
[build-dependencies]
shadow-rs = "0.5"
shadow-rs = "0.6"
[features]
default = ["shadow-rs"]