Update dependency rust-embed now that issue with its use of syn has been fixed. (#2880)

* update the rust-embed dependency of nu-cli to 5.8.0 and undo the version pin of syn now that rust-embed-impl has been fixed

* unpin syn version in chart plugin
This commit is contained in:
Trevor Carlson 2021-01-06 19:33:39 -06:00 committed by GitHub
parent f38e2b5c6d
commit b50cdd6de8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 6 additions and 10 deletions

11
Cargo.lock generated
View File

@ -3050,7 +3050,6 @@ dependencies = [
"nu_plugin_tree", "nu_plugin_tree",
"nu_plugin_xpath", "nu_plugin_xpath",
"pretty_env_logger", "pretty_env_logger",
"syn",
] ]
[[package]] [[package]]
@ -3359,7 +3358,6 @@ dependencies = [
"nu-protocol", "nu-protocol",
"nu-source", "nu-source",
"nu-value-ext", "nu-value-ext",
"syn",
"tui", "tui",
] ]
@ -4618,9 +4616,9 @@ dependencies = [
[[package]] [[package]]
name = "rust-embed" name = "rust-embed"
version = "5.7.0" version = "5.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2a9619e0b88f073e59df757c75841f05568e92057e992971288d4cef5e12a178" checksum = "abcb6e9589c2b7875dc4cdfecc6289ea75700a52976b52ef4443d7aad46f7397"
dependencies = [ dependencies = [
"rust-embed-impl", "rust-embed-impl",
"rust-embed-utils", "rust-embed-utils",
@ -4629,10 +4627,11 @@ dependencies = [
[[package]] [[package]]
name = "rust-embed-impl" name = "rust-embed-impl"
version = "5.7.0" version = "5.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6168c9daefd8dd3a1cf0e06a5f92a42537dc207f09cc6526e731dcfda979470e" checksum = "ebc6a6c2785d73d8f0157d10a40223bbf0210f18aecb261d39b96802f9ccc69d"
dependencies = [ dependencies = [
"proc-macro2",
"quote", "quote",
"rust-embed-utils", "rust-embed-utils",
"syn", "syn",

View File

@ -53,7 +53,6 @@ futures = {version = "0.3.5", features = ["compat", "io-compat"]}
log = "0.4.11" log = "0.4.11"
pretty_env_logger = "0.4.0" pretty_env_logger = "0.4.0"
itertools = "0.10.0" itertools = "0.10.0"
syn = "=1.0.57"
[dev-dependencies] [dev-dependencies]
dunce = "1.0.1" dunce = "1.0.1"

View File

@ -76,7 +76,7 @@ rand = "0.7.3"
rayon = "1.4.0" rayon = "1.4.0"
regex = "1.3.9" regex = "1.3.9"
roxmltree = "0.14.0" roxmltree = "0.14.0"
rust-embed = "5.6.0" rust-embed = "5.8.0"
rustyline = {version = "6.3.0", optional = true} rustyline = {version = "6.3.0", optional = true}
serde = {version = "1.0.115", features = ["derive"]} serde = {version = "1.0.115", features = ["derive"]}
serde_bytes = "0.11.5" serde_bytes = "0.11.5"

View File

@ -20,4 +20,3 @@ nu-value-ext = {path = "../nu-value-ext", version = "0.25.1"}
crossterm = "0.19.0" crossterm = "0.19.0"
tui = {version = "0.14.0", default-features = false, features = ["crossterm"]} tui = {version = "0.14.0", default-features = false, features = ["crossterm"]}
syn = "=1.0.57"

View File

@ -35,7 +35,6 @@ async-trait = "0.1.36"
futures = {version = "0.3", features = ["compat", "io-compat"]} futures = {version = "0.3", features = ["compat", "io-compat"]}
futures-util = "0.3.5" futures-util = "0.3.5"
futures_codec = "0.4" futures_codec = "0.4"
syn = "=1.0.57"
web-sys = {version = "0.3.14", features = ["console"]} web-sys = {version = "0.3.14", features = ["console"]}
[dev-dependencies] [dev-dependencies]