Skip to content

Commit

Permalink
Release embedded-hal{,-async,-bus} v1.0.0-rc.1, embedded-hal-bus v0.1…
Browse files Browse the repository at this point in the history
….0-rc.1
  • Loading branch information
Dirbaio committed Aug 15, 2023
1 parent 6cfdb7a commit cf54e7b
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 11 deletions.
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 = "0.2.0-alpha.2"
version = "1.0.0-rc.1"
rust-version = "1.65.0"

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

[dependencies]
embedded-hal = { version = "=1.0.0-alpha.11", path = "../embedded-hal" }
embedded-hal = { version = "=1.0.0-rc.1", path = "../embedded-hal" }
defmt-03 = { package = "defmt", version = "0.3", optional = true }
8 changes: 6 additions & 2 deletions embedded-hal-async/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,14 @@ or a console to operate either on hardware serial ports or on virtual ones like
## Minimum Supported Rust Version (MSRV)

This crate requires Rust nightly newer than `nightly-2022-11-22`, due to requiring support for
`async fn` in traits (AFIT), which is not stable yet.
`async fn` in traits (AFIT), which is not stable yet.

Keep in mind Rust nightlies can make backwards-incompatible changes to unstable features
at any time.
at any time. If this happens, we might do changes that increase the minimum required nightly
version in any patch release.

When AFIT becomes stable, MSRV will be bumped to the Rust version that stabilizes it, after which
point the [standard MSRV bump policy](../docs/msrv.md) will apply.

## License

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 @@ -11,16 +11,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-alpha.3"
version = "0.1.0-rc.1"

[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-alpha.11", path = "../embedded-hal" }
embedded-hal-async = { version = "=0.2.0-alpha.2", path = "../embedded-hal-async", optional = true }
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 }
critical-section = { version = "1.0" }
defmt-03 = { package = "defmt", version = "0.3", optional = true }

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-alpha.3"
version = "1.0.0-rc.1"
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.11", path = "../embedded-hal" }
embedded-hal = { version = "=1.0.0-rc.1", path = "../embedded-hal" }
nb = "1"

[dev-dependencies]
Expand Down
4 changes: 2 additions & 2 deletions embedded-hal/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,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-alpha.11"
version = "1.0.0-rc.1"

[dependencies]
defmt-03 = { package = "defmt", version = "0.3", optional = true }
defmt-03 = { package = "defmt", version = "0.3", optional = true }

0 comments on commit cf54e7b

Please sign in to comment.