PackageTrack
Sign in Get early access

easy-ext

A lightweight attribute macro for easily writing extension trait pattern.

1.0.3 4.0M downloads/mo #4989 most downloaded on crates.io taiki-e/easy-ext

What this package is like to depend on

Last release 5 months ago

03 Mar 2026

Ships unpredictably

gaps range from 9 days to 1.8 years

Nearly every release is documented

notes for 20 of 20 stable releases

3 versions withdrawn

withdrawn after publishing

8 years old

23 releases · first in 2019

1 release in the last 12 months

see the full history below

Release timeline

23 releases · Feb 2019 to Mar 2026
2020 2021 2022 2023 2024 2025 2026
Release Pre-release Withdrawn

Releases

latest 23
  1. 1.0.3 03 Mar 2026
    Release notes Open source →
    Release notes Open source →
  2. 1.0.2 30 May 2024
    Release notes
    • Fix error with arbitrary self types. (#42, thanks @mbazero)
    Open source →
    Release notes
    • Fix error with arbitrary self types. (#42, thanks @mbazero)
    Open source →
  3. 1.0.1 29 Sep 2022
    Release notes
    • Fix "patterns aren't allowed in functions without bodies" error when patterns are used in arguments.
    Open source →
    Release notes
    • Fix "patterns aren't allowed in functions without bodies" error when patterns are used in arguments.
    Open source →
  4. 1.0.0 24 Aug 2021
    Release notes
    Open source →
    Release notes
    • Remove deprecated old impl-level visibility syntax (#[ext(pub)]). (#38)

      Use pub impl syntax instead:

      - #[ext(pub)]
      - impl Type {
      + #[ext]
      + pub impl Type {
            fn method(&self) {}
        }
      
    Open source →
  5. 0.2.9 03 Jul 2021
    Release notes Open source →
    Release notes
    • Fix bug in parsing of where clause. (#37)
    Open source →
  6. 0.2.8 23 Jun 2021 withdrawn
    Release notes
    Open source →
    Release notes

    Note: This release has been yanked because of regression which fixed in 0.2.9.

    • Support specifying visibility directly on impl. (#31)

      #[ext(Ext)]
      pub impl Type {
          fn method(&self) {}
      }
      
      pub impl Type {
      ^^^
      

      The old impl-level visibility syntax (#[ext(pub)]) will still be supported, but it is deprecated and will be removed in the next major version.

      Migration:

      - #[ext(pub)]
      - impl Type {
      + #[ext]
      + pub impl Type {
          fn method(&self) {}
      }
      
    • Improve compile time by removing all dependencies. (#35)

    • Support type parameter defaults. (#32)

    Open source →
  7. 0.2.7 25 Mar 2021
    Release notes Open source →
    Release notes
    • Support associated types. (#26)
    Open source →
  8. 0.2.6 19 Jan 2021
    Release notes Open source →
    Release notes
    • Support specifying visibility at impl-level. (#25)
    Open source →
  9. 0.2.5 05 Jan 2021
    Release notes
    • Exclude unneeded files from crates.io.
    Open source →
    Release notes
    • Exclude unneeded files from crates.io.
    Open source →
  10. 0.2.4 29 Dec 2020
    Release notes
    • Documentation improvements.
    Open source →
    Release notes
    • Documentation improvements.
    Open source →
  11. 0.2.3 24 Aug 2020
    Release notes
    Open source →
  12. 0.2.2 22 Jul 2020
    Release notes
    • Fix unused_attributes lint in generated code. (#22)

    • Diagnostic improvements.

    Open source →
  13. 0.2.1 11 Jul 2020
    Release notes
    • Documentation improvements.
    Open source →
  14. 0.2.0 22 Apr 2020
    Release notes Open source →
  15. 0.1.8 20 Apr 2020
    Release notes
    • Documentation improvements.
    Open source →
  16. 0.1.7 20 Apr 2020
    Release notes
    • Supported unnamed extension trait. (#9)
    Open source →
  17. 0.1.6 12 Oct 2019
    Release notes
    • Improved error messages related to visibility. (#5)
    Open source →
  18. 0.1.5 15 Aug 2019
    Release notes
    • Updated syn and quote to 1.0.
    Open source →
  19. 0.1.4 10 Mar 2019
    Release notes
    • Updated minimum syn version to 0.15.29.
    Open source →
  20. 0.1.3 21 Feb 2019
    Release notes
    • Removed inline attributes on trait method side. It can avoid clippy::inline_fn_without_body lint by this.
    Open source →
  21. 0.1.2 21 Feb 2019
    Release notes
    • Used #[allow(patterns_in_fns_without_body)] to generated extension trait.

    • Fixed some bugs related to generics.

    Open source →
  22. 0.1.1 21 Feb 2019 withdrawn
    Release notes

    Note: This release has been yanked.

    • Fixed an error related to generics.
    Open source →
  23. 0.1.0 20 Feb 2019 withdrawn
    Release notes

    Note: This release has been yanked.

    Initial release

    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive