diff options
Diffstat (limited to 'embassy-embedded-hal/src/lib.rs')
| -rw-r--r-- | embassy-embedded-hal/src/lib.rs | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/embassy-embedded-hal/src/lib.rs b/embassy-embedded-hal/src/lib.rs index ce5fac3f0..b40f892f4 100644 --- a/embassy-embedded-hal/src/lib.rs +++ b/embassy-embedded-hal/src/lib.rs | |||
| @@ -1,15 +1,13 @@ | |||
| 1 | #![cfg_attr(not(feature = "std"), no_std)] | 1 | #![cfg_attr(not(feature = "std"), no_std)] |
| 2 | #![cfg_attr(feature = "nightly", feature(async_fn_in_trait, impl_trait_projections))] | 2 | #![cfg_attr(nightly, feature(async_fn_in_trait, impl_trait_projections))] |
| 3 | #![cfg_attr(feature = "nightly", allow(stable_features, unknown_lints, async_fn_in_trait))] | 3 | #![cfg_attr(nightly, allow(stable_features, unknown_lints))] |
| 4 | #![allow(async_fn_in_trait)] | ||
| 4 | #![warn(missing_docs)] | 5 | #![warn(missing_docs)] |
| 5 | 6 | ||
| 6 | //! Utilities to use `embedded-hal` traits with Embassy. | 7 | //! Utilities to use `embedded-hal` traits with Embassy. |
| 7 | 8 | ||
| 8 | #[cfg(feature = "nightly")] | ||
| 9 | pub mod adapter; | 9 | pub mod adapter; |
| 10 | |||
| 11 | pub mod flash; | 10 | pub mod flash; |
| 12 | |||
| 13 | pub mod shared_bus; | 11 | pub mod shared_bus; |
| 14 | 12 | ||
| 15 | /// Set the configuration of a peripheral driver. | 13 | /// Set the configuration of a peripheral driver. |
