derive_more_preview 0.1.0

Adds #[derive(x)] macros for more traits
1
2
3
4
5
6
7
#[derive(derive_more::Debug)]
pub struct Foo {
    #[debug("Stuff({}): {}", bar)]
    bar: String,
}

fn main() {}