Skip to content

Commit a7538d6

Browse files
committed
chore(cargo.toml): define http-body as a workspace dependency
this is a follow-up to #3456, addressing a suggestion that was made during review: - <#3456 (review)> - <linkerd/linkerd2#8733> this commit modifies the workspace manifest, defining http-body as a common workspace dependency. no changes to the lockfile are made because this commit does not affect the dependency graph of the project. Signed-off-by: katelyn martin <[email protected]>
1 parent 7e31e6b commit a7538d6

File tree

20 files changed

+20
-19
lines changed

20 files changed

+20
-19
lines changed

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ lto = true
9898

9999
[workspace.dependencies]
100100
http = { version = "0.2" }
101+
http-body = { version = "0.4" }
101102
hyper = { version = "0.14", default-features = false }
102103
linkerd2-proxy-api = "0.15.0"
103104
tokio-rustls = { version = "0.26", default-features = false, features = ["ring", "logging"] }

linkerd/app/admin/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ log-streaming = ["linkerd-tracing/stream"]
1717
[dependencies]
1818
deflate = { version = "1", optional = true, features = ["gzip"] }
1919
http = "0.2"
20-
http-body = "0.4"
20+
http-body = { workspace = true }
2121
hyper = { workspace = true, features = ["deprecated", "http1", "http2"] }
2222
futures = { version = "0.3", default-features = false }
2323
pprof = { version = "0.14", optional = true, features = ["prost-codec"] }

linkerd/app/core/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ independently of the inbound and outbound proxy logic.
1616
bytes = "1"
1717
drain = { version = "0.1", features = ["retain"] }
1818
http = "0.2"
19-
http-body = "0.4"
19+
http-body = { workspace = true }
2020
hyper = { workspace = true, features = ["deprecated", "http1", "http2"] }
2121
futures = { version = "0.3", default-features = false }
2222
ipnet = "2.10"

linkerd/app/integration/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ bytes = "1"
2121
futures = { version = "0.3", default-features = false, features = ["executor"] }
2222
h2 = "0.3"
2323
http = "0.2"
24-
http-body = "0.4"
24+
http-body = { workspace = true }
2525
hyper = { workspace = true, features = [
2626
"backports",
2727
"deprecated",

linkerd/app/outbound/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ linkerd-tonic-watch = { path = "../../tonic-watch" }
5353

5454
[dev-dependencies]
5555
futures-util = "0.3"
56-
http-body = "0.4"
56+
http-body = { workspace = true }
5757
hyper = { workspace = true, features = ["backports", "deprecated", "http1", "http2"] }
5858
tokio = { version = "1", features = ["macros", "sync", "time"] }
5959
tokio-rustls = { workspace = true }

linkerd/app/test/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ client-policy = ["linkerd-proxy-client-policy", "tonic", "linkerd-http-route"]
1616
futures = { version = "0.3", default-features = false }
1717
h2 = "0.3"
1818
http = { workspace = true }
19-
http-body = "0.4"
19+
http-body = { workspace = true }
2020
hyper = { workspace = true, features = ["deprecated", "http1", "http2"] }
2121
linkerd-app-core = { path = "../core" }
2222
linkerd-http-route = { path = "../../http/route", optional = true }

linkerd/http/box/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ publish = false
1010
bytes = "1"
1111
futures = { version = "0.3", default-features = false }
1212
http = "0.2"
13-
http-body = "0.4"
13+
http-body = { workspace = true }
1414
pin-project = "1"
1515

1616
linkerd-error = { path = "../../error" }

linkerd/http/classify/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ publish = false
99
[dependencies]
1010
futures = { version = "0.3", default-features = false }
1111
http = "0.2"
12-
http-body = "0.4"
12+
http-body = { workspace = true }
1313
pin-project = "1"
1414
tokio = { version = "1", default-features = false }
1515
tracing = "0.1"

linkerd/http/metrics/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ test-util = []
1313
bytes = "1"
1414
futures = { version = "0.3", default-features = false }
1515
http = { workspace = true }
16-
http-body = "0.4"
16+
http-body = { workspace = true }
1717
hyper = { workspace = true, features = ["deprecated", "http1", "http2"] }
1818
parking_lot = "0.12"
1919
pin-project = "1"

linkerd/http/prom/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ test-util = []
1616
bytes = "1"
1717
futures = { version = "0.3", default-features = false }
1818
http = "0.2"
19-
http-body = "0.4"
19+
http-body = { workspace = true }
2020
parking_lot = "0.12"
2121
pin-project = "1"
2222
prometheus-client = "0.22"

0 commit comments

Comments
 (0)