darling 0.24.0

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 TryFrom<&syn::Data> impl for Vec<String>.
    data: Vec<String>,
}

fn main() {}