darling 0.24.1

A proc-macro library for reading attributes into structs when implementing custom derives.
Documentation
1
2
3
4
5
6
7
8
#[derive(darling::FromDeriveInput)]
#[darling(attributes(example))]
pub struct Example {
    // There is no FromGenerics impl for Vec<String>.
    generics: Vec<String>,
}

fn main() {}