Skip to content

Commit

Permalink
Merge pull request #409 from rmsyn/deps/optional-stable-deref-trait
Browse files Browse the repository at this point in the history
deps: make `stable_deref_trait` an optional dependency
  • Loading branch information
newAM authored Nov 13, 2023
2 parents 9feb664 + 22745be commit ee14cda
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]

- configure `stable_deref_trait` as a platform-dependent dependency

## [v0.8.0] - 2023-11-07

### Added
Expand Down
5 changes: 4 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,13 @@ mpmc_large = []
portable-atomic = { version = "1.0", optional = true }
hash32 = "0.3.0"
serde = { version = "1", optional = true, default-features = false }
stable_deref_trait = { version = "1", default-features = false }
ufmt-write = { version = "0.1", optional = true }
defmt = { version = ">=0.2.0,<0.4", optional = true }

# for the pool module
[target.'cfg(any(target_arch = "arm", target_arch = "x86"))'.dependencies]
stable_deref_trait = { version = "1", default-features = false }

[dev-dependencies]
ufmt = "0.2"

Expand Down

0 comments on commit ee14cda

Please sign in to comment.