From b50cdd6de861c1f3a7c6bbe60d9fcac97a56031d Mon Sep 17 00:00:00 2001 From: Trevor Carlson <32741662+TrevorAC99@users.noreply.github.com> Date: Wed, 6 Jan 2021 19:33:39 -0600 Subject: [PATCH] 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 --- Cargo.lock | 11 +++++------ Cargo.toml | 1 - crates/nu-cli/Cargo.toml | 2 +- crates/nu_plugin_chart/Cargo.toml | 1 - samples/wasm/Cargo.toml | 1 - 5 files changed, 6 insertions(+), 10 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 290ec8200..f0273ec26 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3050,7 +3050,6 @@ dependencies = [ "nu_plugin_tree", "nu_plugin_xpath", "pretty_env_logger", - "syn", ] [[package]] @@ -3359,7 +3358,6 @@ dependencies = [ "nu-protocol", "nu-source", "nu-value-ext", - "syn", "tui", ] @@ -4618,9 +4616,9 @@ dependencies = [ [[package]] name = "rust-embed" -version = "5.7.0" +version = "5.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a9619e0b88f073e59df757c75841f05568e92057e992971288d4cef5e12a178" +checksum = "abcb6e9589c2b7875dc4cdfecc6289ea75700a52976b52ef4443d7aad46f7397" dependencies = [ "rust-embed-impl", "rust-embed-utils", @@ -4629,10 +4627,11 @@ dependencies = [ [[package]] name = "rust-embed-impl" -version = "5.7.0" +version = "5.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6168c9daefd8dd3a1cf0e06a5f92a42537dc207f09cc6526e731dcfda979470e" +checksum = "ebc6a6c2785d73d8f0157d10a40223bbf0210f18aecb261d39b96802f9ccc69d" dependencies = [ + "proc-macro2", "quote", "rust-embed-utils", "syn", diff --git a/Cargo.toml b/Cargo.toml index b2be01a1c..a059f4aa5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -53,7 +53,6 @@ futures = {version = "0.3.5", features = ["compat", "io-compat"]} log = "0.4.11" pretty_env_logger = "0.4.0" itertools = "0.10.0" -syn = "=1.0.57" [dev-dependencies] dunce = "1.0.1" diff --git a/crates/nu-cli/Cargo.toml b/crates/nu-cli/Cargo.toml index 04e21ecdc..590746433 100644 --- a/crates/nu-cli/Cargo.toml +++ b/crates/nu-cli/Cargo.toml @@ -76,7 +76,7 @@ rand = "0.7.3" rayon = "1.4.0" regex = "1.3.9" roxmltree = "0.14.0" -rust-embed = "5.6.0" +rust-embed = "5.8.0" rustyline = {version = "6.3.0", optional = true} serde = {version = "1.0.115", features = ["derive"]} serde_bytes = "0.11.5" diff --git a/crates/nu_plugin_chart/Cargo.toml b/crates/nu_plugin_chart/Cargo.toml index 93fd75ae8..d0347cdfa 100644 --- a/crates/nu_plugin_chart/Cargo.toml +++ b/crates/nu_plugin_chart/Cargo.toml @@ -20,4 +20,3 @@ nu-value-ext = {path = "../nu-value-ext", version = "0.25.1"} crossterm = "0.19.0" tui = {version = "0.14.0", default-features = false, features = ["crossterm"]} -syn = "=1.0.57" diff --git a/samples/wasm/Cargo.toml b/samples/wasm/Cargo.toml index 614efa4bc..90230b50b 100644 --- a/samples/wasm/Cargo.toml +++ b/samples/wasm/Cargo.toml @@ -35,7 +35,6 @@ async-trait = "0.1.36" futures = {version = "0.3", features = ["compat", "io-compat"]} futures-util = "0.3.5" futures_codec = "0.4" -syn = "=1.0.57" web-sys = {version = "0.3.14", features = ["console"]} [dev-dependencies]