diff --git a/Cargo.toml b/Cargo.toml index 287bd07..7c09dd1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "string_cache" -version = "0.8.9" # Also update README.md when making a semver-breaking change +version = "0.9.0" # Also update README.md when making a semver-breaking change authors = ["The Servo Project Developers"] description = "A string interning library for Rust, developed as part of the Servo project." license = "MIT OR Apache-2.0" @@ -26,7 +26,7 @@ default = ["serde_support"] precomputed-hash = "0.1" serde = { version = "1", optional = true } malloc_size_of = { version = "0.1", default-features = false, optional = true } -phf_shared = "0.11" +phf_shared = "0.12" new_debug_unreachable = "1.0.2" parking_lot = "0.12" diff --git a/README.md b/README.md index fdf4c0a..429d1ec 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ In `Cargo.toml`: ```toml [dependencies] -string_cache = "0.8" +string_cache = "0.9" ``` In `lib.rs`: @@ -31,10 +31,10 @@ In `Cargo.toml`: build = "build.rs" [dependencies] -string_cache = "0.8" +string_cache = "0.9" [build-dependencies] -string_cache_codegen = "0.5" +string_cache_codegen = "0.6" ``` In `build.rs`: diff --git a/integration-tests/Cargo.toml b/integration-tests/Cargo.toml index a0b047c..12c0ad0 100644 --- a/integration-tests/Cargo.toml +++ b/integration-tests/Cargo.toml @@ -16,11 +16,11 @@ test = true unstable = [] [dependencies] -string_cache = { version = "0.8", path = ".." } +string_cache = { version = "0.9", path = ".." } [dev-dependencies] rand = "0.8" -string_cache_codegen = { version = "0.5", path = "../string-cache-codegen" } +string_cache_codegen = { version = "0.6", path = "../string-cache-codegen" } [build-dependencies] -string_cache_codegen = { version = "0.5", path = "../string-cache-codegen" } +string_cache_codegen = { version = "0.6", path = "../string-cache-codegen" } diff --git a/src/lib.rs b/src/lib.rs index 441cb4e..3cc29b1 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -25,10 +25,10 @@ //! In `Cargo.toml`: //! ```toml //! [dependencies] -//! string_cache = "0.8" +//! string_cache = "0.9" //! //! [dev-dependencies] -//! string_cache_codegen = "0.5" +//! string_cache_codegen = "0.6" //! ``` //! //! In `build.rs`: diff --git a/string-cache-codegen/Cargo.toml b/string-cache-codegen/Cargo.toml index a9660bd..dddd6ab 100644 --- a/string-cache-codegen/Cargo.toml +++ b/string-cache-codegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "string_cache_codegen" -version = "0.5.4" # Also update ../README.md when making a semver-breaking change +version = "0.6.0" # Also update ../README.md when making a semver-breaking change authors = [ "The Servo Project Developers" ] description = "A codegen library for string-cache, developed as part of the Servo project." license = "MIT OR Apache-2.0" @@ -13,7 +13,7 @@ name = "string_cache_codegen" path = "lib.rs" [dependencies] -phf_generator = "0.11" -phf_shared = "0.11" +phf_generator = "0.12" +phf_shared = "0.12" proc-macro2 = "1" quote = "1" diff --git a/string-cache-codegen/lib.rs b/string-cache-codegen/lib.rs index c703cf7..69ff612 100644 --- a/string-cache-codegen/lib.rs +++ b/string-cache-codegen/lib.rs @@ -19,10 +19,10 @@ //! build = "build.rs" //! //! [dependencies] -//! string_cache = "0.8" +//! string_cache = "0.9" //! //! [build-dependencies] -//! string_cache_codegen = "0.5" +//! string_cache_codegen = "0.6" //! ``` //! //! In `build.rs`: @@ -183,8 +183,8 @@ impl AtomType { #[cfg(test)] /// Write generated code to destination [`Vec`] and return it as [`String`] - /// - /// Used mostly for testing or displaying a value. + /// + /// Used mostly for testing or displaying a value. pub fn write_to_string(&mut self, mut destination: Vec) -> io::Result { destination.write_all( @@ -347,4 +347,4 @@ fn test_iteration_order() { .write_to_string(Vec::new()).expect("write to string cache x2"); assert_eq!(x1, x2); -} \ No newline at end of file +}