Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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.13"
new_debug_unreachable = "1.0.2"
parking_lot = "0.12"

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ In `Cargo.toml`:

```toml
[dependencies]
string_cache = "0.8"
string_cache = "0.9"
```

In `lib.rs`:
Expand All @@ -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`:
Expand Down
6 changes: 3 additions & 3 deletions integration-tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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`:
Expand Down
6 changes: 3 additions & 3 deletions string-cache-codegen/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -13,7 +13,7 @@ name = "string_cache_codegen"
path = "lib.rs"

[dependencies]
phf_generator = "0.11"
phf_shared = "0.11"
phf_generator = "0.13"
phf_shared = "0.13"
proc-macro2 = "1"
quote = "1"
10 changes: 5 additions & 5 deletions string-cache-codegen/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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`:
Expand Down Expand Up @@ -183,8 +183,8 @@ impl AtomType {

#[cfg(test)]
/// Write generated code to destination [`Vec<u8>`] 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<u8>) -> io::Result<String>
{
destination.write_all(
Expand Down Expand Up @@ -347,4 +347,4 @@ fn test_iteration_order() {
.write_to_string(Vec::new()).expect("write to string cache x2");

assert_eq!(x1, x2);
}
}
Loading