@@ -43,34 +43,22 @@ They are provided as early previews for community testing and preparation for th
43
43
If you use an alpha release, we recommend you choose an exact version specification in your
44
44
` Cargo.toml ` like: ` embedded-hal = "=1.0.0-alpha.2" `
45
45
46
- See below for a way to implement both an ` embedded-hal ` ` 0.2.x ` version and an ` -alpha ` version
47
- side by side in a HAL.
46
+ See [ this guide ] ( docs/version-policy.md ) for a way to implement both an ` embedded-hal ` ` 0.2.x `
47
+ version and an ` -alpha ` version side by side in a HAL.
48
48
49
49
[ #177 ] : https://github.com/rust-embedded/embedded-hal/issues/177
50
50
51
51
## Documents
52
52
53
53
- [ How-to: add a new trait] ( docs/how-to-add-a-new-trait.md )
54
+ - [ Version policy] ( docs/version-policy.md )
54
55
55
56
## Implementations and drivers
56
57
For a list of ` embedded-hal ` implementations and driver crates check the [ awesome-embedded-rust]
57
58
list.
58
59
59
60
[ awesome-embedded-rust ] : https://github.com/rust-embedded/awesome-embedded-rust#driver-crates
60
61
61
- ### Supporting different (alpha and non-alpha) HALs
62
-
63
- [ embedded-hal-compat] ( https://github.com/ryankurte/embedded-hal-compat ) provides shims
64
- to support interoperability between the latest ` 0.2.x ` and ` 1.0.0-alpha.N ` HALs, allowing one to use
65
- incompatible HAL components (generally) without alteration.
66
- See the [ docs] ( https://docs.rs/embedded-hal-compat/ ) for examples.
67
-
68
- It is also possible for HAL implementations to support both the latest ` 0.2.x ` and ` 1.0.0-alpha.N ` versions
69
- side by side, for an example see [ LPC8xx HAL] ( https://github.com/lpc-rs/lpc8xx-hal ) .
70
-
71
- Note that ` embedded-hal ` ` -alpha ` versions are a moving target and _ not guaranteed_ to be compatible.
72
- Because of this we only aim to support the latest ` -alpha ` .
73
-
74
62
## Minimum Supported Rust Version (MSRV)
75
63
76
64
This crate is guaranteed to compile on stable Rust 1.46 and up. It * might*
0 commit comments