macro_rules_attribute-rs

Use declarative macros as proc_macro attributes or derives

APACHE-2.0 License

Downloads
6.8M
Stars
100
Committers
6
macro_rules_attribute-rs - v0.2.0 Latest Release

Published by danielhenrymantilla over 1 year ago

Same a v0.1.4, but for a major semver bump to avoid the footgun of https://github.com/danielhenrymantilla/macro_rules_attribute-rs/issues/17

macro_rules_attribute-rs - v0.1.5

Published by danielhenrymantilla over 1 year ago

Landing pad for v0.1.4 users that may stumble upon a yanked crate (#17). Thanks @kpreid for the idea.

macro_rules_attribute-rs - v0.1.4

Published by danielhenrymantilla over 1 year ago

macro_rules_attribute-rs - v0.1.3

Published by danielhenrymantilla almost 2 years ago

macro_rules_attribute-rs - v0.1.2

Published by danielhenrymantilla over 2 years ago

macro_rules_attribute-rs - v0.1.1

Published by danielhenrymantilla over 2 years ago

What's Changed

  • Doc nits from #7, by @steffahn
macro_rules_attribute-rs - v0.1.0

Published by danielhenrymantilla over 2 years ago

  • MSRV bumped to 1.57.0
  • #[{macro_rules_attribute,apply}] and #[macro_rules_derive] both support lack of trailing bang
  • Created #[derive()] to shadow the stdlib one, so that it can handle classic derives as well as bang-terminated ones, in which case it defers to #[macro_rules_derive].
  • Created derive_alias! and attribute_alias! convenience helpers, the former being possible thanks to the nested_derive pattern (to be published as a standalone crate Soon™)
macro_rules_attribute-rs -

Published by danielhenrymantilla about 5 years ago

Package Rankings
Top 6.61% on Crates.io
Badges
Extracted from project README
Repository Latest version Documentation MSRV unsafe forbidden License CI