Skip to content

Commit

Permalink
Remove eh0 feature from default features (#122)
Browse files Browse the repository at this point in the history
`embedded-hal` v1.0 came out in January 2024, going forward new code
should use this. Accordingly, `eh0` support should no longer be part of
the default features to reduce the amount of dependencies being pulled
in.

Existing code will likely still use it, thus consumers will have to
explicitly enable the feature when upgrading.
  • Loading branch information
rursprung committed Sep 13, 2024
1 parent 19e008e commit fb83b9e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
### Changed

- Drop fixed MSRV policy (#124)
- **Breaking**: the `eh0` feature is no longer part of the default features.
it still exists as an optional feature and has to be explicitly added when needed.


## 0.11.1 - 2024-06-02
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ eh1 = ["dep:eh1", "dep:embedded-hal-nb"]
embedded-time = ["dep:embedded-time", "dep:void"]
embedded-hal-async = ["dep:embedded-hal-async"]

default = ["eh0", "eh1", "embedded-time"]
default = ["eh1", "embedded-time"]

[dependencies]
eh0 = { package = "embedded-hal", version = "0.2.7", features = ["unproven"], optional = true }
Expand Down

0 comments on commit fb83b9e

Please sign in to comment.