2023-02-09 18:19:03 +00:00
|
|
|
pub use std::future::Future;
|
|
|
|
|
2023-01-19 17:18:41 +00:00
|
|
|
pub use tokio::pin;
|
|
|
|
pub use tokio::select;
|
2023-01-19 17:58:56 +00:00
|
|
|
pub use tokio::task::JoinHandle;
|
2023-02-14 00:44:03 +00:00
|
|
|
pub use tokio::sync::oneshot::{channel as oneshot, Receiver as Deferred, Sender as Promise};
|
2023-01-19 17:18:41 +00:00
|
|
|
|
|
|
|
pub mod log {
|
|
|
|
pub use tracing::{debug, error, info, warn};
|
|
|
|
}
|
|
|
|
|
|
|
|
pub type Result<T> = std::result::Result<T, anyhow::Error>;
|
2023-02-12 23:31:16 +00:00
|
|
|
|
|
|
|
pub type ByteVec = Vec<u8>;
|