figue-attrs
Attribute macros for figue CLI argument parsing.
Note: This is an internal crate. Users should depend on figue directly, which
re-exports everything from this crate.
Why a separate crate?
This crate exists to work around Rust's restriction on accessing macro-expanded
#[macro_export] macros by absolute paths within the same crate
(rust-lang/rust#52234).
By defining the attribute grammar macros in a separate crate, the main figue crate
can reference them via an external crate path.
License
Licensed under either of:
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.