Skip to content

Commit 41156ae

Browse files
nnethercotemkj
authored andcommitted
Share edition/license/repository as much as possible.
Also, reorder the fields for mctb-usb-embassy to match the other crates.
1 parent 99fd154 commit 41156ae

File tree

9 files changed

+29
-24
lines changed

9 files changed

+29
-24
lines changed

Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ members = [ "pldm-fw-cli", "standalone" ]
33
exclude = [ "mctp-usb-embassy" ]
44
resolver = "2"
55

6+
[workspace.package]
7+
edition = "2021"
8+
license = "MIT OR Apache-2.0"
9+
repository = "https://github.com/CodeConstruct/mctp-rs"
10+
611
[workspace.dependencies]
712
mctp = { version = "0.2", path = "mctp", default-features = false }
813
mctp-linux = { version = "0.2", path = "mctp-linux" }

mctp-estack/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
name = "mctp-estack"
33
description = "Embedded MCTP stack"
44
version = "0.1.0"
5-
edition = "2021"
6-
license = "MIT OR Apache-2.0"
7-
repository = "https://github.com/CodeConstruct/mctp-rs"
5+
edition.workspace = true
6+
license.workspace = true
7+
repository.workspace = true
88
categories = ["network-programming", "embedded", "hardware-support", "no-std"]
99
rust-version = "1.82"
1010

mctp-linux/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
name = "mctp-linux"
33
description = "Management Component Transport Protocol (MCTP) Linux transport"
44
version = "0.2.0"
5-
edition = "2021"
6-
license = "MIT OR Apache-2.0"
7-
repository = "https://github.com/CodeConstruct/mctp-rs"
5+
edition.workspace = true
6+
license.workspace = true
7+
repository.workspace = true
88
categories = ["network-programming", "embedded", "hardware-support", "os::linux-apis"]
99

1010
[dependencies]

mctp-usb-embassy/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[package]
22
name = "mctp-usb-embassy"
3-
version = "0.1.0"
3+
description = "MCTP over USB transport for embassy-usb"
44
edition = "2021"
5+
version = "0.1.0"
56
license = "MIT OR Apache-2.0"
6-
categories = ["network-programming", "embedded", "no-std"]
77
repository = "https://github.com/CodeConstruct/mctp-rs"
8+
categories = ["network-programming", "embedded", "no-std"]
89
rust-version = "1.82"
9-
description = "MCTP over USB transport for embassy-usb"
1010

1111
[dependencies]
1212
embassy-usb = { version = "0.5" }

mctp/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
name = "mctp"
33
description = "Management Component Transport Protocol (MCTP) base types and traits"
44
version = "0.2.0"
5-
edition = "2021"
6-
license = "MIT OR Apache-2.0"
7-
repository = "https://github.com/CodeConstruct/mctp-rs"
5+
edition.workspace = true
6+
license.workspace = true
7+
repository.workspace = true
88
categories = ["network-programming", "embedded", "hardware-support", "no-std"]
99

1010
[dependencies]

pldm-fw-cli/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
name = "pldm-fw-cli"
33
description = "Platform Level Data Model (PLDM) for Firmware utilities"
44
version = "0.2.0"
5-
edition = "2021"
6-
license = "MIT OR Apache-2.0"
7-
repository = "https://github.com/CodeConstruct/mctp-rs"
5+
edition.workspace = true
6+
license.workspace = true
7+
repository.workspace = true
88
categories = ["network-programming", "embedded", "hardware-support", "command-line-utilities"]
99

1010
[dependencies]

pldm-fw/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
name = "pldm-fw"
33
description = "Platform Level Data Model (PLDM) for Firmware Update library"
44
version = "0.2.0"
5-
edition = "2021"
6-
license = "MIT OR Apache-2.0"
7-
repository = "https://github.com/CodeConstruct/mctp-rs"
5+
edition.workspace = true
6+
license.workspace = true
7+
repository.workspace = true
88
categories = ["network-programming", "embedded", "hardware-support"]
99

1010
[dependencies]

pldm/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
name = "pldm"
33
description = "Platform Level Data Model (PLDM) base types and functions"
44
version = "0.2.0"
5-
edition = "2021"
6-
license = "MIT OR Apache-2.0"
7-
repository = "https://github.com/CodeConstruct/mctp-rs"
5+
edition.workspace = true
6+
license.workspace = true
7+
repository.workspace = true
88
categories = ["network-programming", "embedded", "hardware-support"]
99

1010
[dependencies]

standalone/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
name = "mctp-standalone"
33
description = "Standalone MCTP over serial"
44
version = "0.1.0"
5-
edition = "2021"
6-
license = "MIT OR Apache-2.0"
7-
repository = "https://github.com/CodeConstruct/mctp-rs"
5+
edition.workspace = true
6+
license.workspace = true
7+
repository.workspace = true
88
categories = ["network-programming"]
99

1010
[dependencies]

0 commit comments

Comments
 (0)