Skip to content

Releases: TedDriggs/darling

v0.6.3

23 May 00:36

Choose a tag to compare

Extend the coverage of UsesTypeParams and UsesLifetimes

v0.6.2

22 May 21:41

Choose a tag to compare

Add the usage module, with UsesTypeParams and UsesLifetimes. These traits help track usage of generic parameters throughout a proc-macro input, simplifying bounding or generation of derivative structs. See #40 and #41

v0.6.1

17 May 22:07

Choose a tag to compare

  • Fixed an issue with supports(struct_*) caused by the syn upgrade, and added tests to make sure it doesn't break again.

v0.6.0

16 May 00:04
f1b59e2

Choose a tag to compare

Rename FromMetaItem to FromMeta

v0.5.0

11 May 00:31

Choose a tag to compare

  • Add ast::Generics and ast::GenericParam to work with generics in a manner similar to ast::Data
  • Add ast::GenericParamExt to support alternate representations of generic parameters
  • Add util::WithOriginal to get a parsed representation and syn's own struct for a syntax block
  • Add FromGenerics and FromGenericParam traits (without derive support)
  • Change generated code for generics magic field to invoke FromGenerics trait during parsing
  • Add FromTypeParam trait #30. Thanks to @upsuper

v0.4.0

03 May 17:11

Choose a tag to compare

Update version to 0.4.0

v0.3.3

02 Apr 20:22

Choose a tag to compare

  • Update dependencies #26. Thanks to @hcpl

v0.3.1

07 Mar 19:39

Choose a tag to compare

Add support for proc-macro-2 (#24)

v0.3.0

27 Jan 00:10

Choose a tag to compare

Breaking Changes

  • Update syn to 0.12 #20. Thanks to @Eijebong
  • Update quote to 0.4 #20. Thanks to @Eijebong
  • Rename magic field body in derived FromDeriveInput structs to data to stay in sync with syn
  • Rename magic field data in derived FromVariant structs to fields to stay in sync with syn

v0.2.2

05 Dec 16:27

Choose a tag to compare