formars-derive 0.1.0

Opt-in `#[derive(FormSchema)]` companion for formars-core.
Documentation
1
2
3
4
5
6
7
8
// `#[form]` is a helper attribute of the derive: on a struct WITHOUT the
// derive, rustc itself rejects it as unregistered.
#[form(label = "nope")]
struct Plain {
    name: String,
}

fn main() {}