Skip to content

Commit

Permalink
Upse top level workspace in sub-crates
Browse files Browse the repository at this point in the history
Signed-off-by: Arthur Heymans <[email protected]>
  • Loading branch information
ArthurHeymans committed Feb 11, 2025
1 parent 39d7b7e commit 4a8ff80
Show file tree
Hide file tree
Showing 8 changed files with 130 additions and 111 deletions.
183 changes: 91 additions & 92 deletions Cargo.lock

Large diffs are not rendered by default.

11 changes: 2 additions & 9 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,18 +1,11 @@
[workspace]
members = [
".",
"picoprog",
"serprog"
]
resolver = "2"

[package]
name = "picoprog"
version = "0.1.0"
edition = "2021"
license = "Apache-2.0"
authors = ["Marvin Drees <[email protected]>"]

[dependencies]
[workspace.dependencies]
assign-resources = "0.4.1"
cortex-m = { version = "0.7.7", features = ["inline-asm", "critical-section"] }
cortex-m-rt = "0.7.5"
Expand Down
30 changes: 30 additions & 0 deletions picoprog/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
[package]
name = "picoprog"
version = "0.1.0"
edition = "2021"
license = "Apache-2.0"
authors = ["Marvin Drees <[email protected]>"]

[dependencies]
assign-resources = "0.4.1"
cortex-m = { workspace = true, features = ["inline-asm", "critical-section"] }
cortex-m-rt = { workspace = true }
embassy-executor = { workspace = true, features = ["arch-cortex-m", "executor-thread", "executor-interrupt", "nightly"] }
embassy-futures = "0.1.1"
embedded-hal = { workspace = true }
embedded-hal-async = { workspace = true }
serprog = { path = "../serprog" }
embassy-rp = { workspace = true, features = ["unstable-pac", "time-driver", "critical-section-impl", "rom-func-cache", "rom-v2-intrinsics", "rp2040"] }
embassy-sync = { workspace = true }
embassy-time = { workspace = true }
embassy-usb = { workspace = true, features = ["max-handler-count-6", "max-interface-count-6"] }
embassy-usb-logger = { workspace = true }
futures = { version = "0.3.30", default-features = false, features = ["async-await", "cfg-target-has-atomic", "unstable"] }
heapless = { workspace = true, features = ["portable-atomic-critical-section", "ufmt"] }
log = { workspace = true }
portable-atomic = { workspace = true, features = ["critical-section"] }
static_cell = { workspace = true }
ufmt = "0.2.0"
zerocopy = { workspace = true, features = ["derive"] }
tock-registers = { workspace = true }
num_enum = { workspace = true, default-features = false }
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
17 changes: 7 additions & 10 deletions serprog/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,10 @@ edition = "2021"
license = "Apache-2.0"

[dependencies]
embassy-usb = { version = "0.4.0", features = ["max-handler-count-6", "max-interface-count-6"] }
embedded-hal = "1.0.0"
embedded-hal-async = "1.0.0"
log = "0.4.22"
num_enum = { version = "0.7.3", default-features = false }
tock-registers = "0.9.0"
zerocopy = { version = "0.8", features = ["derive"] }

[patch.crates-io]
embassy-usb = { git = "https://github.com/embassy-rs/embassy", rev = "556cc57c1fdc9eba0703ccc2281d39462d2d2c38" }
embassy-usb.workspace = true
embedded-hal.workspace = true
embedded-hal-async.workspace = true
log.workspace = true
num_enum.workspace = true
tock-registers.workspace = true
zerocopy.workspace = true

0 comments on commit 4a8ff80

Please sign in to comment.