Skip to content

Commit

Permalink
Merge #327
Browse files Browse the repository at this point in the history
327: Release 1.0.0-alpha.6 r=therealprof a=eldruin



Co-authored-by: Diego Barrios Romero <[email protected]>
  • Loading branch information
bors[bot] and eldruin authored Nov 19, 2021
2 parents f3c502a + 08bff73 commit 58777c2
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
15 changes: 8 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,21 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]

### Changed

## [v1.0.0-alpha.6] - 2021-11-19

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

### Changed
- Use `u8` as default SPI as Serial Word type
- The Minimum Supported Rust Version (MSRV) is now 1.46.0

### Added
- Added `Can` Controller Area Network traits.
- `Error` traits for SPI, I2C and Serial traits. The error types used in those must
implement these `Error` traits, which implies providing a conversion to a common
set of error kinds. Generic drivers using these interfaces can then convert the errors
to this common set to act upon them.
- The `NoAcknowledgeAddress` and `NoAcknowledgeData` variants of the I2C `Error`
trait have been merged into `NoAcknowledge` with a `NoAcknowledgeSource` field
to differentiate between the two events. An additional `Unknown` variant is
provided in `NoAcknowledgeSource` for devices that can't differentiate between
the two events.

### Removed
- Removed `DelayMs` in favor of `DelayUs` with `u32` as type for clarity.
Expand Down Expand Up @@ -193,7 +193,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

Initial release

[Unreleased]: https://github.com/rust-embedded/embedded-hal/compare/v1.0.0-alpha.5...HEAD
[Unreleased]: https://github.com/rust-embedded/embedded-hal/compare/v1.0.0-alpha.6...HEAD
[v1.0.0-alpha.6]: https://github.com/rust-embedded/embedded-hal/compare/v1.0.0-alpha.5...v1.0.0-alpha.6
[v1.0.0-alpha.5]: https://github.com/rust-embedded/embedded-hal/compare/v1.0.0-alpha.4...v1.0.0-alpha.5
[v1.0.0-alpha.4]: https://github.com/rust-embedded/embedded-hal/compare/v1.0.0-alpha.3...v1.0.0-alpha.4
[v1.0.0-alpha.3]: https://github.com/rust-embedded/embedded-hal/compare/v1.0.0-alpha.2...v1.0.0-alpha.3
Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ license = "MIT OR Apache-2.0"
name = "embedded-hal"
readme = "README.md"
repository = "https://github.com/rust-embedded/embedded-hal"
version = "1.0.0-alpha.5" # remember to update html_root_url
version = "1.0.0-alpha.6"

[dependencies]
nb = "1"

[dev-dependencies.stm32f1]
version = "0.13"
version = "0.14"
features = ["stm32f103", "rt"]
1 change: 0 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,6 @@
//! # fn main() {}
//! ```

#![doc(html_root_url = "https://docs.rs/embedded-hal/1.0.0-alpha.5")]
#![deny(missing_docs)]
#![no_std]

Expand Down

0 comments on commit 58777c2

Please sign in to comment.