Releases: auto-impl-rs/auto_impl
Releases · auto-impl-rs/auto_impl
v0.4.0
- 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
0.2.0
- 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
- 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
- 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
Initial release supporting #[auto_impl]
for:
Arc
Rc
Box
Fn
FnMut
FnOnce