Skip to content

Commit da78c82

Browse files
bors[bot]eldruin
andauthored
Merge #258
258: Clarify usage of alpha releases r=therealprof a=eldruin Co-authored-by: Diego Barrios Romero <[email protected]>
2 parents bbb79cd + 7132317 commit da78c82

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

README.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,17 @@ This project is developed and maintained by the [HAL team][team].
88

99
[API reference]: https://docs.rs/embedded-hal
1010

11+
## Releases
12+
13+
At the moment we are working towards a `1.0.0` release (see [#177]). During this process we will
14+
release alpha versions like `1.0.0-alpha.1` and `1.0.0-alpha.2`.
15+
Alpha releases are **not guaranteed** to be compatible with each other.
16+
They are provided as early previews for community testing and preparation for the final release.
17+
If you use an alpha release, we recommend you choose an exact version specification in your
18+
`Cargo.toml` like: `embedded-hal = "=1.0.0-alpha.2"`
19+
20+
[#177]: https://github.com/rust-embedded/embedded-hal/issues/177
21+
1122
## How-to: add a new trait
1223

1324
This is the suggested approach to adding a new trait to `embedded-hal`
@@ -30,7 +41,7 @@ Traits should be demonstrated with at least *two* implementations on different p
3041

3142
Once the trait has been demonstrated a PR should be opened to merge the new trait(s) into `embedded-hal`. This should include a link to the previous discussion issue.
3243

33-
If there is determined to be more than one alternative then there should be further discussion to
44+
If there is determined to be more than one alternative then there should be further discussion to
3445
try to single out the best option. Once there is consensus this will be merged into the `embedded-hal` repository.
3546

3647
These issues / PRs will be labeled as `proposal`s in the issue tracker.
@@ -43,7 +54,7 @@ list.
4354

4455
[awesome-embedded-rust]: https://github.com/rust-embedded/awesome-embedded-rust#driver-crates
4556

46-
# Minimum Supported Rust Version (MSRV)
57+
## Minimum Supported Rust Version (MSRV)
4758

4859
This crate is guaranteed to compile on stable Rust 1.35 and up. It *might*
4960
compile with older versions but that may change in any new patch release.

src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
//! tweaked, split or be replaced wholesale before being stabilized, i.e. before hitting the 1.0.0
55
//! release.
66
//!
7+
//! **NOTE** If you want to use an alpha release of the 1.0.0 version, use an exact version
8+
//! specifier in your `Cargo.toml` like: `embedded-hal = "=1.0.0-alpha.2"`.
9+
//!
710
//! # Design goals
811
//!
912
//! The HAL

0 commit comments

Comments
 (0)