Skip to content

v0.12.0

Compare
Choose a tag to compare
@TedDriggs TedDriggs released this 06 Jan 19:00
  • POSSIBLY BREAKING: Derived impls of FromDeriveInput, 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. #113
  • Impl syn::spanned::Spanned for darling::util::SpannedValue #113
  • Add darling::util::parse_attribute_to_meta_list to provide useful errors during attribute parsing #113
  • Add impl From<syn::Error> for Error to losslessly propagate syn errors #116