From 4a07ba9a82a1f22d0a6bea101ef068b908b4da09 Mon Sep 17 00:00:00 2001 From: Dmitry Dygalo Date: Sun, 10 Apr 2022 23:31:34 +0200 Subject: [PATCH] chore: Update to Rust 2021 edition in all crates --- bench_helpers/Cargo.toml | 2 +- bindings/python/Cargo.toml | 2 +- jsonschema-test-suite/Cargo.toml | 2 +- jsonschema-test-suite/proc_macro/Cargo.toml | 2 +- jsonschema-test-suite/test_case/Cargo.toml | 2 +- jsonschema/Cargo.toml | 2 +- perf-helpers/Cargo.toml | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/bench_helpers/Cargo.toml b/bench_helpers/Cargo.toml index c4d93b9..023f601 100644 --- a/bench_helpers/Cargo.toml +++ b/bench_helpers/Cargo.toml @@ -2,7 +2,7 @@ name = "bench_helpers" version = "0.1.0" authors = ["dmitry.dygalo "] -edition = "2018" +edition = "2021" license = "MIT" [dependencies] diff --git a/bindings/python/Cargo.toml b/bindings/python/Cargo.toml index 5fd83f3..62d9bbe 100644 --- a/bindings/python/Cargo.toml +++ b/bindings/python/Cargo.toml @@ -2,7 +2,7 @@ name = "jsonschema-python" version = "0.14.0" authors = ["Dmitry Dygalo "] -edition = "2018" +edition = "2021" license = "MIT" readme = "README.rst" description = "JSON schema validaton library" diff --git a/jsonschema-test-suite/Cargo.toml b/jsonschema-test-suite/Cargo.toml index cfc3538..0397156 100644 --- a/jsonschema-test-suite/Cargo.toml +++ b/jsonschema-test-suite/Cargo.toml @@ -2,7 +2,7 @@ name = "json_schema_test_suite" version = "0.3.0" authors = ["Samuele Maci "] -edition = "2018" +edition = "2021" publish = true readme = "README.md" keywords = ["jsonschema"] diff --git a/jsonschema-test-suite/proc_macro/Cargo.toml b/jsonschema-test-suite/proc_macro/Cargo.toml index a4e786e..9d2fc8c 100644 --- a/jsonschema-test-suite/proc_macro/Cargo.toml +++ b/jsonschema-test-suite/proc_macro/Cargo.toml @@ -2,7 +2,7 @@ name = "json_schema_test_suite_proc_macro" version = "0.3.0" authors = ["Samuele Maci "] -edition = "2018" +edition = "2021" publish = true keywords = ["jsonschema"] categories = ["development-tools::procedural-macro-helpers", "development-tools::testing"] diff --git a/jsonschema-test-suite/test_case/Cargo.toml b/jsonschema-test-suite/test_case/Cargo.toml index 18b7971..fa40d37 100644 --- a/jsonschema-test-suite/test_case/Cargo.toml +++ b/jsonschema-test-suite/test_case/Cargo.toml @@ -2,7 +2,7 @@ name = "json_schema_test_suite_test_case" version = "0.3.0" authors = ["Samuele Maci "] -edition = "2018" +edition = "2021" publish = true keywords = ["jsonschema"] categories = ["development-tools::procedural-macro-helpers", "development-tools::testing"] diff --git a/jsonschema/Cargo.toml b/jsonschema/Cargo.toml index 6a10cc8..c7a987f 100644 --- a/jsonschema/Cargo.toml +++ b/jsonschema/Cargo.toml @@ -1,7 +1,7 @@ [package] authors = ["dmitry.dygalo "] description = "A crate for performing JSON schema validation" -edition = "2018" +edition = "2021" exclude = ["tests", "python", "benches/data/*.json", ".github", ".yamllint", ".pre-commit-config.yaml", ".gitignore", ".gitmodules", "*.md"] keywords = ["jsonschema", "validation"] license = "MIT" diff --git a/perf-helpers/Cargo.toml b/perf-helpers/Cargo.toml index 3e26b51..3ac8f77 100644 --- a/perf-helpers/Cargo.toml +++ b/perf-helpers/Cargo.toml @@ -2,7 +2,7 @@ name = "perf_helpers" version = "0.1.0" authors = ["Samuele Maci "] -edition = "2018" +edition = "2021" publish = false # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html