subenum
A proc-macro to create subsets of enums, that can be converted to and from.
1.2.0
4.7M downloads/mo
#4629 most downloaded on crates.io
paholg/subenum
What this package is like to depend on
Last release 3 months ago
26 Apr 2026
Release timing varies
gaps range from 2 weeks to 1.6 years
Nearly every release is documented
notes for 8 of 8 stable releases
Nothing withdrawn
no release was ever pulled
4 years old
8 releases · first in 2023
2 releases in the last 12 months
see the full history below
Release timeline
8 releases · Feb 2023 to Apr 2026
2024
2025
2026
Releases
latest 8-
1.2.026 Apr 2026Release notes
Open source →Features
- Add parent-specific attribute support (#54) #54 (Js2xxx)
- Comprehensive support for complex generics, consts, and where clauses (#51) #51 (Frédéric Nieto)
Commits
Release notes
Open source →- [added] Support for parent-specific proc-macros.
- [fixed] Support for const generics, associated lifetimes, nested generics.
-
1.1.302 Oct 2025Release notes
Open source →Commits
- 4b1f722: Bump actions/checkout (#31) (Paho Lurie-Gregg) #31
- f5a4acf: Add license (#46) (Paho Lurie-Gregg) #46
- edb13c5: Update to syn v2, heck 0.5 (#38) (Sebastian Hahn) #38
- 26b586d: Correctly infer lifetimes, & disambiguate result type in try-from. (#41) (Ezra) #41
- b70dc8a: Version 1.1.3 (#49) (Paho Lurie-Gregg) #49
-
1.1.212 Mar 2024 -
1.1.119 Sep 2023 -
1.1.019 Sep 2023Release notes
Open source →Commits
- 38dc1d4: Add newlines at file ends (Paho Lurie-Gregg)
- eecb9dd: Clippy fixup (Paho Lurie-Gregg)
- 8d74a94: Support no std (#18) (Jeffrey Meyer) #18
- 1ffcd8f: Add "All Succeeded" job (#23) (Paho Lurie-Gregg) #23
- 59dfdf4: Add subenum-specific proc macros (#21) (Nexelous) #21
- 063d56b: Version 1.1.0 (#24) (Paho Lurie-Gregg) #24
Release notes
Open source →- [added] Default feature
stdand support for no-std. - [added] Support for subenum-specific proc-macros.
-
1.0.126 Feb 2023 -
1.0.021 Feb 2023Release notes
Open source →Commits
- 220ddb9: Add badges (#2) (Paho Lurie-Gregg) #2
- 21e0d8b: Fix docs link (Paho Lurie-Gregg)
- 85c3dc8: Clean-up GitHub Actions, add changelog (#3) (Paho Lurie-Gregg) #3
- fac87c7: Migrate from actions-rs (#4) (Paho Lurie-Gregg) #4
- 9566d05: Add example (Paho Lurie-Gregg)
- 463ef1b: Fix unnamed vars (#6) (Paho Lurie-Gregg) #6
- 6a024d5: Require enums to be pre-declared (#7) (Paho Lurie-Gregg) #7
- de06b78: Support lifetimes and generics (#9) (Paho Lurie-Gregg) #9
- cb5696e: Bump to version 1.0 (Paho Lurie-Gregg) #10
Release notes
Open source →- [fixed] Bug when repeating a type in an unnamed variant.
- [changed] BREAKING All enums to be created must now be declared at the top-level subenum attribute.
- [added] Support for lifetimes and generics.
-
0.1.013 Feb 2023