Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 25 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,31 @@ members = [ "pldm-fw-cli", "standalone" ]
exclude = [ "mctp-usb-embassy" ]
resolver = "2"

[workspace.package]
edition = "2021"
license = "MIT OR Apache-2.0"
repository = "https://github.com/CodeConstruct/mctp-rs"

[workspace.dependencies]
mctp = { version = "0.2", path = "mctp", default-features = false }
mctp-linux = { version = "0.2", path = "mctp-linux" }
anyhow = "1.0.80"
argh = "0.1.12"
chrono = { version = "0.4", default-features = false }
crc = "3.0"
defmt = "0.3"
embedded-io-adapters = { version = "0.6", features = ["std", "futures-03"] }
embedded-io-async = "0.6"
enumset = "1.1"
env_logger = "0.11.3"
heapless = "0.8"
log = "0.4"
mctp-estack = { version = "0.1", path = "mctp-estack" }
pldm = { version = "0.2", path = "pldm", default-features = false }
mctp-linux = { version = "0.2", path = "mctp-linux" }
mctp = { version = "0.2", path = "mctp", default-features = false }
num-derive = { version = "0.4", default-features = false }
num-traits = { version = "0.2", default-features = false }
pldm-fw = { version = "0.2", path = "pldm-fw", default-features = false }

embedded-io-async = "0.6"
embedded-io-adapters = "0.6"
defmt = "0.3"
pldm = { version = "0.2", path = "pldm", default-features = false }
proptest = "1.0.0"
simplelog = "0.12"
smol = "2.0"
uuid = { version = "1.16.0", default-features = false }
32 changes: 16 additions & 16 deletions mctp-estack/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,32 +2,32 @@
name = "mctp-estack"
description = "Embedded MCTP stack"
version = "0.1.0"
edition = "2021"
license = "MIT OR Apache-2.0"
repository = "https://github.com/CodeConstruct/mctp-rs"
edition.workspace = true
license.workspace = true
repository.workspace = true
categories = ["network-programming", "embedded", "hardware-support", "no-std"]
rust-version = "1.82"

[dependencies]
mctp.workspace = true
heapless = "0.8"
log = { version = "0.4", optional = true }
crc = "3"
embedded-io-async = { workspace = true }
crc = { workspace = true }
defmt = { workspace = true, optional = true }
embassy-sync = "0.7"
embedded-io-async = { workspace = true }
heapless = { workspace = true }
log = { workspace = true, optional = true }
mctp = { workspace = true }
smbus-pec = { version = "1.0", features = ["lookup-table"] }
uuid = { version = "1.16.0", default-features = false }
uuid = { workspace = true }

[dev-dependencies]
embedded-io-adapters = { workspace = true }
env_logger = { workspace = true }
proptest = { workspace = true }
simplelog = { workspace = true }
smol = { workspace = true }

[features]
default = ["log"]
std = ["mctp/std"]
log = ["dep:log"]
defmt = ["mctp/defmt", "dep:defmt" ]

[dev-dependencies]
proptest = "1.0.0"
embedded-io-adapters = { workspace = true, features = ["std", "futures-03"] }
simplelog = "0.12"
env_logger = "0.11"
smol = "2.0"
10 changes: 5 additions & 5 deletions mctp-linux/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
name = "mctp-linux"
description = "Management Component Transport Protocol (MCTP) Linux transport"
version = "0.2.0"
edition = "2021"
license = "MIT OR Apache-2.0"
repository = "https://github.com/CodeConstruct/mctp-rs"
edition.workspace = true
license.workspace = true
repository.workspace = true
categories = ["network-programming", "embedded", "hardware-support", "os::linux-apis"]

[dependencies]
libc = "0.2"
mctp = { workspace = true, features = ["std"] }
smol = { version = "2.0" }
mctp = { workspace = true }
smol = { workspace = true }

[[example]]
name = "mctp-req"
Expand Down
18 changes: 8 additions & 10 deletions mctp-usb-embassy/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,24 +1,22 @@
[package]
name = "mctp-usb-embassy"
version = "0.1.0"
description = "MCTP over USB transport for embassy-usb"
edition = "2021"
version = "0.1.0"
license = "MIT OR Apache-2.0"
categories = ["network-programming", "embedded", "no-std"]
repository = "https://github.com/CodeConstruct/mctp-rs"
categories = ["network-programming", "embedded", "no-std"]
rust-version = "1.82"
description = "MCTP over USB transport for embassy-usb"

[dependencies]
embassy-usb = { version = "0.5" }
embassy-usb-driver = { version = "0.2" }
defmt = { version = "0.3", optional = true }
embassy-futures = { version = "0.1" }

embassy-usb-driver = { version = "0.2" }
embassy-usb = { version = "0.5" }
heapless = "0.8"
log = { version = "0.4", optional = true }
defmt = { version = "0.3", optional = true }

mctp = { version = "0.2", path = "../mctp", default-features = false }
mctp-estack = { version = "0.1", path = "../mctp-estack", default-features = false }
heapless = "0.8"
mctp = { version = "0.2", path = "../mctp", default-features = false }

[features]
default = ["log"]
Expand Down
6 changes: 3 additions & 3 deletions mctp/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
name = "mctp"
description = "Management Component Transport Protocol (MCTP) base types and traits"
version = "0.2.0"
edition = "2021"
license = "MIT OR Apache-2.0"
repository = "https://github.com/CodeConstruct/mctp-rs"
edition.workspace = true
license.workspace = true
repository.workspace = true
categories = ["network-programming", "embedded", "hardware-support", "no-std"]

[dependencies]
Expand Down
21 changes: 10 additions & 11 deletions pldm-fw-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,18 @@
name = "pldm-fw-cli"
description = "Platform Level Data Model (PLDM) for Firmware utilities"
version = "0.2.0"
edition = "2021"
license = "MIT OR Apache-2.0"
repository = "https://github.com/CodeConstruct/mctp-rs"
edition.workspace = true
license.workspace = true
repository.workspace = true
categories = ["network-programming", "embedded", "hardware-support", "command-line-utilities"]

[dependencies]
pldm-fw = { workspace = true, features = ["std"] }
anyhow = { workspace = true }
argh = { workspace = true}
chrono = { workspace = true, features = ["clock"] }
enumset = { workspace = true }
env_logger = { workspace = true }
log = { workspace = true }
mctp-linux = { workspace = true }
mctp = { workspace = true }

argh = "0.1.12"
anyhow = "1.0.80"
env_logger = "0.11.3"
log = "0.4"
chrono = {version = "0.4", default-features = false, features = ["clock"] }
enumset = "1.1"
pldm-fw = { workspace = true, features = ["std"] }
24 changes: 12 additions & 12 deletions pldm-fw/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,24 @@
name = "pldm-fw"
description = "Platform Level Data Model (PLDM) for Firmware Update library"
version = "0.2.0"
edition = "2021"
license = "MIT OR Apache-2.0"
repository = "https://github.com/CodeConstruct/mctp-rs"
edition.workspace = true
license.workspace = true
repository.workspace = true
categories = ["network-programming", "embedded", "hardware-support"]

[dependencies]
pldm = { workspace = true }
chrono = { workspace = true }
crc = { workspace = true }
enumset = { workspace = true }
heapless = { workspace = true }
log = { workspace = true }
mctp = { workspace = true }
nom = { version = "7.1", default-features = false }
chrono = {version = "0.4", default-features = false }
enumset = "1.1"
uuid = { version = "1.3", features = ["v1"], default-features = false }
num-derive = { workspace = true }
num-traits = { workspace = true }
pldm = { workspace = true }
thiserror = { version = "1.0", optional = true }
log = "0.4"
crc = "3.0"
heapless = "0.8"
num-derive = { version = "0.4", default-features = false }
num-traits = { version = "0.2", default-features = false }
uuid = { workspace = true, features = ["v1"] }

[features]
default = ["std"]
Expand Down
10 changes: 5 additions & 5 deletions pldm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
name = "pldm"
description = "Platform Level Data Model (PLDM) base types and functions"
version = "0.2.0"
edition = "2021"
license = "MIT OR Apache-2.0"
repository = "https://github.com/CodeConstruct/mctp-rs"
edition.workspace = true
license.workspace = true
repository.workspace = true
categories = ["network-programming", "embedded", "hardware-support"]

[dependencies]
mctp = { workspace = true }
num-traits = { version = "0.2", default-features = false }
num-derive = { version = "0.4", default-features = false }
num-derive = { workspace = true }
num-traits = { workspace = true }

[features]
default = ["std"]
Expand Down
26 changes: 12 additions & 14 deletions standalone/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,25 @@
name = "mctp-standalone"
description = "Standalone MCTP over serial"
version = "0.1.0"
edition = "2021"
license = "MIT OR Apache-2.0"
repository = "https://github.com/CodeConstruct/mctp-rs"
edition.workspace = true
license.workspace = true
repository.workspace = true
categories = ["network-programming"]

[dependencies]
mctp = { workspace = true, features = ["std"] }
mctp-estack = { workspace = true }

log = "0.4"
embedded-io-async = { workspace = true }
smol = "2.0"
log = { workspace = true }
mctp-estack = { workspace = true }
mctp = { workspace = true }
smol = { workspace = true }

[dev-dependencies]
anyhow = "1.0"
argh = "0.1"
simplelog = "0.12"
embedded-io-adapters = { workspace = true, features = ["std", "futures-03"] }
anyhow = { workspace = true }
argh = { workspace = true}
embedded-io-adapters = { workspace = true }
getrandom = "0.2"

proptest = "1.0.0"
proptest = { workspace = true }
simplelog = { workspace = true }

[features]
std = ["mctp/std", "embedded-io-adapters/std"]