net: feature-gate nightly-only async traits to allow building on stable.

This commit is contained in:
Dario Nieuwenhuis
2022-08-30 19:25:36 +02:00
parent 92ed95780d
commit 464ae67108
16 changed files with 99 additions and 66 deletions

View File

@ -16,7 +16,7 @@ use embassy_sync::blocking_mutex::raw::ThreadModeRawMutex;
use embassy_sync::channel::Channel;
use embassy_usb::{Builder, Config, UsbDevice};
use embassy_usb_ncm::{CdcNcmClass, Receiver, Sender, State};
use embedded_io::asynch::{Read, Write};
use embedded_io::asynch::Write;
use static_cell::StaticCell;
use {defmt_rtt as _, panic_probe as _};