PackageTrack
Sign in Get early access

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
Release Pre-release

Releases

latest 8
  1. 1.2.0 26 Apr 2026
    Release notes

    Features

    Commits

    Open source →
    Release notes
    • [added] Support for parent-specific proc-macros.
    • [fixed] Support for const generics, associated lifetimes, nested generics.
    Open source →
  2. 1.1.3 02 Oct 2025
    Release notes

    Commits

    Open source →
    Release notes
    • [changed] Bumped dependency versions
    • [fixed] Improved lifetime handling
    Open source →
  3. 1.1.2 12 Mar 2024
    Release notes

    Commits

    • bd8c572: Disambiguate Error type in TryFrom (#29) (Christian Schwarz) #29
    • 4c8f2f2: Fix nightly build / simplify no_std (#30) (Paho Lurie-Gregg) #30
    • 0ec9cdb: Version 1.1.2 (Paho Lurie-Gregg)
    Open source →
    Release notes
    • [fixed] Fix error when there's an enum variant called Error.
    Open source →
  4. 1.1.1 19 Sep 2023
    Release notes

    Commits

    • 063d56b: Version 1.1.0 (#24) (Paho Lurie-Gregg) #24
    • af0d872: Generate doc-comments for generated errors (#25) (Paho Lurie-Gregg) #25
    • 93d83cd: Version 1.1.1 (Paho Lurie-Gregg)
    Open source →
    Release notes
    • [fixed] Support for #![deny(missing_docs)].
    Open source →
  5. 1.1.0 19 Sep 2023
    Release notes

    Commits

    Open source →
    Release notes
    • [added] Default feature std and support for no-std.
    • [added] Support for subenum-specific proc-macros.
    Open source →
  6. 1.0.1 26 Feb 2023
    Release notes

    Commits

    • b111a81: Bump to version 1.0 (#10) (Paho Lurie-Gregg) #10
    • 526c3d6: Fix references to generic types (#12) (Paho Lurie-Gregg) #12
    • 12cc45c: Version 1.0.1 (Paho Lurie-Gregg)
    Open source →
    Release notes
    • [fixed] References to generic types.
    Open source →
  7. 1.0.0 21 Feb 2023
    Release notes

    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
    Open source →
    Release notes
    • [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.
    Open source →
  8. 0.1.0 13 Feb 2023
    Release notes
    • [added] Initial subenum macro creation.
    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