feature flag async-std

This commit is contained in:
John Smith
2022-06-26 21:12:16 -04:00
parent 2799e0464a
commit ebea72c9db
3 changed files with 23 additions and 14 deletions

View File

@@ -1,5 +1,9 @@
#![deny(clippy::all)]
#![deny(unused_must_use)]
#[cfg(all(feature = "rt-async-std", feature = "rt-tokio"))]
compile_error!(
"feature \"rt-async-std\" and feature \"rt-tokio\" cannot be enabled at the same time"
);
#[macro_use]
extern crate alloc;