Disallow multiple esp-hal-common versions (#934)
This commit is contained in:
parent
957b232413
commit
7084a380a6
@ -19,6 +19,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
- C2, C3: atomic emulation trap is now opt-in (#904)
|
- C2, C3: atomic emulation trap is now opt-in (#904)
|
||||||
- Improve DMA documentation & clean up module (#915)
|
- Improve DMA documentation & clean up module (#915)
|
||||||
|
- Only allow a single version of `esp-hal-common` to be present in an application (#934)
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
|
|||||||
@ -11,6 +11,13 @@ description = "HAL implementations for peripherals common among Espressif devic
|
|||||||
repository = "https://github.com/esp-rs/esp-hal"
|
repository = "https://github.com/esp-rs/esp-hal"
|
||||||
license = "MIT OR Apache-2.0"
|
license = "MIT OR Apache-2.0"
|
||||||
|
|
||||||
|
# Prevent multiple copies of this crate in the same binary.
|
||||||
|
# Needed because different copies might get different features, causing
|
||||||
|
# confusing build errors due to expected features not getting enabled
|
||||||
|
# on the unintentional copy.
|
||||||
|
# This is especially common when mixing crates from crates.io and git.
|
||||||
|
links = "esp-hal-common"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
bitflags = "2.4.1"
|
bitflags = "2.4.1"
|
||||||
bitfield = "0.14.0"
|
bitfield = "0.14.0"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user