Skip to content

Releases: valsteen/sort_by_derive

Add support for lifetimes in enum accessor

21 Dec 15:27
Compare
Choose a tag to compare

the following didn't emit correctly the accessor implementation:

#[accessor(acc1: usize, (B))]
enum SomeEnum<'a, Get: Fn() -> u8> {
    A(A),
    B,
    C(&'a Get)
}

it will now compile successfully

Update to syn 2.x , add support for tuples by index in sort_by

06 Aug 12:05
Compare
Choose a tag to compare

What's Changed

  • Update syn to v2.0.28 by @valsteen in #16
  • Add support to sort by tuple index ( #[sort_by(3, 2,1 )] ) by @valsteen in #17

Full Changelog: 0.1.15...0.1.16

Bugfix: make accessor methods public

29 Jul 13:50
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.1.14...0.1.15

Fix method name collisions in generated accessor methods

24 Jul 05:57
Compare
Choose a tag to compare

What's Changed

  • Use alias instead of attribute to detect duplicate accessors by @valsteen in #11
  • Prevent accessor collision with existing methods by directly creating a impl block by @valsteen in #12

Full Changelog: 0.1.13...0.1.14

Add CI with linting, formatting and testing (including docs)

20 Jun 07:03
Compare
Choose a tag to compare

Lifetimes bugfix

17 Jun 15:40
Compare
Choose a tag to compare
0.1.12

bump version

Add support for tuple structs

17 Jun 14:59
Compare
Choose a tag to compare
0.1.11

bump version

Implement Only/Except

24 Sep 06:55
Compare
Choose a tag to compare
0.1.10

update doc

Add mut call support

23 Sep 10:04
Compare
Choose a tag to compare
0.1.9

support mut calls

Alias support

22 Sep 21:49
Compare
Choose a tag to compare
0.1.8

publish tag