eager2 1.1.4

Proc-macros for eager macro expansion
Documentation
mod test_concat {
    use eager2::eager;

    macro_rules! lazy_macro {
        ("success") => {
            1
        };
        ($($v:tt)*) => {
            0
        };
    }

    #[test]
    fn test() {
        let x = eager! {
            lazy!{
                lazy_macro!{
                    eager!{
                        concat!{"suc", "cess"}
                    }
                }
            }
        };
        let y = lazy_macro! {
            concat!{"suc", "cess"}
        };
        assert_eq!(1, x);
        assert_eq!(0, y);
    }
}

#[test]
fn test_include() {
    eager2::eager! {
        include!{concat!{env!("CARGO_MANIFEST_DIR"), "/./includes/simple.rs"}}
    }
    assert_eq!(10, v);
}