You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I know between all of the components the ecosystem moves very quickly and sometimes a combination of git and crates needs to be used
$ cargo run
Updating git repository `https://github.com/embassy-rs/trouble`
Updating crates.io index
error: failed to select a version for `embassy-time-driver`.
... required by package `embassy-time v0.4.0`
... which satisfies dependency `embassy-time = "^0.4"` of package `trouble-host v0.1.0 (https://github.com/embassy-rs/trouble?rev=b6694cf00b602efe9c1c6e639e97218ebf623479#b6694cf0)`
... which satisfies git dependency `trouble-host` of package `rp2350-ble v0.1.0 (/Users/brandon/Desktop/rp2350-ble)`
versions that meet the requirements `^0.2` are: 0.2.0
the package `embassy-time-driver` links to the native library `embassy-time`, but it conflicts with a previous package which links to `embassy-time` as well:
package `embassy-time-driver v0.2.0 (https://github.com/embassy-rs/embassy?rev=2e7a2b6#2e7a2b61)`
... which satisfies git dependency `embassy-time-driver` (locked to 0.2.0) of package `embassy-rp v0.3.0 (https://github.com/embassy-rs/embassy?rev=2e7a2b6#2e7a2b61)`
... which satisfies git dependency `embassy-rp` (locked to 0.3.0) of package `rp2350-ble v0.1.0 (/Users/brandon/Desktop/rp2350-ble)`
Only one package in the dependency graph may specify the same links value. This helps ensure that only one copy of a native library is linked in the final binary. Try to adjust your dependencies so that only one package uses the `links = "embassy-time"` value. For more information, see https://doc.rust-lang.org/cargo/reference/resolver.html#links.
failed to select a version for `embassy-time-driver` which could resolve this conflict
Could somebody lend a suggestion? I spent a good bit of time trying to get it to work. If I don't use git versions of packages, I get no logs/it just hangs.
The text was updated successfully, but these errors were encountered:
brandonros
changed the title
Not sure how to use trouble-host due to embassy-time
Not sure how to use trouble-host due to embassy-time / embassy-time-driver / embassy-rp
Feb 22, 2025
I know between all of the components the ecosystem moves very quickly and sometimes a combination of
git
andcrates
needs to be usedCould somebody lend a suggestion? I spent a good bit of time trying to get it to work. If I don't use
git
versions of packages, I get no logs/it just hangs.The text was updated successfully, but these errors were encountered: