typekin 0.9.0

new-type pattern with concept of Friends borrowed from c++, no-std and fully const
Documentation
pub(crate) mod runner;
pub(crate) mod type_friendship;
pub(crate) mod value_type;

pub(crate) mod bitflag;
pub(crate) mod integral;

#[cfg(test)]
#[path = "tests/bitflag.rs"]
mod bitflag_tests;

#[cfg(test)]
#[path = "tests/integral.rs"]
mod integral_tests;

#[proc_macro_attribute]
pub fn integral(
    attr: proc_macro::TokenStream,
    item: proc_macro::TokenStream,
) -> proc_macro::TokenStream {
    return integral::integral(attr, item);
}

#[proc_macro_attribute]
pub fn bitflag(
    attr: proc_macro::TokenStream,
    item: proc_macro::TokenStream,
) -> proc_macro::TokenStream {
    return bitflag::bitflag(attr, item);
}