47 Commits

Author SHA1 Message Date
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
7fa580567a Workaround https://github.com/tokio-rs/tokio/issues/6165 2023-11-25 00:27:16 +01:00
rmsyn
fb30c9b747
ci: update nightly versions for clippy and rustdoc 2023-10-15 23:42:37 +00: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
5f8f7f932e ci: add rustdoc check with deny warnings.
Catches things like broken links.
2023-07-17 12:28:17 +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
44f01ea73f async: switch to async-fn-in-traits 2022-11-23 17:02:55 +01:00
Dario Nieuwenhuis
f023917449 ci: Fix embedded-hal-async not being tested. 2022-11-02 00:49:08 +01:00
Dario Nieuwenhuis
13658c0ec3 Actually deny clippy warnings. 2022-09-26 16:35:13 +02:00
Diego Barrios Romero
c48550ce01
Do not enforce clippy 2022-09-26 16:31:12 +02:00
Dario Nieuwenhuis
d417c6015a Removed changelog check in CI. 2022-09-26 13:29:34 +02:00
Dario Nieuwenhuis
04a2825ff0 Update bors config. 2022-09-26 13:29:34 +02:00
Dario Nieuwenhuis
6d22f986f1 Move embedded-hal to a subdir, add workspace, simplify CI. 2022-09-26 13:29:34 +02:00
Diego Barrios Romero
b86fe26d1e Add e-h-bus to CI 2022-08-17 18:36:10 +02:00
Dario Nieuwenhuis
cdd6f28c48 Use nightly rustfmt. 2022-03-10 17:18:49 +01: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
Dario Nieuwenhuis
f422a07b0b async: Add feature(generic_associated_types)], fix CI 2022-01-11 23:39:15 +01:00
Diego Barrios Romero
d175998a10 Add embedded-hal-async crate in subdirectory 2021-12-21 22:43:45 +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
Daniel Egger
5ba857ec9d
Update .github/bors.toml
Co-authored-by: Adam Greig <adam@adamgreig.com>
2021-08-04 00:45:52 +02:00
Diego Barrios Romero
a6514eafab Require CI tests to pass 2021-08-03 22:40:58 +02:00
Diego Barrios Romero
7d751ba60a Add changelog checker for PRs 2021-07-13 22:53:44 +02:00
Diego Barrios Romero
60dfd300f4 Deny warnings on CI builds and tests 2021-04-28 13:33:04 +02:00
Diego Barrios Romero
34d34573f5 Update codeowners to current team 2021-04-28 11:01:37 +02:00
Diego Barrios Romero
7052f5ab7a Add fmt check to bors 2021-03-12 08:26:46 +01:00
Diego Barrios Romero
23557a5445 Run tests also on CI 2020-10-08 09:24:07 +02:00
Daniel Egger
33e16f1ed9 Don't run rustfmt and clippy multiple times per PR
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
2020-06-02 23:18:26 +02:00
Daniel Egger
63b5e3886d Add adjusted bors configuration
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
2020-06-02 23:18:26 +02:00
Daniel Egger
1e512886c2 Switch from Travis to GitHub actions
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
2020-06-02 23:18:26 +02:00
Jorge Aparicio
120ef2d7a6 tweak bors.toml 2018-08-11 19:48:18 -05:00
Jorge Aparicio
e8d2b1cd2f fix CODEOWNERS 2018-08-08 09:15:08 -05:00
Jorge Aparicio
9fb31a0de6 fix CODEOWNERS 2018-08-06 23:32:33 -05:00
Jorge Aparicio
c67811a627 add CODEOWNERS, CoC; tweak bors and Travis 2018-08-06 23:07:27 -05:00