Make embassy-net nightly-only.

It's useless without async traits, so juggling the `nightly` feature
around is not worth the pain.
This commit is contained in:
Dario Nieuwenhuis
2022-05-19 05:54:15 +02:00
parent 0b2f43c391
commit e3b8e35498
7 changed files with 132 additions and 143 deletions

View File

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