monoio_route/lib.rs
1mod error;
2mod parser;
3mod tree;
4mod util;
5
6pub type SmallVec<T> = smallvec::SmallVec<[T; 4]>;
7pub type Params<'k, 'v> = SmallVec<(&'k [u8], &'v [u8])>;
8pub type ParamsStr<'k, 'v> = SmallVec<(&'k str, &'v str)>;
9pub type ParamsOwned = SmallVec<(Vec<u8>, Vec<u8>)>;
10pub type ParamsStrOwned = SmallVec<(String, String)>;
11
12pub use error::InsertError;
13pub use tree::Tree;
14pub use util::{ParamsConvertOwned, ParamsConvertStr, ParamsGet, ParamsGetOwned};