fluid_attributes 0.4.0

Proc macro attributes for the fluid crate.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
/// Macro used to debug the generated tokens. Add the `"debug"` feature to display those.

macro_rules! debug {
    ($e:expr) => {
        #[cfg(feature = "debug")]
        {
            let title = format!(" {} ", stringify!($e));
            println!("\x1B[32m{:=^40}", title);
            println!("{}", $e);
            println!("\x1B[32m========================================");
        }
    };
}