macro_rules! strings {
($macro:ident) => {
$macro!(&'static str);
$macro!(::std::string::String);
$macro!(::std::borrow::Cow<'static, str>);
$macro!(::std::rc::Rc<str>);
$macro!(::std::sync::Arc<str>);
$macro!(::std::boxed::Box<str>);
};
}
macro_rules! numerics {
($macro:ident) => {
$macro!(u8, itoa);
$macro!(u16, itoa);
$macro!(u32, itoa);
$macro!(u64, itoa);
$macro!(u128, itoa);
$macro!(usize, itoa);
$macro!(i8, itoa);
$macro!(i16, itoa);
$macro!(i32, itoa);
$macro!(i64, itoa);
$macro!(i128, itoa);
$macro!(isize, itoa);
$macro!(f32, ryu);
$macro!(f64, ryu);
};
}
pub(crate) use {numerics, strings};