shebling-codegen 0.0.0

Utility procedural macros for the `shebling` crate
Documentation
use shebling_codegen::New;

// Invalid uses of the #[new] attribute.

#[derive(New)]
struct Foo {
    #[new]
    foo: String,
}

#[derive(New)]
struct Bar {
    #[new()]
    bar: String,
}

#[derive(New)]
struct Baz {
    #[new(wrong)]
    baz: String,
}

fn main() {}