Skip to content

Commit 0ff60aa

Browse files
committed
chore(deps): define bytes as a workspace dependency (#3473)
this commit modifies the workspace manifest, defining bytes as a workspace dependency. no changes to the lockfile are made because this commit does not affect the dependency graph of the project. * linkerd/linkerd2#8733 Signed-off-by: katelyn martin <[email protected]>
1 parent 5687faa commit 0ff60aa

File tree

22 files changed

+22
-21
lines changed

22 files changed

+22
-21
lines changed

Cargo.toml

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

9999
[workspace.dependencies]
100+
bytes = { version = "1" }
100101
http = { version = "0.2" }
101102
http-body = { version = "0.4" }
102103
hyper = { version = "0.14", default-features = false }

linkerd/app/admin/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ pprof = ["deflate", "dep:pprof"]
1515
log-streaming = ["linkerd-tracing/stream"]
1616

1717
[dependencies]
18-
bytes = "1"
18+
bytes = { workspace = true }
1919
deflate = { version = "1", optional = true, features = ["gzip"] }
2020
http = { workspace = true }
2121
http-body = { workspace = true }

linkerd/app/core/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ independently of the inbound and outbound proxy logic.
1313
"""
1414

1515
[dependencies]
16-
bytes = "1"
16+
bytes = { workspace = true }
1717
drain = { version = "0.1", features = ["retain"] }
1818
http = { workspace = true }
1919
http-body = { workspace = true }

linkerd/app/inbound/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ test-util = [
1818
]
1919

2020
[dependencies]
21-
bytes = "1"
21+
bytes = { workspace = true }
2222
http = { workspace = true }
2323
futures = { version = "0.3", default-features = false }
2424
linkerd-app-core = { path = "../core" }

linkerd/app/integration/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ default = []
1717
flakey = []
1818

1919
[dependencies]
20-
bytes = "1"
20+
bytes = { workspace = true }
2121
futures = { version = "0.3", default-features = false, features = ["executor"] }
2222
h2 = "0.3"
2323
http = { workspace = true }

linkerd/app/outbound/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ prometheus-client-rust-242 = [] # TODO
1919

2020
[dependencies]
2121
ahash = "0.8"
22-
bytes = "1"
22+
bytes = { workspace = true }
2323
http = { workspace = true }
2424
futures = { version = "0.3", default-features = false }
2525
linkerd2-proxy-api = { workspace = true, features = ["outbound"] }

linkerd/detect/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ publish = false
88

99
[dependencies]
1010
async-trait = "0.1"
11-
bytes = "1"
11+
bytes = { workspace = true }
1212
linkerd-error = { path = "../error" }
1313
linkerd-io = { path = "../io" }
1414
linkerd-stack = { path = "../stack" }

linkerd/duplex/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ edition = "2021"
77
publish = false
88

99
[dependencies]
10-
bytes = "1"
10+
bytes = { workspace = true }
1111
futures = { version = "0.3", default-features = false }
1212
tokio = { version = "1", features = ["io-util"] }
1313
pin-project = "1"

linkerd/http/box/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ edition = "2021"
77
publish = false
88

99
[dependencies]
10-
bytes = "1"
10+
bytes = { workspace = true }
1111
futures = { version = "0.3", default-features = false }
1212
http = { workspace = true }
1313
http-body = { workspace = true }

linkerd/http/metrics/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ publish = false
1010
test-util = []
1111

1212
[dependencies]
13-
bytes = "1"
13+
bytes = { workspace = true }
1414
futures = { version = "0.3", default-features = false }
1515
http = { workspace = true }
1616
http-body = { workspace = true }

linkerd/http/prom/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Tower middleware for Prometheus metrics.
1313
test-util = []
1414

1515
[dependencies]
16-
bytes = "1"
16+
bytes = { workspace = true }
1717
futures = { version = "0.3", default-features = false }
1818
http = { workspace = true }
1919
http-body = { workspace = true }

linkerd/http/retry/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ edition = "2021"
77
publish = false
88

99
[dependencies]
10-
bytes = "1"
10+
bytes = { workspace = true }
1111
futures = { version = "0.3", default-features = false }
1212
http-body = { workspace = true }
1313
http = { workspace = true }

linkerd/http/upgrade/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Facilities for HTTP/1 upgrades.
1010
"""
1111

1212
[dependencies]
13-
bytes = "1"
13+
bytes = { workspace = true }
1414
drain = "0.1"
1515
futures = { version = "0.3", default-features = false }
1616
http = { workspace = true }

linkerd/io/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ default = []
1515
[dependencies]
1616
async-trait = "0.1"
1717
futures = { version = "0.3", default-features = false }
18-
bytes = "1"
18+
bytes = { workspace = true }
1919
linkerd-errno = { path = "../errno" }
2020
tokio = { version = "1", features = ["io-util", "net"] }
2121
tokio-test = { version = "0.4", optional = true }

linkerd/proxy/http/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ This should probably be decomposed into smaller, decoupled crates.
1313

1414
[dependencies]
1515
async-trait = "0.1"
16-
bytes = "1"
16+
bytes = { workspace = true }
1717
drain = "0.1"
1818
futures = { version = "0.3", default-features = false }
1919
h2 = "0.3"

linkerd/proxy/tap/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ edition = "2021"
77
publish = false
88

99
[dependencies]
10-
bytes = "1"
10+
bytes = { workspace = true }
1111
http = { workspace = true }
1212
http-body = { workspace = true }
1313
hyper = { workspace = true, features = ["backports", "deprecated", "http1", "http2"] }

linkerd/service-profiles/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Implements client layers for Linkerd ServiceProfiles.
1010
"""
1111

1212
[dependencies]
13-
bytes = "1"
13+
bytes = { workspace = true }
1414
futures = { version = "0.3", default-features = false }
1515
http = { workspace = true }
1616
http-body = { workspace = true }

linkerd/tls/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ publish = false
88

99
[dependencies]
1010
async-trait = "0.1"
11-
bytes = "1"
11+
bytes = { workspace = true }
1212
futures = { version = "0.3", default-features = false }
1313
linkerd-conditional = { path = "../conditional" }
1414
linkerd-dns-name = { path = "../dns/name" }

linkerd/trace-context/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ publish = false
88

99
[dependencies]
1010
base64 = "0.13"
11-
bytes = "1"
11+
bytes = { workspace = true }
1212
futures = { version = "0.3", default-features = false }
1313
hex = "0.4"
1414
http = { workspace = true }

linkerd/transport-header/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ publish = false
88

99
[dependencies]
1010
async-trait = "0.1"
11-
bytes = "1"
11+
bytes = { workspace = true }
1212
futures = { version = "0.3", default-features = false }
1313
linkerd-dns-name = { path = "../dns/name" }
1414
linkerd-error = { path = "../error" }

opencensus-proto/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Vendored from https://github.com/census-instrumentation/opencensus-proto/.
1212
"""
1313

1414
[dependencies]
15-
bytes = "1"
15+
bytes = { workspace = true }
1616
prost = { workspace = true }
1717
prost-types = { workspace = true }
1818

spiffe-proto/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ edition = "2021"
77
publish = false
88

99
[dependencies]
10-
bytes = "1"
10+
bytes = { workspace = true }
1111
prost = { workspace = true }
1212
prost-types = { workspace = true }
1313

0 commit comments

Comments
 (0)