aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Cargo.lock82
-rw-r--r--components/script/Cargo.toml6
-rw-r--r--components/selectors/Cargo.toml4
-rw-r--r--servo-tidy.toml4
4 files changed, 22 insertions, 74 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 28491a85a61..450263d7a8e 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1146,7 +1146,7 @@ dependencies = [
"dtoa-short",
"itoa 1.0.1",
"matches",
- "phf 0.10.1",
+ "phf",
"proc-macro2",
"quote",
"serde",
@@ -3521,8 +3521,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7a2629bb1404f3d34c2e921f21fd34ba00b206124c81f65c50b43b6aaefeb016"
dependencies = [
"log",
- "phf 0.10.1",
- "phf_codegen 0.10.0",
+ "phf",
+ "phf_codegen",
"string_cache",
"string_cache_codegen",
"tendril",
@@ -4482,52 +4482,23 @@ dependencies = [
[[package]]
name = "phf"
-version = "0.8.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3dfb61232e34fcb633f43d12c58f83c1df82962dcdfa565a4e866ffc17dafe12"
-dependencies = [
- "phf_shared 0.8.0",
-]
-
-[[package]]
-name = "phf"
version = "0.10.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fabbf1ead8a5bcbc20f5f8b939ee3f5b0f6f281b6ad3468b84656b658b455259"
dependencies = [
"phf_macros",
- "phf_shared 0.10.0",
+ "phf_shared",
"proc-macro-hack",
]
[[package]]
name = "phf_codegen"
-version = "0.8.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cbffee61585b0411840d3ece935cce9cb6321f01c45477d30066498cd5e1a815"
-dependencies = [
- "phf_generator 0.8.0",
- "phf_shared 0.8.0",
-]
-
-[[package]]
-name = "phf_codegen"
version = "0.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4fb1c3a8bc4dd4e5cfce29b44ffc14bedd2ee294559a294e2a4d4c9e9a6a13cd"
dependencies = [
- "phf_generator 0.10.0",
- "phf_shared 0.10.0",
-]
-
-[[package]]
-name = "phf_generator"
-version = "0.8.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "17367f0cc86f2d25802b2c26ee58a7b23faeccf78a396094c13dced0d0182526"
-dependencies = [
- "phf_shared 0.8.0",
- "rand 0.7.3",
+ "phf_generator",
+ "phf_shared",
]
[[package]]
@@ -4536,7 +4507,7 @@ version = "0.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5d5285893bb5eb82e6aaf5d59ee909a06a16737a8970984dd7746ba9283498d6"
dependencies = [
- "phf_shared 0.10.0",
+ "phf_shared",
"rand 0.8.5",
]
@@ -4546,8 +4517,8 @@ version = "0.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "58fdf3184dd560f160dd73922bea2d5cd6e8f064bf4b13110abd81b03697b4e0"
dependencies = [
- "phf_generator 0.10.0",
- "phf_shared 0.10.0",
+ "phf_generator",
+ "phf_shared",
"proc-macro-hack",
"proc-macro2",
"quote",
@@ -4556,15 +4527,6 @@ dependencies = [
[[package]]
name = "phf_shared"
-version = "0.8.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c00cf8b9eafe68dde5e9eaa2cef8ee84a9336a47d566ec55ca16589633b65af7"
-dependencies = [
- "siphasher",
-]
-
-[[package]]
-name = "phf_shared"
version = "0.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b6796ad771acdc0123d2a88dc428b5e38ef24456743ddb1744ed628f9815c096"
@@ -4784,7 +4746,6 @@ dependencies = [
"rand_chacha 0.2.2",
"rand_core 0.5.1",
"rand_hc",
- "rand_pcg",
]
[[package]]
@@ -4855,15 +4816,6 @@ dependencies = [
]
[[package]]
-name = "rand_pcg"
-version = "0.2.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "16abd0c1b639e9eb4d7c50c0b8100b0d0f849be2349829c740fe8e6eb4816429"
-dependencies = [
- "rand_core 0.5.1",
-]
-
-[[package]]
name = "range"
version = "0.0.1"
dependencies = [
@@ -5152,9 +5104,9 @@ dependencies = [
"num-traits",
"parking_lot 0.11.2",
"percent-encoding",
- "phf 0.8.0",
- "phf_codegen 0.8.0",
- "phf_shared 0.8.0",
+ "phf",
+ "phf_codegen",
+ "phf_shared",
"pixels",
"profile_traits",
"range",
@@ -5310,8 +5262,8 @@ dependencies = [
"derive_more",
"fxhash",
"log",
- "phf 0.8.0",
- "phf_codegen 0.8.0",
+ "phf",
+ "phf_codegen",
"precomputed-hash",
"servo_arc",
"smallvec",
@@ -6013,7 +5965,7 @@ dependencies = [
"new_debug_unreachable",
"once_cell",
"parking_lot 0.12.0",
- "phf_shared 0.10.0",
+ "phf_shared",
"precomputed-hash",
"serde",
]
@@ -6024,8 +5976,8 @@ version = "0.5.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6bb30289b722be4ff74a408c3cc27edeaad656e06cb1fe8fa9231fa59c728988"
dependencies = [
- "phf_generator 0.10.0",
- "phf_shared 0.10.0",
+ "phf_generator",
+ "phf_shared",
"proc-macro2",
"quote",
]
diff --git a/components/script/Cargo.toml b/components/script/Cargo.toml
index 24414be8d22..acd5a226b1d 100644
--- a/components/script/Cargo.toml
+++ b/components/script/Cargo.toml
@@ -25,8 +25,8 @@ uwp = ["js/uwp"]
xr-profile = ["webxr-api/profile"]
[build-dependencies]
-phf_codegen = "0.8"
-phf_shared = "0.8"
+phf_codegen = "0.10"
+phf_shared = "0.10"
serde_json = { workspace = true }
[dependencies]
@@ -82,7 +82,7 @@ net_traits = { path = "../net_traits" }
num-traits = { workspace = true }
parking_lot = { workspace = true }
percent-encoding = { workspace = true }
-phf = "0.8"
+phf = "0.10"
pixels = { path = "../pixels" }
profile_traits = { path = "../profile_traits" }
range = { path = "../range" }
diff --git a/components/selectors/Cargo.toml b/components/selectors/Cargo.toml
index 5b459b77a0c..2a91f50c636 100644
--- a/components/selectors/Cargo.toml
+++ b/components/selectors/Cargo.toml
@@ -25,7 +25,7 @@ cssparser = "0.29"
derive_more = "0.99"
fxhash = "0.2"
log = "0.4"
-phf = "0.8"
+phf = "0.10"
precomputed-hash = "0.1"
servo_arc = { version = "0.2", path = "../servo_arc" }
smallvec = "1.0"
@@ -33,4 +33,4 @@ to_shmem = { version = "0.0.0", path = "../to_shmem", optional = true }
to_shmem_derive = { version = "0.0.0", path = "../to_shmem_derive", optional = true }
[build-dependencies]
-phf_codegen = "0.8"
+phf_codegen = "0.10"
diff --git a/servo-tidy.toml b/servo-tidy.toml
index 1c67e86c387..7bfa2ec7546 100644
--- a/servo-tidy.toml
+++ b/servo-tidy.toml
@@ -41,10 +41,6 @@ packages = [
"parking_lot",
"parking_lot_core",
"petgraph",
- "phf",
- "phf_codegen",
- "phf_generator",
- "phf_shared",
"png",
"rand",
"rand_chacha",