From d4b6b4b09aafbb476061d7654832ecd16955c1c7 Mon Sep 17 00:00:00 2001 From: Michael Angerman Date: Thu, 20 Jan 2022 05:13:45 -0800 Subject: [PATCH] update all cargo crates to edition 2021 (#781) --- crates/nu-cli/Cargo.toml | 2 +- crates/nu-color-config/Cargo.toml | 2 +- crates/nu-command/Cargo.toml | 2 +- crates/nu-engine/Cargo.toml | 2 +- crates/nu-json/Cargo.toml | 2 +- crates/nu-parser/Cargo.toml | 2 +- crates/nu-path/Cargo.toml | 3 +-- crates/nu-plugin/Cargo.toml | 5 +---- crates/nu-pretty-hex/Cargo.toml | 2 +- crates/nu-protocol/Cargo.toml | 2 +- crates/nu-table/Cargo.toml | 2 +- crates/nu-term-grid/Cargo.toml | 2 +- crates/nu_plugin_example/Cargo.toml | 2 +- crates/nu_plugin_gstat/Cargo.toml | 2 +- crates/nu_plugin_inc/Cargo.toml | 2 +- 15 files changed, 15 insertions(+), 19 deletions(-) diff --git a/crates/nu-cli/Cargo.toml b/crates/nu-cli/Cargo.toml index 68977431f..38361ac94 100644 --- a/crates/nu-cli/Cargo.toml +++ b/crates/nu-cli/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "nu-cli" version = "0.1.0" -edition = "2018" +edition = "2021" [dependencies] nu-engine = { path = "../nu-engine" } diff --git a/crates/nu-color-config/Cargo.toml b/crates/nu-color-config/Cargo.toml index 62b5828b3..8979c0c09 100644 --- a/crates/nu-color-config/Cargo.toml +++ b/crates/nu-color-config/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "nu-color-config" version = "0.1.0" -edition = "2018" +edition = "2021" [dependencies] nu-protocol = { path = "../nu-protocol" } diff --git a/crates/nu-command/Cargo.toml b/crates/nu-command/Cargo.toml index df95a941e..2baeba13a 100644 --- a/crates/nu-command/Cargo.toml +++ b/crates/nu-command/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "nu-command" version = "0.1.0" -edition = "2018" +edition = "2021" build = "build.rs" diff --git a/crates/nu-engine/Cargo.toml b/crates/nu-engine/Cargo.toml index 8369d1012..0ef8a4aa2 100644 --- a/crates/nu-engine/Cargo.toml +++ b/crates/nu-engine/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "nu-engine" version = "0.1.0" -edition = "2018" +edition = "2021" [dependencies] nu-protocol = { path = "../nu-protocol", features = ["plugin"] } diff --git a/crates/nu-json/Cargo.toml b/crates/nu-json/Cargo.toml index 6f2876452..471972a46 100644 --- a/crates/nu-json/Cargo.toml +++ b/crates/nu-json/Cargo.toml @@ -1,7 +1,7 @@ [package] authors = ["The Nu Project Contributors", "Christian Zangl "] description = "Fork of serde-hjson" -edition = "2018" +edition = "2021" license = "MIT" name = "nu-json" version = "0.37.1" diff --git a/crates/nu-parser/Cargo.toml b/crates/nu-parser/Cargo.toml index fe1be63d6..d0dd23afd 100644 --- a/crates/nu-parser/Cargo.toml +++ b/crates/nu-parser/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "nu-parser" version = "0.1.0" -edition = "2018" +edition = "2021" [dependencies] miette = "3.0.0" diff --git a/crates/nu-path/Cargo.toml b/crates/nu-path/Cargo.toml index e2fc2b1ab..ee963d016 100644 --- a/crates/nu-path/Cargo.toml +++ b/crates/nu-path/Cargo.toml @@ -1,7 +1,7 @@ [package] authors = ["The Nu Project Contributors"] description = "Path handling library for Nushell" -edition = "2018" +edition = "2021" license = "MIT" name = "nu-path" version = "0.37.1" @@ -9,4 +9,3 @@ version = "0.37.1" [dependencies] dirs-next = "2.0.0" dunce = "1.0.1" - diff --git a/crates/nu-plugin/Cargo.toml b/crates/nu-plugin/Cargo.toml index fc5dcc627..996bfe2bf 100644 --- a/crates/nu-plugin/Cargo.toml +++ b/crates/nu-plugin/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "nu-plugin" version = "0.1.0" -edition = "2018" +edition = "2021" [dependencies] capnp = "0.14.3" @@ -9,6 +9,3 @@ nu-protocol = { path = "../nu-protocol" } nu-engine = { path = "../nu-engine" } serde = {version = "1.0.130", features = ["derive"]} serde_json = { version = "1.0"} - - - diff --git a/crates/nu-pretty-hex/Cargo.toml b/crates/nu-pretty-hex/Cargo.toml index 4e4c3b52f..777c18763 100644 --- a/crates/nu-pretty-hex/Cargo.toml +++ b/crates/nu-pretty-hex/Cargo.toml @@ -1,7 +1,7 @@ [package] authors = ["Andrei Volnin ", "The Nu Project Contributors"] description = "Pretty hex dump of bytes slice in the common style." -edition = "2018" +edition = "2021" license = "MIT" name = "nu-pretty-hex" version = "0.41.0" diff --git a/crates/nu-protocol/Cargo.toml b/crates/nu-protocol/Cargo.toml index 51749f52c..6083c1356 100644 --- a/crates/nu-protocol/Cargo.toml +++ b/crates/nu-protocol/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "nu-protocol" version = "0.1.0" -edition = "2018" +edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/crates/nu-table/Cargo.toml b/crates/nu-table/Cargo.toml index aac970b48..b3a1b4fa3 100644 --- a/crates/nu-table/Cargo.toml +++ b/crates/nu-table/Cargo.toml @@ -1,7 +1,7 @@ [package] authors = ["The Nu Project Contributors"] description = "Nushell table printing" -edition = "2018" +edition = "2021" license = "MIT" name = "nu-table" version = "0.36.0" diff --git a/crates/nu-term-grid/Cargo.toml b/crates/nu-term-grid/Cargo.toml index aa24839b9..c524284fe 100644 --- a/crates/nu-term-grid/Cargo.toml +++ b/crates/nu-term-grid/Cargo.toml @@ -1,7 +1,7 @@ [package] authors = ["The Nu Project Contributors"] description = "Nushell grid printing" -edition = "2018" +edition = "2021" license = "MIT" name = "nu-term-grid" version = "0.36.0" diff --git a/crates/nu_plugin_example/Cargo.toml b/crates/nu_plugin_example/Cargo.toml index 250b43220..89cea551c 100644 --- a/crates/nu_plugin_example/Cargo.toml +++ b/crates/nu_plugin_example/Cargo.toml @@ -1,7 +1,7 @@ [package] authors = ["The Nu Project Contributors"] description = "A version incrementer plugin for Nushell" -edition = "2018" +edition = "2021" license = "MIT" name = "nu_plugin_example" version = "0.1.0" diff --git a/crates/nu_plugin_gstat/Cargo.toml b/crates/nu_plugin_gstat/Cargo.toml index 7d809ae7e..bd862b091 100644 --- a/crates/nu_plugin_gstat/Cargo.toml +++ b/crates/nu_plugin_gstat/Cargo.toml @@ -1,7 +1,7 @@ [package] authors = ["The Nu Project Contributors"] description = "A git status plugin for Nushell" -edition = "2018" +edition = "2021" license = "MIT" name = "nu_plugin_gstat" version = "0.1.0" diff --git a/crates/nu_plugin_inc/Cargo.toml b/crates/nu_plugin_inc/Cargo.toml index fe734ae49..f43731023 100644 --- a/crates/nu_plugin_inc/Cargo.toml +++ b/crates/nu_plugin_inc/Cargo.toml @@ -1,7 +1,7 @@ [package] authors = ["The Nu Project Contributors"] description = "A version incrementer plugin for Nushell" -edition = "2018" +edition = "2021" license = "MIT" name = "nu_plugin_inc" version = "0.1.0"