Skip to content

Commit f37e3ff

Browse files
authored
remove git deps on hyper and h2 (#596)
The versions we were waiting for (`hyper` 0.13.7 and `h2` 0.2.6) have now been released, so we can remove the patches and Git dependencies :D
1 parent 757c4e0 commit f37e3ff

File tree

10 files changed

+23
-25
lines changed

10 files changed

+23
-25
lines changed

Cargo.lock

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -489,8 +489,9 @@ dependencies = [
489489

490490
[[package]]
491491
name = "h2"
492-
version = "0.2.5"
493-
source = "git+https://github.com/hyperium/h2?rev=d3b9f1e36aadc1a7a6804e2f8e86d3fe4a244b4f#d3b9f1e36aadc1a7a6804e2f8e86d3fe4a244b4f"
492+
version = "0.2.6"
493+
source = "registry+https://github.com/rust-lang/crates.io-index"
494+
checksum = "993f9e0baeed60001cf565546b0d3dbe6a6ad23f2bd31644a133c641eccf6d53"
494495
dependencies = [
495496
"bytes 0.5.4",
496497
"fnv",
@@ -571,14 +572,15 @@ checksum = "cd179ae861f0c2e53da70d892f5f3029f9594be0c41dc5269cd371691b1dc2f9"
571572

572573
[[package]]
573574
name = "hyper"
574-
version = "0.13.6"
575-
source = "git+https://github.com/hyperium/hyper?rev=9832aef9eeaeff8979354d5de04b8706ff79a233#9832aef9eeaeff8979354d5de04b8706ff79a233"
575+
version = "0.13.7"
576+
source = "registry+https://github.com/rust-lang/crates.io-index"
577+
checksum = "3e68a8dd9716185d9e64ea473ea6ef63529252e3e27623295a0378a19665d5eb"
576578
dependencies = [
577579
"bytes 0.5.4",
578580
"futures-channel",
579581
"futures-core",
580582
"futures-util",
581-
"h2 0.2.5",
583+
"h2 0.2.6",
582584
"http 0.2.1",
583585
"http-body",
584586
"httparse",
@@ -740,7 +742,7 @@ version = "0.1.0"
740742
dependencies = [
741743
"bytes 0.5.4",
742744
"futures 0.3.5",
743-
"h2 0.2.5",
745+
"h2 0.2.6",
744746
"http 0.2.1",
745747
"http-body",
746748
"hyper",
@@ -879,7 +881,7 @@ dependencies = [
879881
"bytes 0.5.4",
880882
"flate2",
881883
"futures 0.3.5",
882-
"h2 0.2.5",
884+
"h2 0.2.6",
883885
"http 0.2.1",
884886
"http-body",
885887
"hyper",
@@ -1174,7 +1176,7 @@ name = "linkerd2-proxy-api"
11741176
version = "0.1.13"
11751177
source = "git+https://github.com/linkerd/linkerd2-proxy-api?tag=v0.1.13#f9a95345ef44c3d6f22559442e35f07e0af477e2"
11761178
dependencies = [
1177-
"h2 0.2.5",
1179+
"h2 0.2.6",
11781180
"http 0.2.1",
11791181
"prost",
11801182
"prost-types",
@@ -1250,7 +1252,7 @@ version = "0.1.0"
12501252
dependencies = [
12511253
"bytes 0.5.4",
12521254
"futures 0.3.5",
1253-
"h2 0.2.5",
1255+
"h2 0.2.6",
12541256
"http 0.2.1",
12551257
"http-body",
12561258
"httparse",

Cargo.toml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,4 @@ debug = false
6363

6464
[patch.crates-io]
6565
webpki = { git = "https://github.com/linkerd/webpki", branch = "cert-dns-names-0.21" }
66-
tower = { version = "0.3", git = "https://github.com/tower-rs/tower", rev = "8752a3811788e94670c62dc0acbc9613207931b1"}
67-
# Un-patch after h2 v0.2.6 is published
68-
h2 = { git = "https://github.com/hyperium/h2", rev = "d3b9f1e36aadc1a7a6804e2f8e86d3fe4a244b4f"}
69-
# Un-patch after hyper v0.13.7 is published
70-
hyper = { version = "0.13", git = "https://github.com/hyperium/hyper", rev = "9832aef9eeaeff8979354d5de04b8706ff79a233"}
66+
tower = { version = "0.3", git = "https://github.com/tower-rs/tower", rev = "8752a3811788e94670c62dc0acbc9613207931b1"}

hyper-balance/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ publish = false
88
[dependencies]
99
futures = "0.3"
1010
http = "0.2"
11-
hyper = "0.13"
11+
hyper = "0.13.7"
1212
pin-project = "0.4"
1313
tower = { version = "0.3", default-features = false, features = ["load"]}
1414
tokio = { version = "0.2", features = ["macros"]}

linkerd/app/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ tracing-futures = { version = "0.2", features = ["std-future"]}
3333

3434
[dev-dependencies]
3535
bytes = "0.5"
36-
h2 = "0.2"
36+
h2 = "0.2.6"
3737
http = "0.2"
38-
hyper = "0.13"
38+
hyper = "0.13.7"
3939
linkerd2-metrics = { path = "../metrics", features = ["test_util"] }
4040
linkerd2-proxy-api = { git = "https://github.com/linkerd/linkerd2-proxy-api", tag = "v0.1.13", features = ["arbitrary"] }
4141
net2 = "0.2"

linkerd/app/core/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ async-trait = "0.1"
1919
bytes = "0.5"
2020
http = "0.2"
2121
http-body = "0.3"
22-
hyper = "0.13"
22+
hyper = "0.13.7"
2323
futures = "0.3"
2424
indexmap = "1.0"
2525
linkerd2-addr = { path = "../../addr" }

linkerd/app/integration/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ nyi = []
2020
[dependencies]
2121
bytes = "0.5"
2222
futures = "0.3"
23-
h2 = "0.2"
23+
h2 = "0.2.6"
2424
http = "0.2"
2525
http-body = "0.3"
26-
hyper = "0.13"
26+
hyper = "0.13.7"
2727
linkerd2-app = { path = "..", features = ["mock-orig-dst"] }
2828
linkerd2-app-core = { path = "../core", features = ["mock-orig-dst"] }
2929
linkerd2-metrics = { path = "../../metrics", features = ["test_util"] }

linkerd/http-metrics/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ futures = "0.3"
1111
h2 = "0.1"
1212
http = "0.2"
1313
http-body = "0.3"
14-
hyper = "0.13.0"
14+
hyper = "0.13.7"
1515
indexmap = "1.0"
1616
linkerd2-error = { path = "../error" }
1717
linkerd2-http-classify = { path = "../http-classify" }

linkerd/metrics/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ test_util = []
1313
deflate = { version = "0.7.18", features = ["gzip"] }
1414
futures = "0.3"
1515
http = "0.2"
16-
hyper = "0.13"
16+
hyper = "0.13.7"
1717
indexmap = "1.0"
1818
tracing = "0.1.2"
1919

linkerd/proxy/http/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ This should probably be decomposed into smaller, decoupled crates.
1313
[dependencies]
1414
bytes = "0.5"
1515
futures = { package = "futures", version = "0.3" }
16-
h2 = "0.2"
16+
h2 = "0.2.6"
1717
http = "0.2"
1818
http-body = "0.3"
1919
httparse = "1.2"
20-
hyper = "0.13"
20+
hyper = "0.13.7"
2121
hyper-balance = { path = "../../../hyper-balance" }
2222
indexmap = "1.0"
2323
linkerd2-addr = { path = "../../addr" }

linkerd/proxy/tap/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ publish = false
88
[dependencies]
99
bytes = "0.5"
1010
http = "0.2"
11-
hyper = "0.13"
11+
hyper = "0.13.7"
1212
futures = "0.3"
1313
indexmap = "1.0"
1414
ipnet = "2.0"

0 commit comments

Comments
 (0)