Commit Graph

727 Commits

Author SHA1 Message Date
Yuri Astrakhan
6db1764555 Cleanup Cargo features and optionals
* Make sure all optional dependencies are not exposed automatically, but rather explicit
2023-09-01 11:49:00 -04:00
Dario Nieuwenhuis
8480a33ee5 Merge pull request #495 from nyurik/clippy
A few clippy lint fixes
2023-09-01 11:32:56 +00:00
Dario Nieuwenhuis
81b70d3d65 Merge pull request #492 from nyurik/inline-fmt
Inline a few format args for readability
2023-09-01 11:31:12 +00:00
Dario Nieuwenhuis
9919851cc4 Merge pull request #493 from nyurik/doc-fixes
Fix doc links and one incorrect type name
2023-09-01 11:26:29 +00:00
Dario Nieuwenhuis
8cd89e2425 Merge pull request #497 from nyurik/spelling
A few minor spelling/grammar fixes
2023-09-01 11:25:07 +00:00
Dario Nieuwenhuis
0f7bf70ec1 Merge pull request #498 from nyurik/licenses
Add missing LICENSE-* files to embedded-io-async
2023-09-01 11:24:25 +00:00
Dario Nieuwenhuis
1d983d1193 Merge pull request #499 from nyurik/fix-qualifiers
Remove a few un-needed qualifiers for consistency
2023-09-01 11:23:44 +00:00
Yuri Astrakhan
0df21a83a2 Remove a few un-needed qualifiers for consistency
Some types are referenced inconsistently, so removing qualifiers to keep them uniform
2023-09-01 01:36:01 -04:00
Yuri Astrakhan
6e461a0c43 Add missing LICENSE-* files to embedded-io-async 2023-09-01 01:33:45 -04:00
Yuri Astrakhan
f3095b3d01 A few minor spelling/grammar fixes 2023-09-01 01:30:51 -04:00
Yuri Astrakhan
b0b4f4668d A few more doc cleanups 2023-09-01 01:25:34 -04:00
Yuri Astrakhan
3005247c9b A few clippy lint fixes
* added `[must_use]`
* added a few semicolons
2023-09-01 00:03:36 -04:00
Yuri Astrakhan
7bcaa871d6 Fix doc links and one incorrect type name 2023-08-31 23:59:18 -04:00
Yuri Astrakhan
10a7effe16 Inline a few format args for readability
This existed since 1.58, so safe for MSRV
2023-08-31 23:10:52 -04:00
Diego Barrios Romero
5d406a4d15 Merge pull request #489 from Dirbaio/io-adapter-buf
io-adapters: add support for BufRead for `futures` and `tokio`.
2023-08-29 12:58:44 +00:00
Dario Nieuwenhuis
2c9db0d682 io-adapters: add support for BufRead for futures and tokio. 2023-08-25 20:49:13 +02:00
Dario Nieuwenhuis
35e60121cb Merge pull request #488 from luojia65/luojia65/1.0.0-fixes
lib: amend documents to add periods (.), add inline hints when necessary
2023-08-23 08:51:50 +00:00
Zhouqi Jiang
d2f099e54f e-h, e-h-async, e-h-bus, e-h-nb: add changelog entries
Signed-off-by: Zhouqi Jiang <luojia@hust.edu.cn>
2023-08-23 10:26:47 +08:00
Zhouqi Jiang
8296af2e29 e-h-nb: inline hints, document fixes.
Signed-off-by: Zhouqi Jiang <luojia@hust.edu.cn>
2023-08-23 10:22:20 +08:00
Zhouqi Jiang
d81f7b8142 e-h-bus: document fixes and inline hints.
Signed-off-by: Zhouqi Jiang <luojia@hust.edu.cn>
2023-08-23 10:20:19 +08:00
Zhouqi Jiang
41a61cb001 e-h-async: document fixes and inline hints.
Signed-off-by: Zhouqi Jiang <luojia@hust.edu.cn>
2023-08-23 10:16:09 +08:00
Zhouqi Jiang
a0e1f49b1f e-h: amend documents to add periods (.), add inline hints when necessary
In documentation style of the Rust standard library, first sentence of all
modules, types, and functions documentation has a period. We follow Rust
standard library style to make it easier for users to read.

All functions in embedded-hal (especially type conversations, function
fowarding calls) are now marked #[inline] to allow further optimizations.

Signed-off-by: Zhouqi Jiang <luojia@hust.edu.cn>
2023-08-23 10:07:01 +08:00
Dario Nieuwenhuis
9228fb2bad Merge pull request #487 from spookyvision/spookyvision-patch-1
Update README.md
2023-08-21 15:39:09 +00:00
Anatol Ulrich
ed96f03b3a Update README.md
typo: "is still is"
2023-08-21 17:30:55 +02:00
Dario Nieuwenhuis
c195f39479 Merge pull request #486 from daniel-larsen/master
Fix typo in embedded-io changelog
2023-08-17 21:01:53 +00:00
Daniel Larsen
aa5e4754ea Fix typo in Changelog 2023-08-17 17:53:52 -03:00
Diego Barrios Romero
b6a7678e22 Merge pull request #485 from Dirbaio/rc1
Release embedded-hal{,-async,-nb} v1.0.0-rc.1, embedded-hal-bus v0.1.0-rc.1
v1.0.0-rc.1 embedded-hal-nb-v1.0.0-rc.1 embedded-hal-bus-v0.1.0-rc.1 embedded-hal-async-v1.0.0-rc.1
2023-08-15 19:27:43 +00:00
Dario Nieuwenhuis
575cee3343 Release embedded-hal{,-async,-nb} v1.0.0-rc.1, embedded-hal-bus v0.1.0-rc.1 2023-08-15 21:11:14 +02:00
Dario Nieuwenhuis
6cfdb7af27 Merge pull request #484 from mkj/links
Fix doc links for adapters, add features
2023-08-15 14:24:32 +00:00
Matt Johnston
cb1fdf2ec4 Fix doc links for adapters, add features
The doc links in the README needed updating
Include tokio and futures features in docs
2023-08-15 22:20:24 +08:00
Dario Nieuwenhuis
bf2b8a11fd Merge pull request #450 from rust-embedded/bus-defmt
hal: add optional defmt support.
2023-08-07 10:37:19 +00:00
Diego Barrios Romero
6d8393937a Merge pull request #481 from Dirbaio/embedded-io-release
io: add defmt support, release v0.5
embedded-io-v0.5.0 embedded-io-async-v0.5.0 embedded-io-adapters-v0.5.0
2023-08-07 07:15:43 +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
9fd6ebcfb0 hal: add optional defmt support. 2023-08-06 20:51:04 +02:00
Dario Nieuwenhuis
6ea5659bab io: Release embedded-io 0.5 2023-08-06 15:41:18 +02:00
Dario Nieuwenhuis
35b0dc3398 io: add defmt support. 2023-08-06 15:41:18 +02:00
Dario Nieuwenhuis
428c6a14d1 io/adapters: derive Clone for ToStd. 2023-08-06 15:33:23 +02:00
Dario Nieuwenhuis
a94b507108 Merge pull request #477 from bugadani/spidevice
Merge spi `ExclusiveDevice` implementations
2023-07-19 10:55:40 +00:00
Dániel Buga
ff94c7d109 Implement async DelayUs for NoDelay 2023-07-18 23:12:28 +02:00
Dániel Buga
8d03c73d8e Merge spi ExclusiveDevice implementations 2023-07-18 22:48:44 +02:00
Diego Barrios Romero
3d069faca5 Merge pull request #474 from Dirbaio/bus-stuff
spi: move async ExclusiveDevice to embedded-hal-bus.
2023-07-17 10:52:45 +00:00
Diego Barrios Romero
8c73e4d383 Merge pull request #476 from rust-embedded/io-docs2
Update some readmes.
2023-07-17 10:51:54 +00:00
Diego Barrios Romero
7921e820fb Fix typo 2023-07-17 12:50:26 +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
b2c2971592 spi: move async ExclusiveDevice to embedded-hal-bus. 2023-07-17 12:28:17 +02:00
Dario Nieuwenhuis
1567dee785 bus: add doc(cfg). 2023-07-17 12:28:17 +02:00
Dario Nieuwenhuis
994c6c92be readme: document that serial should use embedded-io. 2023-07-17 12:27:58 +02:00
Dario Nieuwenhuis
baccfdbc5a readme: remove stm32f1xx-hal as reference impl.
It doesn't implement embedded-hal 1.0.
2023-07-17 12:27:58 +02:00
Dario Nieuwenhuis
ebde206150 readme: add io crates. 2023-07-17 12:27:58 +02:00