Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9fb4fb4

Browse files
committed
deps: Update tokio, tonic, and prost
* tokio 1.34 * tonic 0.10 * prost 0.12 * linkerd2-proxy-api 0.12 (linkerd/linkerd2-proxy-api#269)
1 parent 1b2039d commit 9fb4fb4

File tree

25 files changed

+146
-185
lines changed

25 files changed

+146
-185
lines changed

Cargo.lock

Lines changed: 59 additions & 131 deletions
Large diffs are not rendered by default.

Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,3 +75,6 @@ members = [
7575
[profile.release]
7676
debug = 1
7777
lto = true
78+
79+
[patch.crates-io]
80+
linkerd2-proxy-api = { git = "https://github.com/linkerd/linkerd2-proxy-api", branch = "ver/deps" }

deny.toml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -79,17 +79,13 @@ skip = [
7979
# https://github.com/hawkw/matchers/pull/4
8080
{ name = "regex-automata", version = "0.1" },
8181
{ name = "regex-syntax", version = "0.6" },
82-
# linkerd2-proxy-api needs to upgrade tonic to upgrade prost...
83-
{ name = "prost", version = "0.11" },
84-
{ name = "prost-build", version = "0.11" },
85-
{ name = "prost-derive", version = "0.11" },
86-
{ name = "prost-types", version = "0.11" },
87-
{ name = "prettyplease", version = "0.1" },
8882
]
8983
skip-tree = [
9084
# right now we have a mix of versions of this crate in the ecosystem
9185
# procfs uses 0.36.14, tempfile uses 0.37.4
9286
{ name = "rustix" },
87+
# Hyper v0.14 depends on an older socket2 version.
88+
{ name = "socket2" },
9389
]
9490

9591
[sources]

linkerd/app/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@ regex = "1"
3030
thiserror = "1"
3131
tokio = { version = "1", features = ["rt"] }
3232
tokio-stream = { version = "0.1", features = ["time", "sync"] }
33-
tonic = { version = "0.8", default-features = false, features = ["prost"] }
33+
tonic = { version = "0.10", default-features = false, features = ["prost"] }
3434
tower = "0.4"
3535
tracing = "0.1"

linkerd/app/core/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ serde_json = "1"
6363
thiserror = "1"
6464
tokio = { version = "1", features = ["macros", "sync", "parking_lot"] }
6565
tokio-stream = { version = "0.1", features = ["time"] }
66-
tonic = { version = "0.8", default-features = false, features = ["prost"] }
66+
tonic = { version = "0.10", default-features = false, features = ["prost"] }
6767
tracing = "0.1"
6868
parking_lot = "0.12"
6969
pin-project = "1"

linkerd/app/gateway/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ linkerd-proxy-client-policy = { path = "../../proxy/client-policy" }
1616
once_cell = "1"
1717
thiserror = "1"
1818
tokio = { version = "1", features = ["sync"] }
19-
tonic = { version = "0.8", default-features = false }
19+
tonic = { version = "0.10", default-features = false }
2020
tower = { version = "0.4", default-features = false }
2121
tracing = "0.1"
2222

linkerd/app/inbound/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@ linkerd-meshtls = { path = "../../meshtls", optional = true }
2929
linkerd-meshtls-rustls = { path = "../../meshtls/rustls", optional = true }
3030
linkerd-proxy-client-policy = { path = "../../proxy/client-policy" }
3131
linkerd-tonic-watch = { path = "../../tonic-watch" }
32-
linkerd2-proxy-api = { version = "0.11", features = ["inbound"] }
32+
linkerd2-proxy-api = { version = "0.12", features = ["inbound"] }
3333
once_cell = "1"
3434
parking_lot = "0.12"
3535
rangemap = "1"
3636
thiserror = "1"
3737
tokio = { version = "1", features = ["sync"] }
38-
tonic = { version = "0.8", default-features = false }
38+
tonic = { version = "0.10", default-features = false }
3939
tower = { version = "0.4", features = ["util"] }
4040
tracing = "0.1"
4141

linkerd/app/integration/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ ipnet = "2"
3333
linkerd-app = { path = "..", features = ["allow-loopback"] }
3434
linkerd-app-core = { path = "../core" }
3535
linkerd-metrics = { path = "../../metrics", features = ["test_util"] }
36-
linkerd2-proxy-api = { version = "0.11", features = [
36+
linkerd2-proxy-api = { version = "0.12", features = [
3737
"destination",
3838
"arbitrary",
3939
] }
@@ -48,7 +48,7 @@ tokio-stream = { version = "0.1", features = ["sync"] }
4848
tokio-rustls = "0.24"
4949
rustls-pemfile = "1.0"
5050
tower = { version = "0.4", default-features = false }
51-
tonic = { version = "0.8", features = ["transport"], default-features = false }
51+
tonic = { version = "0.10", features = ["transport"], default-features = false }
5252
tracing = "0.1"
5353
tracing-subscriber = { version = "0.3", default-features = false, features = [
5454
"fmt",

linkerd/app/outbound/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ ahash = "0.8"
2020
bytes = "1"
2121
http = "0.2"
2222
futures = { version = "0.3", default-features = false }
23-
linkerd2-proxy-api = { version = "0.11", features = ["outbound"] }
23+
linkerd2-proxy-api = { version = "0.12", features = ["outbound"] }
2424
linkerd-app-core = { path = "../core" }
2525
linkerd-app-test = { path = "../test", optional = true }
2626
linkerd-distribute = { path = "../../distribute" }
@@ -38,7 +38,7 @@ once_cell = "1"
3838
parking_lot = "0.12"
3939
thiserror = "1"
4040
tokio = { version = "1", features = ["sync"] }
41-
tonic = { version = "0.8", default-features = false }
41+
tonic = { version = "0.10", default-features = false }
4242
tower = { version = "0.4", features = ["util"] }
4343
tracing = "0.1"
4444
pin-project = "1"

linkerd/app/test/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ regex = "1"
2929
tokio = { version = "1", features = ["io-util", "net", "rt", "sync"] }
3030
tokio-test = "0.4"
3131
tokio-stream = { version = "0.1", features = ["sync"] }
32-
tonic = { version = "0.8", default-features = false, optional = true }
32+
tonic = { version = "0.10", default-features = false, optional = true }
3333
tower = { version = "0.4", default-features = false }
3434
tracing = "0.1"
3535
thiserror = "1"

0 commit comments

Comments
 (0)