Skip to content

Commit 807172a

Browse files
bors[bot]eldruin
andauthored
Merge #354
354: Remove Qei trait as it has an unconstrained associated type r=ryankurte a=eldruin For now. See #324 for the reasoning. Co-authored-by: Diego Barrios Romero <[email protected]>
2 parents 2f5d994 + 5482348 commit 807172a

File tree

3 files changed

+17
-83
lines changed

3 files changed

+17
-83
lines changed

CHANGELOG.md

+17
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,23 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
2525
- `i2c`: traits now enforce all impls on the same struct have the same `Error` type.
2626
- `i2c`: unify all traits into a single `I2c` trait.
2727

28+
### Removed
29+
- Traits with unconstrained associated types and their modules (See: [#324], [#354]):
30+
- `capture::Capture`
31+
- `pwm::Pwm`
32+
- `pwm::PwmPin`
33+
- `qei::Qei`
34+
- `timer::Cancel`
35+
- `timer::CountDown`
36+
- `timer::Periodic`
37+
- `watchdog::Disable`
38+
- `watchdog::Enable`
39+
- `watchdog::Watchdog`
40+
41+
42+
[#324]: https://github.com/rust-embedded/embedded-hal/pull/324/
43+
[#354]: https://github.com/rust-embedded/embedded-hal/pull/354
44+
2845
## [v1.0.0-alpha.6] - 2021-11-19
2946

3047
*** This is (also) an alpha release with breaking changes (sorry) ***

src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,6 @@ pub mod can;
360360
pub mod delay;
361361
pub mod digital;
362362
pub mod i2c;
363-
pub mod qei;
364363
pub mod serial;
365364
pub mod spi;
366365

src/qei.rs

-82
This file was deleted.

0 commit comments

Comments
 (0)