mod app;
mod config;
mod poison;
mod router;
mod templates;
mod utils;
use router::QueryParams;
use router::new_miasma_router;
pub use app::Miasma;
pub use config::MiasmaConfig;
use bytes::Bytes;
use futures::Stream;
pub const MIASMA_USER_AGENT: &str = concat!(
env!("CARGO_PKG_NAME"),
"/",
env!("CARGO_PKG_VERSION"),
" (github.com/austin-weeks/miasma)"
);
pub trait MiasmaStream<E = anyhow::Error>: Stream<Item = Result<Bytes, E>> {}
impl<T, E> MiasmaStream<E> for T where T: Stream<Item = Result<Bytes, E>> {}