and_then to derive macros for darlingFromMeta impl for char not to panic #126FromMeta for HashMap<Ident, V> and HashMap<Path, V>FromMeta for syn::ExprArray #122unreachable from darling::ast::Data #123darling::ast::Data::try_empty_from to avoid panics when trying to read a union body #123FromDeriveInput, FromField, FromVariant, and FromTypeParam will now error when encountering an attribute darling has been asked to parse that isn't a supported shape. Any crates using darling that relied on those attributes being silently ignored could see new errors reported in their dependent crates. #113syn::spanned::Spanned for darling::util::SpannedValue #113darling::util::parse_attribute_to_meta_list to provide useful errors during attribute parsing #113impl From<syn::Error> for Error to losslessly propagate syn errors #116discriminant magic field when deriving FromVariant #105darling_core::{codegen, options} private #58Override::as_mut: #66suggestions flag #60Error::unknown_field_with_alts to support the suggestion use-case.ast::Fields::len and ast::Fields::is_empty methods.FromMeta to the syn::Lit enum and its variantssyn::Error to provide precise errors before proc_macro::Diagnostic is availablediagnostics feature flag to toggle between stable and unstable error backendsallow_unknown_fields to support parsing the same attribute multiple times for different macros #51darling attributesset_span from 0.8.2, as spans should never be broadened after being initially setdarling::util::SpannedValue so proc-macro authors can remember position information alongside parsed values.syn to 0.15 #44. Thanks to @hcplsyn and proc-macro2util::IdentString, which acts as an Ident or its string equivalentUses* traits in where predicatesusage module for tracking type param and lifetime usage in generic declarationsFromMeta bounds to type parameters only used by skipped fields #40syn update broke shape validation #36FromMetaItem to FromMeta, and renamed from_meta_item method to from_metaderive(FromMetaItem) which panics and redirects users to FromMetaast::Generics and ast::GenericParam to work with generics in a manner similar to ast::Dataast::GenericParamExt to support alternate representations of generic parametersutil::WithOriginal to get a parsed representation and syn's own struct for a syntax blockFromGenerics and FromGenericParam traits (without derive support)generics magic field to invoke FromGenerics trait during parsingFromTypeParam trait #30. Thanks to @upsuperproc-macro, quote, and syn #26. Thanks to @hcplYANKED
Default on darling::Ignored (fixes #25).syn to 0.12 #20. Thanks to @Eijebongquote to 0.4 #20. Thanks to @Eijebongbody in derived FromDeriveInput structs to data to stay in sync with syndata in derived FromVariant structs to fields to stay in sync with synlazy_static to 1.0 #15. Thanks to @Eijebongimpl FromMetaItem for integer types #15