Jan Niehusmann
22a04ceeb2
Use stable toolchain for tests
2024-04-16 20:36:38 +00:00
Jan Niehusmann
8f0e5493e7
Use rust 1.75 in msrv-1-75 CI job
2024-04-16 20:33:32 +00:00
Dario Nieuwenhuis
11c8b9e23f
Release embedded-hal{,-async,-nb} v1.0.0, embedded-hal-bus v0.1.0
2024-01-09 22:12:03 +01:00
Dario Nieuwenhuis
38f6070118
Release v1.0.0-rc.3
2023-12-14 14:29:52 +01:00
Dario Nieuwenhuis
4857fefc90
ci: simplify, test MSRV.
...
- Use separate jobs instead of `matrix`. The Github Actions matrix is very cursed, especially if you use `include`. We don't have that many combinations, IMO doing separate jobs is way more straightforward and only slightly more verbose.
- `embedded-hal` needs `rust-version = 1.60` because it uses `dep:`.
Fixes #538
2023-12-13 01:30:40 +01:00
Dario Nieuwenhuis
3505e76a0c
ci: don't build for both thumbv6 and thumbv7.
...
We have 16 jobs now, starts to hit the GHA free limit of 20. There's no
advantage in testing thumbv6 and thumbv7 because they're almost identical
and nothing in e-h depends on them, so remove thumbv6.
2023-08-06 20:51:58 +02:00
Dario Nieuwenhuis
680a2b381c
ci: actually test all feature combinations, add defmt.
...
the GHA `include` field is nonsense.
2023-08-06 20:51:58 +02:00
Dario Nieuwenhuis
981caa649b
Fix workspace issues when building for stable.
2023-07-15 16:04:24 +02:00
Dario Nieuwenhuis
7d975f025d
Bump MSRV to 1.60
...
Needed for namespaced features (`dep:` in Cargo.toml)
2023-07-15 16:04:24 +02:00
Dario Nieuwenhuis
8db8b0bb21
io: add separate embedded-io-adapters crate, add futures/tokio support.
...
If we want to release `embedded-io` 1.0 and the adapters live there, we can't make any
breaking changes to them after release. Putting them in a separate crate
allows doing breaking changes without breaking everyone using the IO traits.
2023-07-15 16:04:24 +02:00
Dario Nieuwenhuis
5df51e56da
ci: test io with std and alloc features, update nightly.
2023-07-05 00:19:27 +02:00
Diego Barrios Romero
50cceacf46
Switch to GHMQ
2023-06-20 10:20:00 +02:00
Dario Nieuwenhuis
37a8e614f0
bus/i2c: add RefCell, CriticalSection and Mutex shared bus implementations.
2023-03-28 13:13:42 +02:00
Jan Niehusmann
9e4d4794e9
Update github workflows to actions/checkout@v3
2023-02-28 20:25:06 +00:00
Jan Niehusmann
ed9e0c13f1
Use github action dtolnay/rust-toolchain@master instead of actions-rs/toolchain@v1
...
actions-rs/toolchain@v1 uses deprecated features and has not been updated for years
2023-02-28 20:25:06 +00:00
Dario Nieuwenhuis
d36ddc2009
Bump MSRV to 1.59, switch to Edition 2021.
2023-02-28 21:09:10 +01:00
Dario Nieuwenhuis
f023917449
ci: Fix embedded-hal-async not being tested.
2022-11-02 00:49:08 +01:00
Dario Nieuwenhuis
6d22f986f1
Move embedded-hal to a subdir, add workspace, simplify CI.
2022-09-26 13:29:34 +02:00
Dario Nieuwenhuis
01e6b68c9c
SPI: split into device/bus, allows sharing buses with automatic CS management.
...
Co-authored-by: Diego Barrios Romero <eldruin@gmail.com >
2022-02-18 02:33:22 +01:00
Timo Kröger
738732369a
Raise MSRV to Rust 1.46.0
2021-10-26 14:20:20 +02:00
Diego Barrios Romero
c2ceb78540
Raise MSRV to Rust 1.40.0
2021-10-04 11:19:38 +02:00
Diego Barrios Romero
a6514eafab
Require CI tests to pass
2021-08-03 22:40:58 +02:00
Diego Barrios Romero
60dfd300f4
Deny warnings on CI builds and tests
2021-04-28 13:33:04 +02:00
Diego Barrios Romero
23557a5445
Run tests also on CI
2020-10-08 09:24:07 +02:00