Include README.md in crate documentation

This commit is contained in:
Ulf Lilleengen 2022-06-15 09:06:18 +02:00
parent 746bc75a8e
commit f8f56c926d
2 changed files with 3 additions and 2 deletions

View File

@ -145,8 +145,8 @@ EMBedded ASYnc! :)
This work is licensed under either of
- Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or
http://www.apache.org/licenses/LICENSE-2.0)
- MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)
<http://www.apache.org/licenses/LICENSE-2.0>)
- MIT license ([LICENSE-MIT](LICENSE-MIT) or <http://opensource.org/licenses/MIT>)
at your option.

View File

@ -1,6 +1,7 @@
#![cfg_attr(not(any(feature = "std", feature = "wasm")), no_std)]
#![cfg_attr(feature = "nightly", feature(generic_associated_types, type_alias_impl_trait))]
#![allow(clippy::new_without_default)]
#![doc = include_str!("../../README.md")]
// This mod MUST go first, so that the others see its macros.
pub(crate) mod fmt;