PackageTrack
Sign in Get early access

attribute-derive-macro

Clap for proc macro attributes

0.10.5 29M downloads/mo #1694 most downloaded on crates.io ModProg/attribute-derive

What this package is like to depend on

Last release 10 months ago

02 Oct 2025

Release timing varies

gaps range from 1 weeks to 11 months

Most releases are documented

notes for 17 of 20 stable releases

Nothing withdrawn

no release was ever pulled

5 years old

20 releases · first in 2022

2 releases in the last 12 months

see the full history below

Release timeline

20 releases · Feb 2022 to Oct 2025
2023 2024 2025 2026
Release Pre-release

Releases

latest 20
  1. 0.10.5 02 Oct 2025
    Release notes

    Fixed

    • ensured updated version of macro crate is selected in main crate
    Open source →
    Release notes

    Fixed

    • ensured updated version of macro crate is selected in main crate
    Open source →
  2. 0.10.4 02 Oct 2025
    Release notes

    chore: Release attribute-derive version 0.10.4

    Open source →
    Release notes

    Fixed

    • fix nondeterminism in order of conflicting fields
    Open source →
  3. 0.10.3 17 Nov 2024
    Release notes

    Fixed

    • fix imports in impl_Attribute_for_Parse_and_ToTokens!

    Added

    • allow #[from_attr] on top of #[attribute]
    Open source →
    Release notes

    Fixed

    • fix imports in impl_Attribute_for_Parse_and_ToTokens!

    Added

    • allow #[from_attr] on top of #[attribute]
    Open source →
  4. 0.10.2 30 Oct 2024
    Release notes

    Added

    • published impl_Attribute_for_Parse_and_ToTokens! to "derive" AttributeValue traits via existing Parse and ToTokens implementation.
    Open source →
    Release notes

    Added

    • published impl_Attribute_for_Parse_and_ToTokens! to "derive" AttributeValue traits via existing Parse and ToTokens implementation.
    Open source →
  5. 0.10.1 27 Aug 2024
    Release notes

    Fixed

    • removed accidental debug prints
    Open source →
  6. 0.10.0 13 Aug 2024
    Release notes

    chore: Release attribute-derive version 0.10.0

    Open source →
    Release notes

    Added

    • derive AttributeIdent by default, converting the StructIdent to snake_case
    • AttributeIdent implementation for Option<impl AttributeIdent>
    Open source →
  7. 0.9.2 22 Jun 2024
    Release notes

    chore: Release attribute-derive version 0.9.2

    Open source →
    Release notes

    Fixed

    • Partial type copies visibility from attribute struct
    Open source →
  8. 0.9.1 23 Mar 2024
    Release notes

    chore: Release attribute-derive version 0.9.1

    Open source →
    Release notes

    Added

    • from_attribute and from_attribue_partial to FromAttr.
    • Support for tuple structs.

    Fixed

    • FromAttr did not support #[flag] or #[name = value] attribute styles at the root.
    Open source →
  9. 0.9.0 17 Mar 2024
    Release notes

    Added

    • Attributes can now be nested, i.e. #[outer(inner(key = value))].

    Changed

    • Breaking Change added span to IdentValue, as this is mostly an implementation detail, most users need not worry about this change.
    • Breaking Change changed FromAttr::from_attributes to take [Borrow<Attribute>], only relevant for type inference.
    • Breaking Change TokenStream, when used as field in FromAttr now only supports <name>(<tokens>) syntax, <name>=<tokens> was removed.

    Removed

    • Breaking Change mandatory flags
    • Breaking Change removed found_field in custom error messages
    Open source →
  10. 0.8.1 27 Sep 2023
    Release notes

    chore: Release attribute-derive version 0.8.1

    Open source →
    Release notes

    Added

    • FlagOrValue::{is_none, is_flag, is_value, into_value, as_value}
    Open source →
  11. 0.8.0 18 Sep 2023
    Release notes

    Changed

    • Renamed Attribute to FromAttr to not conflict with syn::Attribute. The old path is still exported (#[doc(hidden)] and deprecated). Existing usages should not break.
    Open source →
  12. 0.7.1 17 Sep 2023
    Release notes

    Fixed

    • FlagOrValue only supported some syn types.
    Open source →
  13. 0.7.0 17 Sep 2023
    Release notes
    • Updated dependencies

    Added

    • FlagOrValue to support a value both as a Flag and a Value

    Changed

    • bool now allows specifying a flag multiple times.

    Fixed

    • Specifying a parameter multiple times in the same attribute was ignored.
    Open source →
  14. 0.6.1 21 May 2023
    Release notes
    • Updated dependencies
    Open source →
  15. 0.6.0 20 Mar 2023
    Release notes

    Changed

    • Updated syn to v2
    Open source →
  16. 0.5.0 02 Mar 2023
    Release notes

    Added

    • IdentValue to keep hold of both value and the source ident

    Changed

    • Breaking Change: ConvertParsed::aggregate() now takes/returns IdentValue
    • Improved span for conflicting values
    Open source →
  17. 0.4.0 02 Mar 2023
    Release notes

    Changed

    • Breaking Change: Moved some syn types behind feature full
    • Breaking Change: Refactored attributes
    • Use interpolator for error messages
    • Breaking Change: Compile time verify if ident is given through helper trait
    Open source →
  18. 0.3.1 21 Apr 2022

    Nothing published for this version

  19. 0.2.0 12 Feb 2022

    Nothing published for this version

  20. 0.1.0 06 Feb 2022

    Nothing published for this version

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