Skip to content

Commit bbb5c51

Browse files
authored
Update h2 to use unpublished changes (#1536)
`h2` has a few important changes since its last official release: * hyperium/h2@4dc2b4a Avoids time operations that can panic * hyperium/h2@85549fc Fixes an issue with header parsing * hyperium/h2@b8eab38 Removes noise from tracing spans This change patches our `h2` dependency to use the laster commit on the master branch. Signed-off-by: Oliver Gould <[email protected]>
1 parent e9c40ab commit bbb5c51

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

Cargo.lock

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -444,8 +444,7 @@ dependencies = [
444444
[[package]]
445445
name = "h2"
446446
version = "0.3.11"
447-
source = "registry+https://github.com/rust-lang/crates.io-index"
448-
checksum = "d9f1f717ddc7b2ba36df7e871fd88db79326551d3d6f1fc406fbfd28b582ff8e"
447+
source = "git+https://github.com/hyperium/h2?branch=master#b8eab381c053ccf3ebf99d3ef1c0fd27f5e11d89"
449448
dependencies = [
450449
"bytes",
451450
"fnv",

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,4 +77,5 @@ debug = false
7777
lto = true
7878

7979
[patch.crates-io]
80+
h2 = { git = "https://github.com/hyperium/h2", branch = "master" }
8081
webpki = { git = "https://github.com/linkerd/webpki", branch = "cert-dns-names-0.22" }

deny.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ skip-tree = [
6363
unknown-registry = "deny"
6464
unknown-git = "deny"
6565
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
66+
allow-git = [
67+
"https://github.com/hyperium/h2",
68+
]
6669

6770
[sources.allow-org]
6871
github = [

0 commit comments

Comments
 (0)