Skip to content

Releases: auto-impl-rs/auto_impl

v0.4.0

19 Jul 13:36
d17214e
Compare
Choose a tag to compare
  • Add ?Sized relaxation to impl header whenever possible #54
  • Check for Self trait bounds on methods and add those bounds to impl header #54 (and fix in #67)
  • Make sure that auto_impl custom attributes are only applied to methods #59

Internals

  • Update syn, quote and proc-macro2 to 1.0 #57
  • Use trybuild and move to proc-macro-error #60

v0.3.0

0.2.0

09 Oct 07:17
Compare
Choose a tag to compare
  • Use consistent dereferencing in generated method impls for Rc, Arc, Box, &T and &mut T
  • Support static methods on Rc, Arc, Box, &T and &mut T
  • Support by-value methods on Box

0.1.2

07 Oct 13:18
Compare
Choose a tag to compare
  • Add support for auto implementing for &T and &mut T by adding & and &mut to the attribute respectively.
  • Add a parser for the attribute syntax to support borrowed references

0.1.1

01 Aug 10:24
Compare
Choose a tag to compare
  • Remove a silly internal macro for collecting Vec<Result> in favour of the standard collect method (#2). Thanks for the suggestion @bjorn3!

0.1.0

01 Aug 09:30
Compare
Choose a tag to compare

Initial release supporting #[auto_impl] for:

  • Arc
  • Rc
  • Box
  • Fn
  • FnMut
  • FnOnce