mono-macro 0.1.3

Force monomorphizing on functions with `share-generics` to minimalize binary size.
Documentation
1
2
3
4
5
6
7
use mono_macro::mono;

#[test]
fn test_lifetime() {
    #[mono(T = i32)]
    fn foo<'a, T>(_s: &'a str, _t: T) {}
}