Skip to content

Commit

Permalink
Merge pull request #540 from Dirbaio/release-rc2
Browse files Browse the repository at this point in the history
release embedded-hal-* v1.0.0-rc.2, embedded-io-{async,adapters} v0.6.1
  • Loading branch information
MabezDev authored Nov 29, 2023
2 parents 0c05a0a + 2767cbd commit a8c72e9
Show file tree
Hide file tree
Showing 12 changed files with 48 additions and 15 deletions.
9 changes: 8 additions & 1 deletion embedded-hal-async/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,18 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]

No unreleased changes

## [v1.0.0-rc.2] - 2023-11-28

- Updated `embedded-hal` to version `1.0.0-rc.2`.
- Minor document fixes.
- Add #[inline] hints to most of `embedded-hal-async` functions.
- delay: Rename `DelayUs` to `DelayNs`
- delay: Add `DelayNs::delay_ns()`
- delay: Add default impls of `delay_ms` and `delay_us` based on `delay_ns`.
- spi: Rename `Operation::DelayUs` to `Operation::DelayNs`, with nanosecond precision.
- Use `feature()` on nightly toolchains only. This adds support for 1.75 beta and stable.

## [v1.0.0-rc.1] - 2023-08-15

Expand Down Expand Up @@ -76,7 +82,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-v1.0.0-rc.1...HEAD
[Unreleased]: https://github.com/rust-embedded/embedded-hal/compare/embedded-hal-async-v1.0.0-rc.2...HEAD
[v1.0.0-rc.2]: https://github.com/rust-embedded/embedded-hal/compare/embedded-hal-async-v1.0.0-rc.1...embedded-hal-async-v1.0.0-rc.2
[v1.0.0-rc.1]: https://github.com/rust-embedded/embedded-hal/compare/embedded-hal-async-v0.2.0-alpha.2...embedded-hal-async-v1.0.0-rc.1
[v0.2.0-alpha.2]: https://github.com/rust-embedded/embedded-hal/compare/embedded-hal-async-v0.2.0-alpha.1...embedded-hal-async-v0.2.0-alpha.2
[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
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,12 +11,12 @@ license = "MIT OR Apache-2.0"
name = "embedded-hal-async"
readme = "README.md"
repository = "https://github.com/rust-embedded/embedded-hal"
version = "1.0.0-rc.1"
version = "1.0.0-rc.2"
rust-version = "1.65.0"

[features]
defmt-03 = ["dep:defmt-03", "embedded-hal/defmt-03"]

[dependencies]
embedded-hal = { version = "=1.0.0-rc.1", path = "../embedded-hal" }
embedded-hal = { version = "=1.0.0-rc.2", path = "../embedded-hal" }
defmt-03 = { package = "defmt", version = "0.3", optional = true }
9 changes: 8 additions & 1 deletion embedded-hal-bus/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,14 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]

No unreleased changes

## [v1.0.0-rc.2] - 2023-11-28

- Updated `embedded-hal(-async)` to version `1.0.0-rc.2`.
- Minor document fixes.
- Add #[inline] hints to most of `embedded-hal-bus` functions.
- Use `feature()` on nightly toolchains only. This adds async support for 1.75 beta and stable.

## [v0.1.0-rc.1] - 2023-08-15

Expand Down Expand Up @@ -42,7 +48,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-bus-v0.1.0-rc.1...HEAD
[Unreleased]: https://github.com/rust-embedded/embedded-hal/compare/embedded-hal-bus-v0.1.0-rc.2...HEAD
[v0.1.0-rc.2]: https://github.com/rust-embedded/embedded-hal/compare/embedded-hal-bus-v0.1.0-rc.1...embedded-hal-bus-v0.1.0-rc.2
[v0.1.0-rc.1]: https://github.com/rust-embedded/embedded-hal/compare/embedded-hal-bus-v0.1.0-alpha.3...embedded-hal-bus-v0.1.0-rc.1
[v0.1.0-alpha.3]: https://github.com/rust-embedded/embedded-hal/compare/embedded-hal-bus-v0.1.0-alpha.2...embedded-hal-bus-v0.1.0-alpha.3
[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
Expand Down
6 changes: 3 additions & 3 deletions embedded-hal-bus/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@ 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-rc.1"
version = "0.1.0-rc.2"

[features]
std = []
async = ["dep:embedded-hal-async"]
defmt-03 = ["dep:defmt-03", "embedded-hal/defmt-03", "embedded-hal-async?/defmt-03"]

[dependencies]
embedded-hal = { version = "=1.0.0-rc.1", path = "../embedded-hal" }
embedded-hal-async = { version = "=1.0.0-rc.1", path = "../embedded-hal-async", optional = true }
embedded-hal = { version = "=1.0.0-rc.2", path = "../embedded-hal" }
embedded-hal-async = { version = "=1.0.0-rc.2", path = "../embedded-hal-async", optional = true }
critical-section = { version = "1.0" }
defmt-03 = { package = "defmt", version = "0.3", optional = true }

Expand Down
9 changes: 8 additions & 1 deletion embedded-hal-nb/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]

No unreleased changes

## [v1.0.0-rc.2] - 2023-11-28

- Updated `embedded-hal` to version `1.0.0-rc.2`.
- Minor document fixes.
- Add #[inline] hints to most of `embedded-hal-nb` functions.

Expand Down Expand Up @@ -35,7 +40,9 @@ 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.3...HEAD
[Unreleased]: https://github.com/rust-embedded/embedded-hal/compare/embedded-hal-nb-v1.0.0-rc.2...HEAD
[v1.0.0-rc.2]: https://github.com/rust-embedded/embedded-hal/compare/embedded-hal-nb-v1.0.0-rc.1...embedded-hal-nb-v1.0.0-rc.2
[v1.0.0-rc.1]: https://github.com/rust-embedded/embedded-hal/compare/embedded-hal-nb-v1.0.0-alpha.3...embedded-hal-nb-v1.0.0-rc.1
[v1.0.0-alpha.3]: https://github.com/rust-embedded/embedded-hal/compare/embedded-hal-nb-v1.0.0-alpha.2...embedded-hal-nb-v1.0.0-alpha.3
[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.2
[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
Expand Down
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-rc.1"
version = "1.0.0-rc.2"
edition = "2021"
rust-version = "1.56"

Expand All @@ -13,7 +13,7 @@ readme = "README.md"
repository = "https://github.com/rust-embedded/embedded-hal"

[dependencies]
embedded-hal = { version = "=1.0.0-rc.1", path = "../embedded-hal" }
embedded-hal = { version = "=1.0.0-rc.2", path = "../embedded-hal" }
nb = "1"

[dev-dependencies]
Expand Down
7 changes: 6 additions & 1 deletion 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]

No unreleased changes

## [v1.0.0-rc.2] - 2023-11-28

- Minor document fixes.
- Add #[inline] hints to most of `embedded-hal` functions.
- pwm: rename `get_max_duty_cycle` to `max_duty_cycle`.
Expand Down Expand Up @@ -306,7 +310,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-rc.1...HEAD
[Unreleased]: https://github.com/rust-embedded/embedded-hal/compare/v1.0.0-rc.2...HEAD
[v1.0.0-rc.2]: https://github.com/rust-embedded/embedded-hal/compare/v1.0.0-rc.1...v1.0.0-rc.2
[v1.0.0-rc.1]: https://github.com/rust-embedded/embedded-hal/compare/v1.0.0-alpha.11...v1.0.0-rc.1
[v1.0.0-alpha.11]: https://github.com/rust-embedded/embedded-hal/compare/v1.0.0-alpha.10...v1.0.0-alpha.11
[v1.0.0-alpha.10]: https://github.com/rust-embedded/embedded-hal/compare/v1.0.0-alpha.9...v1.0.0-alpha.10
Expand Down
2 changes: 1 addition & 1 deletion embedded-hal/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ license = "MIT OR Apache-2.0"
name = "embedded-hal"
readme = "README.md"
repository = "https://github.com/rust-embedded/embedded-hal"
version = "1.0.0-rc.1"
version = "1.0.0-rc.2"

[features]
defmt-03 = ["dep:defmt-03"]
Expand Down
3 changes: 3 additions & 0 deletions embedded-io-adapters/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

Add unreleased changes here

## 0.6.1 - 2023-11-28

- Handle reading from `FromTokio` with empty buffer, ensuring `Ok(0)` is always returned.
- Use `feature()` on nightly toolchains only. This adds async support for 1.75 beta and stable.

## 0.6.0 - 2023-10-02

Expand Down
4 changes: 2 additions & 2 deletions embedded-io-adapters/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "embedded-io-adapters"
version = "0.6.0"
version = "0.6.1"
edition = "2021"
rust-version = "1.60"
description = "Adapters between the `embedded-io` traits and other I/O traits"
Expand All @@ -19,7 +19,7 @@ futures-03 = ["std", "dep:futures", "dep:embedded-io-async", "embedded-io-async?

[dependencies]
embedded-io = { version = "0.6", path = "../embedded-io" }
embedded-io-async = { version = "0.6", path = "../embedded-io-async", optional = true }
embedded-io-async = { version = "0.6.1", path = "../embedded-io-async", optional = true }

futures = { version = "0.3.21", features = ["std"], default-features = false, optional = true }
tokio = { version = "1", features = ["io-util"], default-features = false, optional = true }
Expand Down
4 changes: 4 additions & 0 deletions embedded-io-async/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

Add unreleased changes here

## 0.6.1 - 2023-11-28

- Use `feature()` on nightly toolchains only. This adds support for 1.75 beta and stable.

## 0.6.0 - 2023-10-02

- Prohibit `Write::write` implementations returning `Ok(0)` unless there is no
Expand Down
2 changes: 1 addition & 1 deletion embedded-io-async/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "embedded-io-async"
version = "0.6.0"
version = "0.6.1"
edition = "2021"
description = "Async embedded IO traits"
repository = "https://github.com/rust-embedded/embedded-hal"
Expand Down

0 comments on commit a8c72e9

Please sign in to comment.