From b9d25da58b912d9927fbc41901631cd77836462b Mon Sep 17 00:00:00 2001 From: Yuki Okushi Date: Sat, 16 Jul 2022 08:10:03 +0900 Subject: [PATCH] Make crates edition 2021 Signed-off-by: Yuki Okushi --- phf/Cargo.toml | 2 +- phf_codegen/Cargo.toml | 2 +- phf_codegen/test/Cargo.toml | 2 +- phf_generator/Cargo.toml | 2 +- phf_macros/Cargo.toml | 2 +- phf_macros_tests/Cargo.toml | 2 +- phf_shared/Cargo.toml | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/phf/Cargo.toml b/phf/Cargo.toml index b2873131..b7da89d5 100644 --- a/phf/Cargo.toml +++ b/phf/Cargo.toml @@ -5,7 +5,7 @@ version = "0.10.1" license = "MIT" description = "Runtime support for perfect hash function data structures" repository = "https://github.com/sfackler/rust-phf" -edition = "2018" +edition = "2021" readme = "../README.md" rust-version = "1.60" diff --git a/phf_codegen/Cargo.toml b/phf_codegen/Cargo.toml index 7cbb0792..6fa438b8 100644 --- a/phf_codegen/Cargo.toml +++ b/phf_codegen/Cargo.toml @@ -5,7 +5,7 @@ version = "0.10.0" license = "MIT" description = "Codegen library for PHF types" repository = "https://github.com/sfackler/rust-phf" -edition = "2018" +edition = "2021" readme = "../README.md" rust-version = "1.60" diff --git a/phf_codegen/test/Cargo.toml b/phf_codegen/test/Cargo.toml index 4a850659..456d5cb0 100644 --- a/phf_codegen/test/Cargo.toml +++ b/phf_codegen/test/Cargo.toml @@ -3,7 +3,7 @@ name = "phf_codegen_test" authors = ["Steven Fackler "] version = "0.0.0" build = "build.rs" -edition = "2018" +edition = "2021" [dependencies] phf = { version = "0.10", features = ["uncased", "unicase"] } diff --git a/phf_generator/Cargo.toml b/phf_generator/Cargo.toml index f44a2333..dd0c4a43 100644 --- a/phf_generator/Cargo.toml +++ b/phf_generator/Cargo.toml @@ -5,7 +5,7 @@ version = "0.10.0" license = "MIT" description = "PHF generation logic" repository = "https://github.com/sfackler/rust-phf" -edition = "2018" +edition = "2021" rust-version = "1.60" [dependencies] diff --git a/phf_macros/Cargo.toml b/phf_macros/Cargo.toml index d15edc3e..3231b517 100644 --- a/phf_macros/Cargo.toml +++ b/phf_macros/Cargo.toml @@ -2,7 +2,7 @@ name = "phf_macros" version = "0.10.0" authors = ["Steven Fackler "] -edition = "2018" +edition = "2021" license = "MIT" description = "Macros to generate types in the phf crate" repository = "https://github.com/sfackler/rust-phf" diff --git a/phf_macros_tests/Cargo.toml b/phf_macros_tests/Cargo.toml index b57147d5..c91209c4 100644 --- a/phf_macros_tests/Cargo.toml +++ b/phf_macros_tests/Cargo.toml @@ -2,7 +2,7 @@ name = "phf_macros_tests" version = "0.1.0" authors = ["Yuki Okushi "] -edition = "2018" +edition = "2021" rust-version = "1.60" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/phf_shared/Cargo.toml b/phf_shared/Cargo.toml index 67f63e41..9faee488 100644 --- a/phf_shared/Cargo.toml +++ b/phf_shared/Cargo.toml @@ -5,7 +5,7 @@ version = "0.10.0" license = "MIT" description = "Support code shared by PHF libraries" repository = "https://github.com/sfackler/rust-phf" -edition = "2018" +edition = "2021" rust-version = "1.60" [lib]