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 2026Releases
latest 23-
1.0.303 Mar 2026 -
1.0.230 May 2024 -
1.0.129 Sep 2022Release notes
Open source →- Fix "patterns aren't allowed in functions without bodies" error when patterns are used in arguments.
Release notes
Open source →- Fix "patterns aren't allowed in functions without bodies" error when patterns are used in arguments.
-
1.0.024 Aug 2021Release notes
Open source →-
Remove deprecated old impl-level visibility syntax (
#[ext(pub)]).Use
pub implsyntax instead:- #[ext(pub)] - impl Type { + #[ext] + pub impl Type { fn method(&self) {} }
Release notes
Open source →-
Remove deprecated old impl-level visibility syntax (
#[ext(pub)]). (#38)Use
pub implsyntax instead:- #[ext(pub)] - impl Type { + #[ext] + pub impl Type { fn method(&self) {} }
-
-
0.2.903 Jul 2021 -
0.2.823 Jun 2021 withdrawnRelease notes
Open source →-
Support specifying visibility directly on
impl.#[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) {} }
Release notes
Open source →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)
-
-
0.2.725 Mar 2021 -
0.2.619 Jan 2021 -
0.2.505 Jan 2021 -
0.2.429 Dec 2020 -
0.2.324 Aug 2020Release notes
Open source →- Documentation (
#[doc]attributes) is now generated only for trait definitions. Previously it generated for both trait definition and trait implementation. See #20 for more details.
- Documentation (
-
0.2.222 Jul 2020Release notes
Open source →-
Fix
unused_attributeslint in generated code. (#22) -
Diagnostic improvements.
-
-
0.2.111 Jul 2020 -
0.2.022 Apr 2020 -
0.1.820 Apr 2020 -
0.1.720 Apr 2020 -
0.1.612 Oct 2019 -
0.1.515 Aug 2019 -
0.1.410 Mar 2019 -
0.1.321 Feb 2019Release notes
Open source →- Removed
inlineattributes on trait method side. It can avoidclippy::inline_fn_without_bodylint by this.
- Removed
-
0.1.221 Feb 2019Release notes
Open source →-
Used
#[allow(patterns_in_fns_without_body)]to generated extension trait. -
Fixed some bugs related to generics.
-
-
0.1.121 Feb 2019 withdrawn -
0.1.020 Feb 2019 withdrawn