Repository: rust-phf/rust-phf
Pull request #258 (2022-07-15 23:19:11)

Release 0.11.0
Signed-off-by: Yuki Okushi <jtitor@2k36.org>


Patch:
diff --git a/CHANGELOG.md b/CHANGELOG.md
index cc9810e..524a115 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,8 +2,17 @@
 
 ## Unreleased
 
+
+## 0.11.0
+
 * Bump up MSRV to 1.60
-* Now the `unicase` feature works fine with the `macros` feature, doesn't need to import `phf-macros` directly.
+* Crates' edition are now 2021 [#257]
+* Remove `proc-macro-hack` dependency [#256]
+* Now the `unicase` feature works fine with the `macros` feature, doesn't need to import `phf-macros` directly anymore. [#251]
+
+[#251]: https://github.com/rust-phf/rust-phf/pull/251
+[#256]: https://github.com/rust-phf/rust-phf/pull/256
+[#257]: https://github.com/rust-phf/rust-phf/pull/257
 
 ## 0.10.1
 
diff --git a/README.md b/README.md
index 4d7b9fd..c6725c1 100644
--- a/README.md
+++ b/README.md
@@ -28,7 +28,7 @@ will not work, set `default-features = false` for the dependency:
 ```toml
 [dependencies]
 # to use `phf` in `no_std` environments
-phf = { version = "0.10", default-features = false }
+phf = { version = "0.11", default-features = false }
 ```
 
 ### phf_macros
@@ -60,7 +60,7 @@ pub fn parse_keyword(keyword: &str) -> Option<Keyword> {
 
 ```toml
 [dependencies]
-phf = { version = "0.10", features = ["macros"] }
+phf = { version = "0.11", features = ["macros"] }
 ```
 
 #### Note
diff --git a/phf/Cargo.toml b/phf/Cargo.toml
index c82970a..a4bd341 100644
--- a/phf/Cargo.toml
+++ b/phf/Cargo.toml
@@ -1,7 +1,7 @@
 [package]
 name = "phf"
 authors = ["Steven Fackler <sfackler@gmail.com>"]
-version = "0.10.1"
+version = "0.11.0"
 license = "MIT"
 description = "Runtime support for perfect hash function data structures"
 repository = "https://github.com/sfackler/rust-phf"
@@ -22,8 +22,8 @@ unicase = ["phf_macros?/unicase", "phf_shared/unicase"]
 macros = ["phf_macros"]
 
 [dependencies]
-phf_macros = { version = "0.10.0", optional = true, path = "../phf_macros" }
-phf_shared = { version = "0.10.0", default-features = false, path = "../phf_shared" }
+phf_macros = { version = "0.11.0", optional = true, path = "../phf_macros" }
+phf_shared = { version = "0.11.0", default-features = false, path = "../phf_shared" }
 serde = { version = "1.0", optional = true }
 
 [package.metadata.docs.rs]
diff --git a/phf/examples/unicase-example/Cargo.toml b/phf/examples/unicase-example/Cargo.toml
index b264ff5..656f60e 100644
--- a/phf/examples/unicase-example/Cargo.toml
+++ b/phf/examples/unicase-example/Cargo.toml
@@ -7,5 +7,5 @@ rust-version = "1.60"
 # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
 
 [dependencies]
-phf = { version = "0.10", features = ["macros", "unicase"] }
+phf = { version = "0.11", features = ["macros", "unicase"] }
 unicase = "2"
diff --git a/phf/src/lib.rs b/phf/src/lib.rs
index 916538b..d79ab42 100644
--- a/phf/src/lib.rs
+++ b/phf/src/lib.rs
@@ -18,7 +18,7 @@
 //!
 //!```toml
 //! [dependencies]
-//! phf = { version = "0.10", features = ["macros"] }
+//! phf = { version = "0.11", features = ["macros"] }
 //! ```
 //!
 //! To compile the `phf` crate with a dependency on
@@ -28,7 +28,7 @@
 //! ```toml
 //! [dependencies]
 //! # to use `phf` in `no_std` environments
-//! phf = { version = "0.10", default-features = false }
+//! phf = { version = "0.11", default-features = false }
 //! ```
 //!
 //! ## Example (with the `macros` feature enabled)
@@ -71,7 +71,7 @@
 //! [#183]: https://github.com/rust-phf/rust-phf/issues/183
 //! [#196]: https://github.com/rust-phf/rust-phf/issues/196
 
-#![doc(html_root_url = "https://docs.rs/phf/0.10")]
+#![doc(html_root_url = "https://docs.rs/phf/0.11")]
 #![warn(missing_docs)]
 #![cfg_attr(not(feature = "std"), no_std)]
 
diff --git a/phf_codegen/Cargo.toml b/phf_codegen/Cargo.toml
index 6fa438b..08f801c 100644
--- a/phf_codegen/Cargo.toml
+++ b/phf_codegen/Cargo.toml
@@ -1,7 +1,7 @@
 [package]
 name = "phf_codegen"
 authors = ["Steven Fackler <sfackler@gmail.com>"]
-version = "0.10.0"
+version = "0.11.0"
 license = "MIT"
 description = "Codegen library for PHF types"
 repository = "https://github.com/sfackler/rust-phf"
@@ -10,5 +10,5 @@ readme = "../README.md"
 rust-version = "1.60"
 
 [dependencies]
-phf_generator = "0.10.0"
-phf_shared = "0.10.0"
+phf_generator = "0.11.0"
+phf_shared = "0.11.0"
diff --git a/phf_codegen/src/lib.rs b/phf_codegen/src/lib.rs
index 275cbf2..be66ff6 100644
--- a/phf_codegen/src/lib.rs
+++ b/phf_codegen/src/lib.rs
@@ -128,7 +128,7 @@
 //! // ...
 //! ```
 
-#![doc(html_root_url = "https://docs.rs/phf_codegen/0.10")]
+#![doc(html_root_url = "https://docs.rs/phf_codegen/0.11")]
 #![allow(clippy::new_without_default)]
 
 use phf_shared::{FmtConst, PhfHash};
diff --git a/phf_generator/Cargo.toml b/phf_generator/Cargo.toml
index dd0c4a4..1cebf8d 100644
--- a/phf_generator/Cargo.toml
+++ b/phf_generator/Cargo.toml
@@ -1,7 +1,7 @@
 [package]
 name = "phf_generator"
 authors = ["Steven Fackler <sfackler@gmail.com>"]
-version = "0.10.0"
+version = "0.11.0"
 license = "MIT"
 description = "PHF generation logic"
 repository = "https://github.com/sfackler/rust-phf"
@@ -10,7 +10,7 @@ rust-version = "1.60"
 
 [dependencies]
 rand = { version = "0.8", features = ["small_rng"] }
-phf_shared = { version = "0.10.0", default-features = false }
+phf_shared = { version = "0.11.0", default-features = false }
 # for stable black_box()
 criterion = { version = "=0.3.4", optional = true }
 
diff --git a/phf_generator/src/lib.rs b/phf_generator/src/lib.rs
index 8b75a36..4f91889 100644
--- a/phf_generator/src/lib.rs
+++ b/phf_generator/src/lib.rs
@@ -2,7 +2,7 @@
 //!
 //! [phf]: https://docs.rs/phf
 
-#![doc(html_root_url = "https://docs.rs/phf_generator/0.10")]
+#![doc(html_root_url = "https://docs.rs/phf_generator/0.11")]
 use phf_shared::{HashKey, PhfHash};
 use rand::distributions::Standard;
 use rand::rngs::SmallRng;
diff --git a/phf_macros/Cargo.toml b/phf_macros/Cargo.toml
index 790d74e..87116b6 100644
--- a/phf_macros/Cargo.toml
+++ b/phf_macros/Cargo.toml
@@ -1,6 +1,6 @@
 [package]
 name = "phf_macros"
-version = "0.10.0"
+version = "0.11.0"
 authors = ["Steven Fackler <sfackler@gmail.com>"]
 edition = "2021"
 license = "MIT"
@@ -22,5 +22,5 @@ quote = "1"
 proc-macro2 = "1"
 unicase_ = { package = "unicase", version = "2.4.0", optional = true }
 
-phf_generator = "0.10.0"
-phf_shared = { version = "0.10.0", default-features = false }
+phf_generator = "0.11.0"
+phf_shared = { version = "0.11.0", default-features = false }
diff --git a/phf_shared/Cargo.toml b/phf_shared/Cargo.toml
index 9faee48..3563fbd 100644
--- a/phf_shared/Cargo.toml
+++ b/phf_shared/Cargo.toml
@@ -1,7 +1,7 @@
 [package]
 name = "phf_shared"
 authors = ["Steven Fackler <sfackler@gmail.com>"]
-version = "0.10.0"
+version = "0.11.0"
 license = "MIT"
 description = "Support code shared by PHF libraries"
 repository = "https://github.com/sfackler/rust-phf"
diff --git a/phf_shared/src/lib.rs b/phf_shared/src/lib.rs
index 37cce31..00ea582 100644
--- a/phf_shared/src/lib.rs
+++ b/phf_shared/src/lib.rs
@@ -2,7 +2,7 @@
 //!
 //! [phf]: https://docs.rs/phf
 
-#![doc(html_root_url = "https://docs.rs/phf_shared/0.10")]
+#![doc(html_root_url = "https://docs.rs/phf_shared/0.11")]
 #![cfg_attr(not(feature = "std"), no_std)]
 
 #[cfg(feature = "std")]


Test patch:
diff --git a/phf_codegen/test/Cargo.toml b/phf_codegen/test/Cargo.toml
index 456d5cb..eef9cff 100644
--- a/phf_codegen/test/Cargo.toml
+++ b/phf_codegen/test/Cargo.toml
@@ -6,11 +6,11 @@ build = "build.rs"
 edition = "2021"
 
 [dependencies]
-phf = { version = "0.10", features = ["uncased", "unicase"] }
+phf = { version = "0.11", features = ["uncased", "unicase"] }
 uncased = { version = "0.9.6", default-features = false }
 unicase = "2.4.0"
 
 [build-dependencies]
-phf_codegen = { version = "0.10.0", path = ".." }
+phf_codegen = { version = "0.11.0", path = ".." }
 unicase = "2.4.0"
 uncased = { version = "0.9.6", default-features = false }
diff --git a/phf_macros_tests/Cargo.toml b/phf_macros_tests/Cargo.toml
index c91209c..9acdf5b 100644
--- a/phf_macros_tests/Cargo.toml
+++ b/phf_macros_tests/Cargo.toml
@@ -11,6 +11,6 @@ rust-version = "1.60"
 
 [dev-dependencies]
 trybuild = "1.0"
-phf = { version = "0.10", features = ["macros"] }
-phf_macros = { version = "0.10", features = ["unicase"] }
+phf = { version = "0.11", features = ["macros"] }
+phf_macros = { version = "0.11", features = ["unicase"] }
 unicase = "2.4.0"