forked from lavina/lavina
1
0
Fork 0
lavina/src/prelude.rs

15 lines
262 B
Rust
Raw Normal View History

2023-01-19 17:18:41 +00:00
pub use tokio::pin;
pub use tokio::select;
pub mod log {
pub use tracing::{debug, error, info, warn};
}
pub type Result<T> = std::result::Result<T, anyhow::Error>;
pub fn failure(explain: &str) -> Result<()> {
panic!()
}
pub use std::future::Future;