// Copyright 2025. Jonas Kruckenberg // // Licensed under the Apache License, Version 2.0, or the MIT license , at your option. This file may not be // copied, modified, or distributed except according to those terms. #![feature(allocator_api)] #![cfg_attr(not(any(test, feature = "__bench")), no_std)] #![feature(debug_closure_helpers)] #![feature(never_type)] extern crate alloc; mod error; pub mod executor; pub mod loom; pub mod sync; pub mod task; pub mod time; pub use error::{Closed, SpawnError}; pub use futures::future; cfg_if::cfg_if! { if #[cfg(feature = "__bench")] { pub mod test_util; } else if #[cfg(test)] { mod test_util; } }