diff options
| author | Ulf Lilleengen <[email protected]> | 2022-06-15 09:06:18 +0200 |
|---|---|---|
| committer | Ulf Lilleengen <[email protected]> | 2022-06-15 09:06:18 +0200 |
| commit | f8f56c926df1c3b645b24b978404ef2303f60d0e (patch) | |
| tree | 37f05540fa4b3ceedd5b88011f2ddbf656fc13e5 | |
| parent | 746bc75a8ec2576548b9ce5a956b0960d9c00737 (diff) | |
Include README.md in crate documentation
| -rw-r--r-- | README.md | 4 | ||||
| -rw-r--r-- | embassy/src/lib.rs | 1 |
2 files changed, 3 insertions, 2 deletions
| @@ -145,8 +145,8 @@ EMBedded ASYnc! :) | |||
| 145 | This work is licensed under either of | 145 | This work is licensed under either of |
| 146 | 146 | ||
| 147 | - Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or | 147 | - Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or |
| 148 | http://www.apache.org/licenses/LICENSE-2.0) | 148 | <http://www.apache.org/licenses/LICENSE-2.0>) |
| 149 | - MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT) | 149 | - MIT license ([LICENSE-MIT](LICENSE-MIT) or <http://opensource.org/licenses/MIT>) |
| 150 | 150 | ||
| 151 | at your option. | 151 | at your option. |
| 152 | 152 | ||
diff --git a/embassy/src/lib.rs b/embassy/src/lib.rs index 1b6ff2d4b..c3b2726aa 100644 --- a/embassy/src/lib.rs +++ b/embassy/src/lib.rs | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | #![cfg_attr(not(any(feature = "std", feature = "wasm")), no_std)] | 1 | #![cfg_attr(not(any(feature = "std", feature = "wasm")), no_std)] |
| 2 | #![cfg_attr(feature = "nightly", feature(generic_associated_types, type_alias_impl_trait))] | 2 | #![cfg_attr(feature = "nightly", feature(generic_associated_types, type_alias_impl_trait))] |
| 3 | #![allow(clippy::new_without_default)] | 3 | #![allow(clippy::new_without_default)] |
| 4 | #![doc = include_str!("../../README.md")] | ||
| 4 | 5 | ||
| 5 | // This mod MUST go first, so that the others see its macros. | 6 | // This mod MUST go first, so that the others see its macros. |
| 6 | pub(crate) mod fmt; | 7 | pub(crate) mod fmt; |
