Skip to content

Commit 35fbb30

Browse files
authored
Use Apache-2.0 license for workspace (superfly#416)
* Use workspace package data * Use 2021 edition
1 parent e0bd098 commit 35fbb30

File tree

21 files changed

+86
-30
lines changed

21 files changed

+86
-30
lines changed

Cargo.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ members = [ ".antithesis/client/rust-load-generator",
55
]
66
resolver = "2"
77

8+
[workspace.package]
9+
license = "Apache-2.0"
10+
edition = "2021"
11+
repository = "https://github.com/superfly/corrosion"
12+
homepage = "https://superfly.github.io/corrosion/"
13+
814
[workspace.dependencies]
915
arc-swap = { version = "1.6.0" }
1016
antithesis_sdk = { version = "0.2.5", default-features = false }

crates/backoff/Cargo.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22
name = "backoff"
33
version = "0.1.0"
44
authors = ["Jerome Gravel-Niquet <jeromegn@gmail.com>"]
5-
edition = "2021"
6-
7-
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
5+
edition.workspace = true
6+
license.workspace = true
7+
homepage.workspace = true
8+
repository.workspace = true
89

910
[dependencies]
1011
rand = { workspace = true }

crates/consul-client/Cargo.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
[package]
22
name = "consul-client"
33
version = "0.1.0-alpha.0"
4-
edition = "2021"
54
description = "Consul client"
6-
license = "MIT"
5+
edition.workspace = true
6+
license.workspace = true
7+
homepage.workspace = true
8+
repository.workspace = true
79

810
[dependencies]
911
camino = { workspace = true }

crates/corro-admin/Cargo.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
[package]
22
name = "corro-admin"
33
version = "0.1.0"
4-
edition = "2021"
4+
edition.workspace = true
5+
license.workspace = true
6+
homepage.workspace = true
7+
repository.workspace = true
58

69
[dependencies]
710
camino = { workspace = true }

crates/corro-agent/Cargo.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
[package]
22
name = "corro-agent"
33
version = "0.1.0"
4-
edition = "2021"
4+
edition.workspace = true
5+
license.workspace = true
6+
homepage.workspace = true
7+
repository.workspace = true
58

69
[lints]
710
workspace = true

crates/corro-api-types/Cargo.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
[package]
22
name = "corro-api-types"
33
version = "0.1.0-alpha.1"
4-
edition = "2021"
54
description = "common API types for corrosion"
6-
license = "MIT"
5+
edition.workspace = true
6+
license.workspace = true
7+
homepage.workspace = true
8+
repository.workspace = true
79

810
[dependencies]
911
deadpool = { workspace = true }

crates/corro-base-types/Cargo.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
[package]
22
name = "corro-base-types"
33
version = "0.1.0-alpha.1"
4-
edition = "2021"
54
description = "common API types for corrosion"
6-
license = "MIT"
5+
edition.workspace = true
6+
license.workspace = true
7+
homepage.workspace = true
8+
repository.workspace = true
79

810
[dependencies]
911
deadpool = { workspace = true }

crates/corro-client/Cargo.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
[package]
22
name = "corro-client"
33
version = "0.1.0-alpha.1"
4-
edition = "2021"
54
description = "client to interact with corrosion"
6-
license = "MIT"
5+
edition.workspace = true
6+
license.workspace = true
7+
homepage.workspace = true
8+
repository.workspace = true
79

810
[lints]
911
workspace = true

crates/corro-devcluster/Cargo.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
[package]
22
name = "corro-devcluster"
33
version = "0.1.0"
4-
edition = "2021"
4+
edition.workspace = true
5+
license.workspace = true
6+
homepage.workspace = true
7+
repository.workspace = true
58

69
[dependencies]
710
serde = { workspace = true, features = [ "derive" ] }

crates/corro-pg/Cargo.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
[package]
22
name = "corro-pg"
33
version = "0.1.0"
4-
edition = "2021"
4+
edition.workspace = true
5+
license.workspace = true
6+
homepage.workspace = true
7+
repository.workspace = true
58

69
[lints]
710
workspace = true

0 commit comments

Comments
 (0)