Skip to content

Releases: TedDriggs/darling

v0.13.3

06 Apr 14:03

Choose a tag to compare

  • Add error::Accumulator #164
  • Impl FromMeta for syn::Type and its newtype variants #172

v0.13.2

01 Apr 14:08

Choose a tag to compare

  • Impl FromMeta for syn::ExprPath #170

v0.13.1

07 Dec 14:33

Choose a tag to compare

  • Add FromAttributes trait and macro #151

New Contributors

v0.13.0

03 Aug 13:23

Choose a tag to compare

  • Bump edition to 2018
  • Error on duplicate fields in #[darling(...)] attributes #130
  • Impl Copy for SpannedValue<T: Copy>
  • Add SpannedValue::map_ref

v0.12.4

20 Apr 20:05

Choose a tag to compare

  • Add #[darling(and_then = "...")] as an alternative to #[darling(map = "...")]

v0.12.3

08 Apr 14:04

Choose a tag to compare

  • Fix FromMeta impl for char #126

v0.12.2

24 Feb 15:25

Choose a tag to compare

  • Impl FromMeta for HashMap with Path and Ident keys

v0.12.1

22 Feb 17:24

Choose a tag to compare

  • Impl FromMeta for ExprArray and various integer Vecs #122
  • Remove unreachable from darling::ast::Data #123
  • Add darling::ast::Data::try_empty_from #123

v0.12.0

06 Jan 19:00

Choose a tag to compare

  • 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

v0.11.0

14 Dec 19:58

Choose a tag to compare

  • Fixes semver breakage from v0.10.3

For additional information, see CHANGELOG.md