From ed82f469fee39559bce093bc2af9c078e43ee428 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Thu, 22 Aug 2024 19:29:13 -0500 Subject: [PATCH] chore: Consolidate edition --- Cargo.toml | 3 +++ examples/chumsky-app/Cargo.toml | 2 +- examples/combine-app/Cargo.toml | 2 +- examples/grmtools-app/Cargo.toml | 2 +- examples/lalrpop-app/Cargo.toml | 2 +- examples/logos-app/Cargo.toml | 2 +- examples/nom-app/Cargo.toml | 2 +- examples/null-app/Cargo.toml | 2 +- examples/peg-app/Cargo.toml | 2 +- examples/pest-app/Cargo.toml | 2 +- examples/serde_json-app/Cargo.toml | 2 +- examples/winnow-app/Cargo.toml | 2 +- examples/yap-app/Cargo.toml | 2 +- 13 files changed, 15 insertions(+), 12 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index deb54ee..2c6d76e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,3 +3,6 @@ resolver = "2" members = [ "examples/*", ] + +[workspace.package] +edition = "2021" diff --git a/examples/chumsky-app/Cargo.toml b/examples/chumsky-app/Cargo.toml index 51caaaf..6301b94 100644 --- a/examples/chumsky-app/Cargo.toml +++ b/examples/chumsky-app/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "chumsky-app" -edition = "2021" +edition.workspace = true [[bin]] name = "chumsky-app" diff --git a/examples/combine-app/Cargo.toml b/examples/combine-app/Cargo.toml index 21edefe..7756b90 100644 --- a/examples/combine-app/Cargo.toml +++ b/examples/combine-app/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "combine-app" -edition = "2021" +edition.workspace = true [[bin]] name = "combine-app" diff --git a/examples/grmtools-app/Cargo.toml b/examples/grmtools-app/Cargo.toml index 17822d5..d0ac017 100644 --- a/examples/grmtools-app/Cargo.toml +++ b/examples/grmtools-app/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "grmtools-app" -edition = "2021" +edition.workspace = true [[bin]] name = "grmtools-app" diff --git a/examples/lalrpop-app/Cargo.toml b/examples/lalrpop-app/Cargo.toml index e706d00..02b6015 100644 --- a/examples/lalrpop-app/Cargo.toml +++ b/examples/lalrpop-app/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lalrpop-app" -edition = "2021" +edition.workspace = true [[bin]] name = "lalrpop-app" diff --git a/examples/logos-app/Cargo.toml b/examples/logos-app/Cargo.toml index c5521d9..a69ecd9 100644 --- a/examples/logos-app/Cargo.toml +++ b/examples/logos-app/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "logos-app" -edition = "2021" +edition.workspace = true [[bin]] name = "logos-app" diff --git a/examples/nom-app/Cargo.toml b/examples/nom-app/Cargo.toml index f01b9b5..d44e280 100644 --- a/examples/nom-app/Cargo.toml +++ b/examples/nom-app/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "nom-app" -edition = "2021" +edition.workspace = true [[bin]] name = "nom-app" diff --git a/examples/null-app/Cargo.toml b/examples/null-app/Cargo.toml index f905229..243b11d 100644 --- a/examples/null-app/Cargo.toml +++ b/examples/null-app/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "null-app" -edition = "2021" +edition.workspace = true [[bin]] name = "null-app" diff --git a/examples/peg-app/Cargo.toml b/examples/peg-app/Cargo.toml index f168eba..b53750e 100644 --- a/examples/peg-app/Cargo.toml +++ b/examples/peg-app/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "peg-app" -edition = "2021" +edition.workspace = true [[bin]] name = "peg-app" diff --git a/examples/pest-app/Cargo.toml b/examples/pest-app/Cargo.toml index ad334e6..49f3c77 100644 --- a/examples/pest-app/Cargo.toml +++ b/examples/pest-app/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pest-app" -edition = "2021" +edition.workspace = true [[bin]] name = "pest-app" diff --git a/examples/serde_json-app/Cargo.toml b/examples/serde_json-app/Cargo.toml index ebc2de1..984af31 100644 --- a/examples/serde_json-app/Cargo.toml +++ b/examples/serde_json-app/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "serde_json-app" -edition = "2021" +edition.workspace = true [[bin]] name = "serde_json-app" diff --git a/examples/winnow-app/Cargo.toml b/examples/winnow-app/Cargo.toml index 85ab593..8988343 100644 --- a/examples/winnow-app/Cargo.toml +++ b/examples/winnow-app/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "winnow-app" -edition = "2021" +edition.workspace = true [[bin]] name = "winnow-app" diff --git a/examples/yap-app/Cargo.toml b/examples/yap-app/Cargo.toml index 351d968..b2ec233 100644 --- a/examples/yap-app/Cargo.toml +++ b/examples/yap-app/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "yap-app" -edition = "2021" +edition.workspace = true [[bin]] name = "yap-app"