aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbors-servo <infra@servo.org>2023-05-20 21:32:49 +0200
committerGitHub <noreply@github.com>2023-05-20 21:32:49 +0200
commitbc8cea2495e928f071875c26b7fba262744a26ea (patch)
treeb2a1416f52fa1af2284df9f04cdd3b7b0f3cdee8
parent1a648d1e27dc7d7af913178aca9a1fd8b4afdb90 (diff)
parent651bfb9bded44a6c405acada5067b355afb1a053 (diff)
downloadservo-bc8cea2495e928f071875c26b7fba262744a26ea.tar.gz
servo-bc8cea2495e928f071875c26b7fba262744a26ea.zip
Auto merge of #29759 - atouchet:hhpd, r=jdm
De-dupe httpdate and tokio-util <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [ ] `./mach build -d` does not report any errors - [ ] `./mach test-tidy` does not report any errors - [ ] These changes fix #___ (GitHub issue number if applicable) <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because ___ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
-rw-r--r--Cargo.lock45
-rw-r--r--servo-tidy.toml14
2 files changed, 19 insertions, 40 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 18e9f495468..cdcd328d3c7 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2575,9 +2575,9 @@ checksum = "b1334b94d8ce67319ddc44663daef53d8c1538629a11562530c981dbd9085b9a"
[[package]]
name = "h2"
-version = "0.3.9"
+version = "0.3.19"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8f072413d126e57991455e0a922b31e4c8ba7c2ffbebf6b78b4f8521397d65cd"
+checksum = "d357c7ae988e7d2182f7d7871d0b963962420b0678b0997ce7de72001aeab782"
dependencies = [
"bytes 1.1.0",
"fnv",
@@ -2588,7 +2588,7 @@ dependencies = [
"indexmap",
"slab",
"tokio 1.25.0",
- "tokio-util 0.6.9",
+ "tokio-util",
"tracing",
]
@@ -2646,7 +2646,7 @@ dependencies = [
"bytes 1.1.0",
"headers-core",
"http",
- "httpdate 1.0.2",
+ "httpdate",
"mime",
"sha-1 0.10.0",
]
@@ -2728,15 +2728,9 @@ dependencies = [
[[package]]
name = "httparse"
-version = "1.3.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bc35c995b9d93ec174cf9a27d425c7892722101e14993cd227fdb51d70cf9589"
-
-[[package]]
-name = "httpdate"
-version = "0.3.2"
+version = "1.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "494b4d60369511e7dea41cf646832512a94e542f68bb9c49e54518e0f468eb47"
+checksum = "d897f394bad6a705d5f4104762e116a75639e470d80901eed05a860a95cb1904"
[[package]]
name = "httpdate"
@@ -2752,9 +2746,9 @@ checksum = "3c1ad908cc71012b7bea4d0c53ba96a8cba9962f048fa68d143376143d863b7a"
[[package]]
name = "hyper"
-version = "0.14.5"
+version = "0.14.26"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8bf09f61b52cfcf4c00de50df88ae423d6c02354e385a86341133b5338630ad1"
+checksum = "ab302d72a6f11a3b910431ff93aae7e773078c769f0a3ef15fb9ec692ed147d4"
dependencies = [
"bytes 1.1.0",
"futures-channel",
@@ -2764,9 +2758,9 @@ dependencies = [
"http",
"http-body",
"httparse",
- "httpdate 0.3.2",
- "itoa 0.4.8",
- "pin-project",
+ "httpdate",
+ "itoa 1.0.1",
+ "pin-project-lite 0.2.8",
"socket2",
"tokio 1.25.0",
"tower-service",
@@ -6687,20 +6681,6 @@ dependencies = [
[[package]]
name = "tokio-util"
-version = "0.6.9"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9e99e1983e5d376cd8eb4b66604d2e99e79f5bd988c3055891dcd8c9e2604cc0"
-dependencies = [
- "bytes 1.1.0",
- "futures-core",
- "futures-sink",
- "log",
- "pin-project-lite 0.2.8",
- "tokio 1.25.0",
-]
-
-[[package]]
-name = "tokio-util"
version = "0.7.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "806fe8c2c87eccc8b3267cbae29ed3ab2d0bd37fca70ab622e46aaa9375ddb7d"
@@ -6710,6 +6690,7 @@ dependencies = [
"futures-sink",
"pin-project-lite 0.2.8",
"tokio 1.25.0",
+ "tracing",
]
[[package]]
@@ -7005,7 +6986,7 @@ dependencies = [
"serde_urlencoded",
"tokio 1.25.0",
"tokio-stream",
- "tokio-util 0.7.8",
+ "tokio-util",
"tower-service",
"tracing",
]
diff --git a/servo-tidy.toml b/servo-tidy.toml
index 74186f1b8ea..43bed5a0b93 100644
--- a/servo-tidy.toml
+++ b/servo-tidy.toml
@@ -23,11 +23,10 @@ rand = [
[ignore]
# Ignored packages with duplicated versions
packages = [
- "time",
- "cookie",
"arrayvec",
"base64",
"cfg-if",
+ "cookie",
"crossbeam-channel",
"crossbeam-utils",
"fixedbitset",
@@ -52,19 +51,18 @@ packages = [
"rand_core",
"redox_syscall",
"ron",
+ "time",
"wasi",
"wayland-sys",
# https://github.com/servo/servo/issues/26933
+ "bytes",
"futures",
"mio",
- "tokio-openssl",
+ "pin-project-lite",
"tokio",
"tokio-macros",
- "tokio-util",
- "httpdate",
- "bytes",
- "pin-project-lite",
+ "tokio-openssl",
# https://github.com/servo/servo/pull/23288#issuecomment-494687746
"gl_generator",
@@ -78,11 +76,11 @@ packages = [
"nix",
# Duplicated by webrender debugger via ws
+ "block-buffer",
"digest",
"generic-array",
"opaque-debug",
"sha-1",
- "block-buffer",
# Duplicated by winit/surfman update.
"raw-window-handle",