Skip to content

Releases: kas-gui/impl-tools

0.5.0

22 Sep 18:10
8a5edc8
Compare
Choose a tag to compare
  • #[autoimpl] on traits now merges trait generics with macro generics (#21)
  • lib::autoimpl::struct_items returns the trait path in addition to impl items (#22)
  • Add lib::autoimpl::ImplArgs::for_fields, for_fields_iter (#22)
  • Add autoimpl support for Copy, AsRef, AsMut, Borrow, BorrowMut, PartialEq, Eq, PartialOrd, Ord, Hash (#22)
  • Add #[automatically_derived] annotation to generated impls (#22)

0.4.4

19 Sep 10:01
8ae5985
Compare
Choose a tag to compare
  • Fix #[autoimpl] on traits for items with where bounds on Self (#20)

0.4.3

18 Sep 06:55
5bbc050
Compare
Choose a tag to compare
  • Fix #[autoimpl] on traits for GATs with where clauses (#19)

0.4.2

17 Sep 14:04
b71e57e
Compare
Choose a tag to compare
  • Correct release of 0.4.1 (which bumped the version of impl-tools without bumping impl-tools-lib) (#18)
  • Fix #[autoimpl] on traits for GATs and attributes on trait const/method/type items (#17)

0.4.0

19 Aug 11:03
11556d7
Compare
Choose a tag to compare

Change signature of ScopeAttr::apply: replace args: TokenStream, attr_span: Span
with attr: Attribute (#15).

0.3.2

19 Aug 11:04
5ba0c13
Compare
Choose a tag to compare

Support no_std. Support matching standard traits via paths from core/alloc
as well as via paths from std.

0.3.0

19 Aug 11:05
dcef721
Compare
Choose a tag to compare

The library now supports extensibility. Most code has been moved to a new crate,
impl-tools-lib. Users may replace impl-tools with their own front-end
proc-macro crate, adding/removing the traits supported by #[autoimpl] and the
attributes supported by impl_scope!.

  • Extensibility for impl_scope!
  • Extensibility for #[autoimpl]
  • Permit path arguments in #[autoimpl]
  • Bug-fix for #[autoimpl(Debug)] on tuple and unit structs
  • Lots of internal code revision

0.2.0

19 Aug 11:05
0947472
Compare
Choose a tag to compare

Add impl_scope! function-like macro (derived from kas_macros::widget!) and
#[impl_default] attribute macro.

0.1.0

19 Aug 11:05
f2b62a8
Compare
Choose a tag to compare

New release, including the #[autoimpl] attribute macro (extracted from
kas-macros crate).