File tree Expand file tree Collapse file tree 6 files changed +18
-18
lines changed Expand file tree Collapse file tree 6 files changed +18
-18
lines changed Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " string_cache"
3
- version = " 0.8.9 " # Also update README.md when making a semver-breaking change
3
+ version = " 0.9.0 " # Also update README.md when making a semver-breaking change
4
4
authors = [" The Servo Project Developers" ]
5
5
description = " A string interning library for Rust, developed as part of the Servo project."
6
6
license = " MIT OR Apache-2.0"
@@ -26,7 +26,7 @@ default = ["serde_support"]
26
26
precomputed-hash = " 0.1"
27
27
serde = { version = " 1" , optional = true }
28
28
malloc_size_of = { version = " 0.1" , default-features = false , optional = true }
29
- phf_shared = " 0.11 "
29
+ phf_shared = " 0.12 "
30
30
new_debug_unreachable = " 1.0.2"
31
31
parking_lot = " 0.12"
32
32
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ In `Cargo.toml`:
12
12
13
13
``` toml
14
14
[dependencies ]
15
- string_cache = " 0.8 "
15
+ string_cache = " 0.9 "
16
16
```
17
17
18
18
In ` lib.rs ` :
@@ -31,10 +31,10 @@ In `Cargo.toml`:
31
31
build = " build.rs"
32
32
33
33
[dependencies ]
34
- string_cache = " 0.8 "
34
+ string_cache = " 0.9 "
35
35
36
36
[build-dependencies ]
37
- string_cache_codegen = " 0.5 "
37
+ string_cache_codegen = " 0.6 "
38
38
```
39
39
40
40
In ` build.rs ` :
Original file line number Diff line number Diff line change @@ -16,11 +16,11 @@ test = true
16
16
unstable = []
17
17
18
18
[dependencies ]
19
- string_cache = { version = " 0.8 " , path = " .." }
19
+ string_cache = { version = " 0.9 " , path = " .." }
20
20
21
21
[dev-dependencies ]
22
22
rand = " 0.8"
23
- string_cache_codegen = { version = " 0.5 " , path = " ../string-cache-codegen" }
23
+ string_cache_codegen = { version = " 0.6 " , path = " ../string-cache-codegen" }
24
24
25
25
[build-dependencies ]
26
- string_cache_codegen = { version = " 0.5 " , path = " ../string-cache-codegen" }
26
+ string_cache_codegen = { version = " 0.6 " , path = " ../string-cache-codegen" }
Original file line number Diff line number Diff line change 25
25
//! In `Cargo.toml`:
26
26
//! ```toml
27
27
//! [dependencies]
28
- //! string_cache = "0.8 "
28
+ //! string_cache = "0.9 "
29
29
//!
30
30
//! [dev-dependencies]
31
- //! string_cache_codegen = "0.5 "
31
+ //! string_cache_codegen = "0.6 "
32
32
//! ```
33
33
//!
34
34
//! In `build.rs`:
Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " string_cache_codegen"
3
- version = " 0.5.4 " # Also update ../README.md when making a semver-breaking change
3
+ version = " 0.6.0 " # Also update ../README.md when making a semver-breaking change
4
4
authors = [ " The Servo Project Developers" ]
5
5
description = " A codegen library for string-cache, developed as part of the Servo project."
6
6
license = " MIT OR Apache-2.0"
@@ -13,7 +13,7 @@ name = "string_cache_codegen"
13
13
path = " lib.rs"
14
14
15
15
[dependencies ]
16
- phf_generator = " 0.11 "
17
- phf_shared = " 0.11 "
16
+ phf_generator = " 0.12 "
17
+ phf_shared = " 0.12 "
18
18
proc-macro2 = " 1"
19
19
quote = " 1"
Original file line number Diff line number Diff line change 19
19
//! build = "build.rs"
20
20
//!
21
21
//! [dependencies]
22
- //! string_cache = "0.8 "
22
+ //! string_cache = "0.9 "
23
23
//!
24
24
//! [build-dependencies]
25
- //! string_cache_codegen = "0.5 "
25
+ //! string_cache_codegen = "0.6 "
26
26
//! ```
27
27
//!
28
28
//! In `build.rs`:
@@ -183,8 +183,8 @@ impl AtomType {
183
183
184
184
#[ cfg( test) ]
185
185
/// Write generated code to destination [`Vec<u8>`] and return it as [`String`]
186
- ///
187
- /// Used mostly for testing or displaying a value.
186
+ ///
187
+ /// Used mostly for testing or displaying a value.
188
188
pub fn write_to_string ( & mut self , mut destination : Vec < u8 > ) -> io:: Result < String >
189
189
{
190
190
destination. write_all (
@@ -347,4 +347,4 @@ fn test_iteration_order() {
347
347
. write_to_string ( Vec :: new ( ) ) . expect ( "write to string cache x2" ) ;
348
348
349
349
assert_eq ! ( x1, x2) ;
350
- }
350
+ }
You can’t perform that action at this time.
0 commit comments