aboutsummaryrefslogtreecommitdiff
path: root/embassy-usb-driver/README.md
diff options
context:
space:
mode:
authorDario Nieuwenhuis <[email protected]>2023-01-31 22:27:19 +0100
committerDario Nieuwenhuis <[email protected]>2023-01-31 22:27:19 +0100
commitca10fe7135d10084e38038f3cd433da39e505bea (patch)
tree075aca4a76caccd1bba95869c64bbb838969c8b1 /embassy-usb-driver/README.md
parent4c1946454874597c358e7c7d5bf555b687376a5b (diff)
usb: docs
Diffstat (limited to 'embassy-usb-driver/README.md')
-rw-r--r--embassy-usb-driver/README.md32
1 files changed, 32 insertions, 0 deletions
diff --git a/embassy-usb-driver/README.md b/embassy-usb-driver/README.md
new file mode 100644
index 000000000..012663c3f
--- /dev/null
+++ b/embassy-usb-driver/README.md
@@ -0,0 +1,32 @@
1# embassy-usb-driver
2
3This crate contains the driver traits for [`embassy-usb`]. HAL/BSP crates can implement these
4traits to add support for using `embassy-usb` for a given chip/platform.
5
6The traits are kept in a separate crate so that breaking changes in the higher-level [`embassy-usb`]
7APIs don't cause a semver-major bump of thsi crate. This allows existing HALs/BSPs to be used
8with the newer `embassy-usb` without needing updates.
9
10If you're writing an application using USB, you should depend on the main [`embassy-usb`] crate
11instead of this one.
12
13[`embassy-usb`]: https://crates.io/crates/embassy-usb
14
15## Interoperability
16
17This crate can run on any executor.
18
19## Minimum supported Rust version (MSRV)
20
21This crate requires nightly Rust, due to using "async fn in trait" support.
22
23## License
24
25This work is licensed under either of
26
27- Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or
28 <http://www.apache.org/licenses/LICENSE-2.0>)
29- MIT license ([LICENSE-MIT](LICENSE-MIT) or <http://opensource.org/licenses/MIT>)
30
31at your option.
32