Skip to content

Commit

Permalink
Push to globus registry
Browse files Browse the repository at this point in the history
  • Loading branch information
dgehriger committed Dec 10, 2024
1 parent 933ed52 commit 06821a8
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 12 deletions.
3 changes: 3 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[registries]
crates-io = { index = "https://github.com/rust-lang/crates.io-index" }
globus = { index = "sparse+https://globus.jfrog.io/artifactory/api/cargo/globus-cargo-local/index/" }
2 changes: 1 addition & 1 deletion embassy-embedded-hal/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ default = ["time"]
[dependencies]
embassy-futures = { version = "0.1.0", path = "../embassy-futures" }
embassy-sync = { version = "0.5.0", path = "../embassy-sync" }
embassy-time = { version = "0.3.0", path = "../embassy-time", optional = true }
embassy-time = { version = "0.3.0", registry = "globus", path = "../embassy-time", optional = true }
embedded-hal-02 = { package = "embedded-hal", version = "0.2.6", features = [
"unproven",
] }
Expand Down
4 changes: 2 additions & 2 deletions embassy-executor/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ defmt = { version = "0.3", optional = true }
log = { version = "0.4.14", optional = true }
rtos-trace = { version = "0.1.2", optional = true }

embassy-executor-macros = { version = "0.4.0", path = "../embassy-executor-macros" }
embassy-time-driver = { version = "0.1.0", path = "../embassy-time-driver", optional = true }
embassy-executor-macros = { version = "0.4.0", registry = "globus", path = "../embassy-executor-macros" }
embassy-time-driver = { version = "0.1.0", registry = "globus", path = "../embassy-time-driver", optional = true }
embassy-time-queue-driver = { version = "0.1.0", path = "../embassy-time-queue-driver", optional = true }
critical-section = "1.1"

Expand Down
16 changes: 8 additions & 8 deletions embassy-stm32/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "embassy-stm32"
version = "0.1.0"
version = "0.1.0-gm"
edition = "2021"
license = "MIT OR Apache-2.0"
description = "Embassy Hardware Abstraction Layer (HAL) for ST STM32 series microcontrollers"
Expand Down Expand Up @@ -43,11 +43,11 @@ rustdoc-args = ["--cfg", "docsrs"]

[dependencies]
embassy-sync = { version = "0.5.0", path = "../embassy-sync" }
embassy-time = { version = "0.3.0", path = "../embassy-time", optional = true }
embassy-time-driver = { version = "0.1", path = "../embassy-time-driver", optional = true }
embassy-time = { version = "0.3.0", registry = "globus", path = "../embassy-time", optional = true }
embassy-time-driver = { version = "0.1", registry = "globus", path = "../embassy-time-driver", optional = true }
embassy-futures = { version = "0.1.0", path = "../embassy-futures" }
embassy-hal-internal = {version = "0.1.0", path = "../embassy-hal-internal", features = ["cortex-m", "prio-bits-4"] }
embassy-embedded-hal = {version = "0.1.0", path = "../embassy-embedded-hal" }
embassy-embedded-hal = {version = "0.1.0", registry = "globus", path = "../embassy-embedded-hal" }
embassy-net-driver = { version = "0.2.0", path = "../embassy-net-driver" }
embassy-usb-driver = {version = "0.1.0", path = "../embassy-usb-driver" }
embassy-usb-synopsys-otg = {version = "0.1.0", path = "../embassy-usb-synopsys-otg" }
Expand All @@ -71,8 +71,8 @@ futures-util = { version = "0.3.30", default-features = false }
rand_core = "0.6.3"
sdio-host = "0.5.0"
critical-section = "1.1"
#stm32-metapac = { version = "15" }
stm32-metapac = { git = "https://github.com/embassy-rs/stm32-data-generated", tag = "stm32-data-34c0188a682b32c32ff147d377e0629b1ebe8318" }
stm32-metapac = { version = "15", registry = "globus" }
#stm32-metapac = { git = "https://github.com/embassy-rs/stm32-data-generated", tag = "stm32-data-34c0188a682b32c32ff147d377e0629b1ebe8318" }

vcell = "0.1.3"
nb = "1.0.0"
Expand All @@ -96,8 +96,8 @@ critical-section = { version = "1.1", features = ["std"] }
proc-macro2 = "1.0.36"
quote = "1.0.15"

#stm32-metapac = { version = "15", default-features = false, features = ["metadata"]}
stm32-metapac = { git = "https://github.com/embassy-rs/stm32-data-generated", tag = "stm32-data-34c0188a682b32c32ff147d377e0629b1ebe8318", default-features = false, features = ["metadata"]}
stm32-metapac = { version = "15", default-features = false, features = ["metadata"], registry = "globus"}
#stm32-metapac = { git = "https://github.com/embassy-rs/stm32-data-generated", tag = "stm32-data-34c0188a682b32c32ff147d377e0629b1ebe8318", default-features = false, features = ["metadata"]}

[features]
default = ["rt"]
Expand Down
2 changes: 1 addition & 1 deletion embassy-time/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ tick-hz-5_242_880_000 = ["embassy-time-driver/tick-hz-5_242_880_000"]
#! </details>

[dependencies]
embassy-time-driver = { version = "0.1.0", path = "../embassy-time-driver" }
embassy-time-driver = { version = "0.1.0", registry = "globus", path = "../embassy-time-driver" }
embassy-time-queue-driver = { version = "0.1.0", path = "../embassy-time-queue-driver" }

defmt = { version = "0.3", optional = true }
Expand Down

0 comments on commit 06821a8

Please sign in to comment.