Skip to content

Commit 8027a6a

Browse files
committed
Update string_cache and phf
1 parent 35a6448 commit 8027a6a

File tree

4 files changed

+12
-13
lines changed

4 files changed

+12
-13
lines changed

html5ever/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22

33
name = "html5ever"
4-
version = "0.24.1"
4+
version = "0.25.0"
55
authors = [ "The html5ever Project Developers" ]
66
license = "MIT / Apache-2.0"
77
repository = "https://github.com/servo/html5ever"
@@ -30,7 +30,7 @@ name = "serializer"
3030
[dependencies]
3131
log = "0.4"
3232
mac = "0.1"
33-
markup5ever = { version = "0.9", path = "../markup5ever" }
33+
markup5ever = { version = "0.10", path = "../markup5ever" }
3434

3535
[dev-dependencies]
3636
serde_json = "1.0"

markup5ever/Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "markup5ever"
3-
version = "0.9.0"
3+
version = "0.10.0"
44
authors = [ "The html5ever Project Developers" ]
55
license = "MIT / Apache-2.0"
66
repository = "https://github.com/servo/html5ever"
@@ -14,14 +14,14 @@ edition = "2018"
1414
path = "lib.rs"
1515

1616
[dependencies]
17-
string_cache = "0.7"
18-
phf = "0.7"
17+
string_cache = "0.8"
18+
phf = "0.8"
1919
tendril = "0.4"
2020
log = "0.4"
2121

2222
[build-dependencies]
23-
string_cache_codegen = "0.4"
24-
phf_codegen = "0.7.3"
23+
string_cache_codegen = "0.5.1"
24+
phf_codegen = "0.8"
2525
serde = "1.0"
2626
serde_derive = "1.0"
2727
serde_json = "1.0"

markup5ever/build.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -142,11 +142,10 @@ fn named_entities_to_phf(from: &Path, to: &Path) {
142142
"#
143143
)
144144
.unwrap();
145-
write!(
145+
writeln!(
146146
&mut file,
147-
"pub static NAMED_ENTITIES: Map<&'static str, (u32, u32)> = "
147+
"pub static NAMED_ENTITIES: Map<&'static str, (u32, u32)> = {};",
148+
phf_map.build(),
148149
)
149150
.unwrap();
150-
phf_map.build(&mut file).unwrap();
151-
write!(&mut file, ";\n").unwrap();
152151
}

xml5ever/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22

33
name = "xml5ever"
4-
version = "0.15.0"
4+
version = "0.16.0"
55
authors = ["The xml5ever project developers"]
66
license = "MIT / Apache-2.0"
77
repository = "https://github.com/servo/html5ever"
@@ -24,7 +24,7 @@ doctest = true
2424
time = "0.1"
2525
log = "0.4"
2626
mac = "0.1"
27-
markup5ever = {version = "0.9", path = "../markup5ever" }
27+
markup5ever = {version = "0.10", path = "../markup5ever" }
2828

2929
[dev-dependencies]
3030
serde_json = "1.0"

0 commit comments

Comments
 (0)