Skip to content

Commit a3ee956

Browse files
committed
remove eh0 feature from default features
`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.
1 parent 6b69d2f commit a3ee956

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
1414

1515
### Changed
1616

17+
* **Breaking**: the `eh0` feature is no longer part of the default features.
18+
it still exists as an optional feature and has to be explicitly added when needed.
19+
1720

1821
## 0.11.1 - 2024-06-02
1922

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ eh1 = ["dep:eh1", "dep:embedded-hal-nb"]
2727
embedded-time = ["dep:embedded-time", "dep:void"]
2828
embedded-hal-async = ["dep:embedded-hal-async"]
2929

30-
default = ["eh0", "eh1", "embedded-time"]
30+
default = ["eh1", "embedded-time"]
3131

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

0 commit comments

Comments
 (0)