Closed karlp closed 3 years ago
Apparently: https://doc.rust-lang.org/cargo/reference/overriding-dependencies.html#testing-a-bugfix is what you need, ie
[dependencies]
...
stm32wb-hal = { version = "0.1.14", features = ["xG-package"] }
...
[patch.crates-io]
stm32wb-hal = { path = "../rust-eupn-stm32wb-hal-your-local-path" }
Not really a great issue, but haven't found a better place to ask, and you probably had to to it yourself.
What's the "right" way of working on this project locally? I have a downstream "app" that uses stm32wb55, so I've added to it's Cargo.toml
The
path
on the -hal project is meant to pull from my local clone, but it doesn't pass the features along, so "cargo update; cargo build" in my own app just gives me:If I enter my own clone directory, I can manually patch the feature in, so that
cargo build
in that directory works, but, that doesn't seem to get propagated anywhere... (and it doesn't seem like a very nice way of doing things anyway)cargo install
Seemed like it might be correct, but that's only for binaries, not libraries, it says.