Skip to content

Commit 23784c0

Browse files
authored
chore: use workspace-level package metadata (#3761)
this commit adds a `[workspace.package]` table at the root of the cargo workspace. constituent manifests are updated to use the workspace-level metadata. this is generally a superficial chore, but has a pleasant future upside: when new rust editions are released (e.g. 2024), we will only need to update the edition specified at the root of the workspace. Signed-off-by: katelyn martin <kate@buoyant.io>
1 parent c5215ad commit 23784c0

File tree

95 files changed

+469
-443
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

95 files changed

+469
-443
lines changed

Cargo.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,13 @@ members = [
9898
debug = 1
9999
lto = true
100100

101+
[workspace.package]
102+
version = "0.1.0"
103+
authors = ["Linkerd Developers <cncf-linkerd-dev@lists.cncf.io>"]
104+
license = "Apache-2.0"
105+
edition = "2021"
106+
publish = false
107+
101108
[workspace.dependencies]
102109
bytes = { version = "1" }
103110
drain = { version = "0.1", default-features = false }

hyper-balance/Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
[package]
22
name = "hyper-balance"
3-
version = "0.1.0"
4-
authors = ["Linkerd Developers <cncf-linkerd-dev@lists.cncf.io>"]
5-
license = "Apache-2.0"
6-
edition = "2021"
7-
publish = false
3+
version = { workspace = true }
4+
authors = { workspace = true }
5+
license = { workspace = true }
6+
edition = { workspace = true }
7+
publish = { workspace = true }
88

99
[dependencies]
1010
futures = { version = "0.3", default-features = false }

linkerd/addr/Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
[package]
22
name = "linkerd-addr"
3-
version = "0.1.0"
4-
authors = ["Linkerd Developers <cncf-linkerd-dev@lists.cncf.io>"]
5-
license = "Apache-2.0"
6-
edition = "2021"
7-
publish = false
3+
version = { workspace = true }
4+
authors = { workspace = true }
5+
license = { workspace = true }
6+
edition = { workspace = true }
7+
publish = { workspace = true }
88

99
[dependencies]
1010
http = { workspace = true }

linkerd/addr/fuzz/Cargo.toml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
[package]
22
name = "linkerd-addr-fuzz"
3-
version = "0.0.0"
4-
authors = ["Linkerd Developers <cncf-linkerd-dev@lists.cncf.io>"]
5-
publish = false
6-
edition = "2021"
3+
version = { workspace = true }
4+
authors = { workspace = true }
5+
license = { workspace = true }
6+
edition = { workspace = true }
7+
publish = { workspace = true }
78

89
[package.metadata]
910
cargo-fuzz = true

linkerd/app/Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
[package]
22
name = "linkerd-app"
3-
version = "0.1.0"
4-
authors = ["Linkerd Developers <cncf-linkerd-dev@lists.cncf.io>"]
5-
license = "Apache-2.0"
6-
edition = "2021"
7-
publish = false
3+
version = { workspace = true }
4+
authors = { workspace = true }
5+
license = { workspace = true }
6+
edition = { workspace = true }
7+
publish = { workspace = true }
88
description = """
99
Configures and executes the proxy
1010

linkerd/app/admin/Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
[package]
22
name = "linkerd-app-admin"
3-
version = "0.1.0"
4-
authors = ["Linkerd Developers <cncf-linkerd-dev@lists.cncf.io>"]
5-
license = "Apache-2.0"
6-
edition = "2021"
7-
publish = false
3+
version = { workspace = true }
4+
authors = { workspace = true }
5+
license = { workspace = true }
6+
edition = { workspace = true }
7+
publish = { workspace = true }
88
description = """
99
The linkerd proxy's admin server.
1010
"""

linkerd/app/core/Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
[package]
22
name = "linkerd-app-core"
3-
version = "0.1.0"
4-
authors = ["Linkerd Developers <cncf-linkerd-dev@lists.cncf.io>"]
5-
license = "Apache-2.0"
6-
edition = "2021"
7-
publish = false
3+
version = { workspace = true }
4+
authors = { workspace = true }
5+
license = { workspace = true }
6+
edition = { workspace = true }
7+
publish = { workspace = true }
88
description = """
99
Core infrastructure for the proxy application
1010

linkerd/app/gateway/Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
[package]
22
name = "linkerd-app-gateway"
3-
version = "0.1.0"
4-
authors = ["Linkerd Developers <cncf-linkerd-dev@lists.cncf.io>"]
5-
license = "Apache-2.0"
6-
edition = "2021"
7-
publish = false
3+
version = { workspace = true }
4+
authors = { workspace = true }
5+
license = { workspace = true }
6+
edition = { workspace = true }
7+
publish = { workspace = true }
88

99
[dependencies]
1010
http = { workspace = true }

linkerd/app/inbound/Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
[package]
22
name = "linkerd-app-inbound"
3-
version = "0.1.0"
4-
authors = ["Linkerd Developers <cncf-linkerd-dev@lists.cncf.io>"]
5-
license = "Apache-2.0"
6-
edition = "2021"
7-
publish = false
3+
version = { workspace = true }
4+
authors = { workspace = true }
5+
license = { workspace = true }
6+
edition = { workspace = true }
7+
publish = { workspace = true }
88
description = """
99
Configures and runs the inbound proxy
1010
"""

linkerd/app/inbound/fuzz/Cargo.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
[package]
22
name = "linkerd-app-inbound-fuzz"
3-
version = "0.0.0"
3+
version = { workspace = true }
44
authors = ["Automatically generated"]
5-
publish = false
6-
edition = "2021"
5+
license = { workspace = true }
6+
edition = { workspace = true }
7+
publish = { workspace = true }
78

89
[package.metadata]
910
cargo-fuzz = true

0 commit comments

Comments
 (0)