Skip to content

Commit

Permalink
Merge #449
Browse files Browse the repository at this point in the history
449: Release e-h v1.0.0-alpha.10, e-h-async v0.2.0-alpha.1, e-h-bus v0.1.0… r=eldruin a=Dirbaio

…-alpha.2, e-h-nb v1.0.0-alpha.2.

lots of crates, whew 😅 

Co-authored-by: Dario Nieuwenhuis <[email protected]>
  • Loading branch information
bors[bot] and Dirbaio authored Apr 5, 2023
2 parents 0c98b79 + 76c66f3 commit 3a7c3ca
Show file tree
Hide file tree
Showing 9 changed files with 32 additions and 12 deletions.
6 changes: 5 additions & 1 deletion embedded-hal-async/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,13 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]

## [v0.2.0-alpha.1] - 2023-04-04

### Added
- Added a `serial::Write` trait.

### Changed
- Updated `embedded-hal` to version `1.0.0-alpha.10`.
- delay: make infallible.
- i2c: remove `_iter()` methods.
- i2c: add default implementations for all methods based on `transaction()`.
Expand Down Expand Up @@ -46,7 +49,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
First release to crates.io


[Unreleased]: https://github.com/rust-embedded/embedded-hal/compare/embedded-hal-async-v0.2.0-alpha.0...HEAD
[Unreleased]: https://github.com/rust-embedded/embedded-hal/compare/embedded-hal-async-v0.2.0-alpha.1...HEAD
[v0.2.0-alpha.1]: https://github.com/rust-embedded/embedded-hal/compare/embedded-hal-async-v0.2.0-alpha.0...embedded-hal-async-v0.2.0-alpha.1
[v0.2.0-alpha.0]: https://github.com/rust-embedded/embedded-hal/compare/embedded-hal-async-v0.1.0-alpha.3...embedded-hal-async-v0.2.0-alpha.0
[v0.1.0-alpha.3]: https://github.com/rust-embedded/embedded-hal/compare/embedded-hal-async-v0.1.0-alpha.2...embedded-hal-async-v0.1.0-alpha.3
[v0.1.0-alpha.2]: https://github.com/rust-embedded/embedded-hal/compare/embedded-hal-async-v0.1.0-alpha.1...embedded-hal-async-v0.1.0-alpha.2
Expand Down
4 changes: 2 additions & 2 deletions embedded-hal-async/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ license = "MIT OR Apache-2.0"
name = "embedded-hal-async"
readme = "README.md"
repository = "https://github.com/rust-embedded/embedded-hal"
version = "0.2.0-alpha.0"
version = "0.2.0-alpha.1"
rust-version = "1.65.0"

[dependencies]
embedded-hal = { version = "=1.0.0-alpha.9", path = "../embedded-hal" }
embedded-hal = { version = "=1.0.0-alpha.10", path = "../embedded-hal" }
8 changes: 7 additions & 1 deletion embedded-hal-bus/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]

## [v0.1.0-alpha.2] - 2023-04-04

### Changed
- Updated `embedded-hal` to version `1.0.0-alpha.10`.

### Added
- i2c: add bus sharing implementations.
- spi: add bus sharing implementations.
Expand All @@ -20,6 +25,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

First release to crates.io

[Unreleased]: https://github.com/rust-embedded/embedded-hal/compare/embedded-hal-bus-v0.1.0-alpha.1...HEAD
[Unreleased]: https://github.com/rust-embedded/embedded-hal/compare/embedded-hal-bus-v0.1.0-alpha.2...HEAD
[v0.1.0-alpha.2]: https://github.com/rust-embedded/embedded-hal/compare/embedded-hal-bus-v0.1.0-alpha.1...embedded-hal-bus-v0.1.0-alpha.2
[v0.1.0-alpha.1]: https://github.com/rust-embedded/embedded-hal/compare/embedded-hal-bus-v0.1.0-alpha.0...embedded-hal-bus-v0.1.0-alpha.1
[v0.1.0-alpha.0]: https://github.com/rust-embedded/embedded-hal/tree/embedded-hal-bus-v0.1.0-alpha.0
4 changes: 2 additions & 2 deletions embedded-hal-bus/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ license = "MIT OR Apache-2.0"
name = "embedded-hal-bus"
readme = "README.md"
repository = "https://github.com/rust-embedded/embedded-hal"
version = "0.1.0-alpha.1"
version = "0.1.0-alpha.2"

[features]
std = []

[dependencies]
embedded-hal = { version = "=1.0.0-alpha.9", path = "../embedded-hal" }
embedded-hal = { version = "=1.0.0-alpha.10", path = "../embedded-hal" }
critical-section = { version = "1.0" }
2 changes: 1 addition & 1 deletion embedded-hal-bus/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ This project is developed and maintained by the [HAL team](https://github.com/ru

To support bus sharing, `embedded-hal` provides the `SpiBus` and `SpiDevice` traits. `SpiBus` represents an entire bus,
while `SpiDevice` represents a device on that bus. For further details on these traits, please consult the
[`embedded-hal` documentation](https://docs.rs/embedded-hal/1.0.0-alpha.9/embedded_hal/spi/index.html).
[`embedded-hal` documentation](https://docs.rs/embedded-hal/1.0.0-alpha.10/embedded_hal/spi/index.html).

`embedded-hal` trait implementations for microcontrollers should implement the `SpiBus` trait.
However, device drivers should use the `SpiDevice` traits, _not the `SpiBus` traits_ if at all possible
Expand Down
8 changes: 7 additions & 1 deletion embedded-hal-nb/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

...

## [v1.0.0-alpha.2] - 2023-04-04

### Changed
- Updated `embedded-hal` to version `1.0.0-alpha.10`.

## [v1.0.0-alpha.1] - 2022-09-28

### Changed
Expand All @@ -18,6 +23,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

First release to crates.io

[Unreleased]: https://github.com/rust-embedded/embedded-hal/compare/embedded-hal-nb-v1.0.0-alpha.1...HEAD
[Unreleased]: https://github.com/rust-embedded/embedded-hal/compare/embedded-hal-nb-v1.0.0-alpha.2...HEAD
[v1.0.0-alpha.2]: https://github.com/rust-embedded/embedded-hal/compare/embedded-hal-nb-v1.0.0-alpha.1...embedded-hal-nb-v1.0.0-alpha.2which
[v1.0.0-alpha.1]: https://github.com/rust-embedded/embedded-hal/compare/embedded-hal-nb-v1.0.0-alpha.0...embedded-hal-nb-v1.0.0-alpha.1
[v1.0.0-alpha.0]: https://github.com/rust-embedded/embedded-hal/tree/embedded-hal-nb-v1.0.0-alpha.0
4 changes: 2 additions & 2 deletions embedded-hal-nb/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "embedded-hal-nb"
version = "1.0.0-alpha.1"
version = "1.0.0-alpha.2"
edition = "2021"

categories = ["embedded", "hardware-support", "no-std"]
Expand All @@ -12,7 +12,7 @@ readme = "README.md"
repository = "https://github.com/rust-embedded/embedded-hal"

[dependencies]
embedded-hal = { version = "=1.0.0-alpha.9", path = "../embedded-hal" }
embedded-hal = { version = "=1.0.0-alpha.10", path = "../embedded-hal" }
nb = "1"

[dev-dependencies]
Expand Down
4 changes: 4 additions & 0 deletions embedded-hal/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]

## [v1.0.0-alpha.10] - 2023-04-04

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

### Added
- Added `pwm::SetDutyCycle` trait.

Expand Down
4 changes: 2 additions & 2 deletions embedded-hal/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
authors = [
"The Embedded HAL Team <[email protected]>",
"Jorge Aparicio <[email protected]>",
"Jonathan 'theJPster' Pallant <[email protected]>"
"Jonathan 'theJPster' Pallant <[email protected]>",
]
categories = ["asynchronous", "embedded", "hardware-support", "no-std"]
description = " A Hardware Abstraction Layer (HAL) for embedded systems "
Expand All @@ -13,4 +13,4 @@ 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.9"
version = "1.0.0-alpha.10"

0 comments on commit 3a7c3ca

Please sign in to comment.