File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,13 @@ This crate contains asynchronous versions of the [`embedded-hal`](https://crates
10
10
11
11
This project is developed and maintained by the [ HAL team] ( https://github.com/rust-embedded/wg#the-hal-team ) .
12
12
13
+ ## Serial/UART traits
14
+
15
+ There is no serial traits in ` embedded-hal-async ` . Instead, use [ ` embedded-io-async ` ] ( https://crates.io/crates/embedded-io ) .
16
+ A serial port is essentially a byte-oriented stream, and that's what ` embedded-io-async ` models. Sharing the traits
17
+ with all byte streams has some advantages. For example, it allows generic code providing a command-line interface
18
+ or a console to operate either on hardware serial ports or on virtual ones like Telnet or USB CDC-ACM.
19
+
13
20
## Minimum Supported Rust Version (MSRV)
14
21
15
22
This crate requires Rust nightly newer than ` nightly-2022-11-22 ` , due to requiring support for
Original file line number Diff line number Diff line change @@ -78,6 +78,13 @@ embedded-hal keyword](https://doc.rust-lang.org/cargo/reference/manifest.html#pa
78
78
to your crate before publishing it!
79
79
//
80
80
81
+ ## Serial/UART traits
82
+
83
+ There is no serial traits in ` embedded-hal ` . Instead, use [ ` embedded-io ` ] ( https://crates.io/crates/embedded-io ) .
84
+ A serial port is essentially a byte-oriented stream, and that's what ` embedded-io ` models. Sharing the traits
85
+ with all byte streams has some advantages. For example, it allows generic code providing a command-line interface
86
+ or a console to operate either on hardware serial ports or on virtual ones like Telnet or USB CDC-ACM.
87
+
81
88
## Minimum Supported Rust Version (MSRV)
82
89
83
90
This crate is guaranteed to compile on stable Rust 1.60 and up. It * might*
You can’t perform that action at this time.
0 commit comments