diff options
| author | Dániel Buga <[email protected]> | 2023-10-30 19:06:08 +0100 |
|---|---|---|
| committer | Dániel Buga <[email protected]> | 2023-10-30 19:10:45 +0100 |
| commit | ad07ea02909f7c10b5c2bd2bb40c81aea414db4a (patch) | |
| tree | 1a168144cf71e4f36a8c8649d1a9ab0db5c48ec3 /embassy-embedded-hal/src/lib.rs | |
| parent | b6fc682117a41e8e63a9632e06da5a17f46d9ab0 (diff) | |
Re-add impl_trait_projections
Diffstat (limited to 'embassy-embedded-hal/src/lib.rs')
| -rw-r--r-- | embassy-embedded-hal/src/lib.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/embassy-embedded-hal/src/lib.rs b/embassy-embedded-hal/src/lib.rs index ee964e404..f836d9f76 100644 --- a/embassy-embedded-hal/src/lib.rs +++ b/embassy-embedded-hal/src/lib.rs | |||
| @@ -1,5 +1,6 @@ | |||
| 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, try_blocks))] | 2 | #![cfg_attr(feature = "nightly", feature(async_fn_in_trait, impl_trait_projections, try_blocks))] |
| 3 | #![cfg_attr(feature = "nightly", allow(stable_features, unknown_lints, async_fn_in_trait))] | ||
| 3 | #![warn(missing_docs)] | 4 | #![warn(missing_docs)] |
| 4 | 5 | ||
| 5 | //! Utilities to use `embedded-hal` traits with Embassy. | 6 | //! Utilities to use `embedded-hal` traits with Embassy. |
