Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

incr: making embedded-hal optional #822

Closed
wants to merge 1 commit into from
Closed

incr: making embedded-hal optional #822

wants to merge 1 commit into from

Conversation

explocion
Copy link

A simple way to fix #821

@Dirbaio
Copy link
Contributor

Dirbaio commented Oct 25, 2023

you can mix crates using 1.0.0-rc1 and 1.0.0-alpha.11 perfectly fine, they don't conflict at all. Rust considers them separate traits, so you can't use them together, but it still compiles.

Making e-h optional doesn't help, because it also means you still can't use these crates together.

@explocion
Copy link
Author

error: failed to select a version for embedded-hal.
... required by package stm32f4xx-hal v0.17.1
... which satisfies dependency stm32f4xx-hal = "^0.17.1"
versions that meet the requirements =1.0.0-alpha.11 are: 1.0.0-alpha.11

all possible versions conflict with previously selected packages.

previously selected package embedded-hal v1.0.0-rc.1
... which satisfies dependency embedded-hal = "^1.0.0-rc.1" of package rtic-monotonics v1.2.0
... which satisfies dependency rtic-monotonics = "^1.2.0"

failed to select a version for embedded-hal which could resolve this conflict

I guess the cargo cannot resolve this by default.

@explocion explocion closed this by deleting the head repository Oct 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

rtic-monotonics depends on embedded-hal-1.0.0-rc1
2 participants