attribute-derive
Clap like parsing for attributes in proc-macros
0.10.5
29M downloads/mo
#1692 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 23 stable releases
Nothing withdrawn
no release was ever pulled
5 years old
23 releases · first in 2022
2 releases in the last 12 months
see the full history below
Release timeline
23 releases · Feb 2022 to Oct 2025Releases
latest 23-
0.10.502 Oct 2025 -
0.10.402 Oct 2025 -
0.10.317 Nov 2024Release notes
Open source →Fixed
- fix imports in
impl_Attribute_for_Parse_and_ToTokens!
Added
- allow
#[from_attr]on top of#[attribute]
Release notes
Open source →Fixed
- fix imports in
impl_Attribute_for_Parse_and_ToTokens!
Added
- allow
#[from_attr]on top of#[attribute]
- fix imports in
-
0.10.230 Oct 2024Release notes
Open source →Added
- published
impl_Attribute_for_Parse_and_ToTokens!to "derive"AttributeValuetraits via existingParseandToTokensimplementation.
Release notes
Open source →Added
- published
impl_Attribute_for_Parse_and_ToTokens!to "derive"AttributeValuetraits via existingParseandToTokensimplementation.
- published
-
0.10.127 Aug 2024 -
0.10.013 Aug 2024Release notes
Open source →Added
- derive
AttributeIdentby default, converting theStructIdenttosnake_case AttributeIdentimplementation forOption<impl AttributeIdent>
- derive
-
0.9.222 Jun 2024 -
0.9.123 Mar 2024Release notes
Open source →Added
from_attributeandfrom_attribue_partialtoFromAttr.- Support for tuple structs.
Fixed
FromAttrdid not support#[flag]or#[name = value]attribute styles at the root.
-
0.9.017 Mar 2024Release notes
Open source →Added
- Attributes can now be nested, i.e.
#[outer(inner(key = value))].
Changed
- Breaking Change added
spantoIdentValue, as this is mostly an implementation detail, most users need not worry about this change. - Breaking Change changed
FromAttr::from_attributesto take[Borrow<Attribute>], only relevant for type inference. - Breaking Change
TokenStream, when used as field inFromAttrnow only supports<name>(<tokens>)syntax,<name>=<tokens>was removed.
Removed
- Breaking Change mandatory flags
- Breaking Change removed
found_fieldin custom error messages
- Attributes can now be nested, i.e.
-
0.8.127 Sep 2023 -
0.8.018 Sep 2023Release notes
Open source →Changed
- Renamed
AttributetoFromAttrto not conflict withsyn::Attribute. The old path is still exported (#[doc(hidden)]and deprecated). Existing usages should not break.
- Renamed
-
0.7.117 Sep 2023 -
0.7.017 Sep 2023Release notes
Open source →- Updated dependencies
Added
FlagOrValueto support a value both as a Flag and a Value
Changed
boolnow allows specifying a flag multiple times.
Fixed
- Specifying a parameter multiple times in the same attribute was ignored.
-
0.6.121 May 2023 -
0.6.020 Mar 2023 -
0.5.002 Mar 2023Release notes
Open source →Added
IdentValueto keep hold of both value and the source ident
Changed
- Breaking Change:
ConvertParsed::aggregate()now takes/returnsIdentValue - Improved span for conflicting values
-
0.4.002 Mar 2023Release notes
Open source →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
- Breaking Change: Moved some syn types behind feature
-
0.3.121 Apr 2022Nothing published for this version
-
0.3.021 Apr 2022Nothing published for this version
-
0.2.212 Feb 2022Nothing published for this version
-
0.2.112 Feb 2022Nothing published for this version
-
0.1.106 Feb 2022Nothing published for this version
-
0.1.006 Feb 2022Nothing published for this version