derive_more 2.1.1

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

#[derive(derive_more::Debug)]
#[debug(fmt = "Stuff({}): {}", _0)]
pub struct Bar(String);

fn main() {}