Skip to content

@TedDriggs TedDriggs released this Mar 20, 2019 · 1 commit to master since this release

  • Enable "did you mean" suggestions by default
  • Make darling_core::{codegen, options} private #58
  • Fix Override::as_mut: #66
Assets 2

@TedDriggs TedDriggs released this Mar 18, 2019 · 14 commits to master since this release

  • Added "did you mean" suggestions for unknown fields behind the suggestions flag #60
  • Added Error::unknown_field_with_alts to support the suggestion use-case.
  • Added ast::Fields::len and ast::Fields::is_empty methods.
  • Added LICENSE files to darling_core and darling_macro
Assets 2

@TedDriggs TedDriggs released this Feb 4, 2019 · 39 commits to master since this release

  • Accept unquoted positive numeric literals #52
  • Add FromMeta to the syn::Lit enum and its variants
  • Improve error message for unexpected literal formats to not say "other"
Assets 2

@TedDriggs TedDriggs released this Feb 4, 2019 · 45 commits to master since this release

  • Substantially overhaul errors #39
  • Add support for ignoring unknown fields in an otherwise-parsed attribute
  • Add span information to errors
Assets 2

@TedDriggs TedDriggs released this Jan 22, 2019 · 53 commits to master since this release

Add Span support to darling::Error in preparation for proc-macros being allowed to emit diagnostics. This change will cause errors encountered by darling to point to the right locations in user source code, which will make darling-backed crates much more ergonomic to use.

Assets 2

@TedDriggs TedDriggs released this Oct 2, 2018 · 67 commits to master since this release

  • Update syn to 0.15 #44. Thanks to @hcpl
Assets 2

@TedDriggs TedDriggs released this Jul 24, 2018 · 69 commits to master since this release

  • Update dependencies on serde and proc-macro2
  • Add IdentString to handle cases where code needs to treat idents as strings
Assets 2

@TedDriggs TedDriggs released this May 23, 2018 · 72 commits to master since this release

Extend the coverage of UsesTypeParams and UsesLifetimes

Assets 2

@TedDriggs TedDriggs released this May 22, 2018 · 73 commits to master since this release

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

Assets 2

@TedDriggs TedDriggs released this May 17, 2018 · 78 commits to master since this release

  • Fixed an issue with supports(struct_*) caused by the syn upgrade, and added tests to make sure it doesn't break again.
Assets 2
You can’t perform that action at this time.