1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#![no_std] extern crate no_std_compat as std; extern crate alloc; use std::prelude::v1::*; //#![cfg_attr(not(feature = "std"), no_std)] #[cfg(not(feature = "std"))] mod no_std; #[cfg(not(feature = "std"))] pub use crate::no_std::*; #[cfg(feature = "std")] pub use tower_http::*;