Skip to content

Commit

Permalink
remove eh0 feature from default features
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 9, 2024
1 parent 6b69d2f commit a3ee956
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

### Changed

* **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 @@ -27,7 +27,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 a3ee956

Please sign in to comment.