Skip to content

Commit

Permalink
Replace atomic-polyfill with portable-atomic
Browse files Browse the repository at this point in the history
  • Loading branch information
bsodmike committed Feb 25, 2024
1 parent 7ee581b commit 581c710
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.4.0] - XXX
### Changed
- **BREAKING** Replaced `atomic-polyfill` with `portable-atomic` ^1.6 ([#58]).

[#58]: hhttps://github.com/Rahix/shared-bus/pull/58


## [0.3.1] - 2023-10-31
### Added
Expand Down
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "shared-bus"
version = "0.3.1"
version = "0.4.0"
authors = ["Rahix <[email protected]>"]
edition = "2018"

Expand All @@ -22,7 +22,7 @@ once_cell = { version = "1.4.0", optional = true }
cortex-m = { version = "0.7.7", optional = true }
xtensa-lx = { version = "0.8.0", optional = true, features = ["spin"] }
spin = { version = "0.9.8", optional = true }
atomic-polyfill = { version = "1.0.1", optional = true }
portable-atomic = { version = "^1.6", optional = true }

embedded-hal-alpha = { package = "embedded-hal", version = "=1.0.0-alpha.9", optional = true }

Expand All @@ -32,5 +32,5 @@ embedded-hal-mock = "0.9"
[features]
std = ["once_cell"]
xtensa = ["xtensa-lx", "spin"]
cortex-m = ["dep:cortex-m", "atomic-polyfill"]
cortex-m = ["dep:cortex-m", "portable-atomic"]
eh-alpha = ["embedded-hal-alpha"]

0 comments on commit 581c710

Please sign in to comment.