1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#![warn(
trivial_casts,
trivial_numeric_casts,
unused_import_braces,
unused_qualifications
)]
#![allow(clippy::new_ret_no_self)]
#![cfg_attr(not(feature = "std"), no_std)]
#[cfg(feature = "std")]
#[macro_use]
extern crate core;
#[cfg(feature = "alloc")]
extern crate alloc;
#[macro_use]
extern crate tracing;
pub mod channel;
pub mod executor;
pub mod runtime;
pub mod time;
pub mod tokio {
pub use crate::runtime;
pub mod sync {
pub mod mpsc {
pub use crate::channel::*;
}
pub mod oneshot {
pub use futures::channel::oneshot::*;
}
}
pub mod task {
pub use crate::runtime;
pub use runtime::yield_now;
pub use runtime::JoinHandle;
}
pub use crate::time;
}