macro_state 0.2.1

A set of macros allowing storing and loading global state at compile-time within proc macros.
Documentation
1
2
3
4
5
6
fn main() {
    println!(
        "cargo:rustc-env=MACRO_STATE_DIR={}",
        std::env::var("OUT_DIR").unwrap()
    )
}