diff options
| author | Dario Nieuwenhuis <[email protected]> | 2022-05-19 05:54:15 +0200 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2022-05-19 06:15:01 +0200 |
| commit | e3b8e35498e9ff749db698ef82b3d86a65ba4ffb (patch) | |
| tree | 8951e6907927003d20d4567f500c29bf76009001 /embassy-net/src/lib.rs | |
| parent | 0b2f43c391f1f1f6525484c369a24e72610dd8ef (diff) | |
Make embassy-net nightly-only.
It's useless without async traits, so juggling the `nightly` feature
around is not worth the pain.
Diffstat (limited to 'embassy-net/src/lib.rs')
| -rw-r--r-- | embassy-net/src/lib.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/embassy-net/src/lib.rs b/embassy-net/src/lib.rs index ded841909..18dc1ef61 100644 --- a/embassy-net/src/lib.rs +++ b/embassy-net/src/lib.rs | |||
| @@ -1,9 +1,6 @@ | |||
| 1 | #![cfg_attr(not(feature = "std"), no_std)] | 1 | #![cfg_attr(not(feature = "std"), no_std)] |
| 2 | #![allow(clippy::new_without_default)] | 2 | #![allow(clippy::new_without_default)] |
| 3 | #![cfg_attr( | 3 | #![feature(generic_associated_types, type_alias_impl_trait)] |
| 4 | feature = "nightly", | ||
| 5 | feature(generic_associated_types, type_alias_impl_trait) | ||
| 6 | )] | ||
| 7 | 4 | ||
| 8 | // This mod MUST go first, so that the others see its macros. | 5 | // This mod MUST go first, so that the others see its macros. |
| 9 | pub(crate) mod fmt; | 6 | pub(crate) mod fmt; |
