titan_utils/
lib.rs

1
2
3
4
5
6
7
8
9
use std::{error::Error, future::Future, pin::Pin};

#[cfg(feature = "internal-cssvalidate")]
pub mod validatecss;

pub type BoxStdError = Box<dyn Error>;

pub type BoxedFuture<O> = Pin<Box<dyn Future<Output = O>>>;
pub type BoxedSendFuture<O> = Pin<Box<dyn Future<Output = O> + Send>>;