nightly macro no-std build attr_alias

Reduce attribute repetition with aliases

4 releases

0.1.3 Jun 28, 2024
0.1.2 Feb 17, 2024
0.1.1 Dec 30, 2023
0.1.0 Dec 30, 2023

#492 in Build Utils

21 downloads per month

MIT/Apache

22KB
351 lines

Attr Alias

This crate allows defining arbitrary aliases for attributes.

GitHub Build Status

Usage

Add the following lines to your "Cargo.toml" file:

[dependencies]
attr_alias = "0.1"

See the documentation for available functionality and examples.

Rust version support

The minimum supported Rust toolchain version is currently Rust 1.70.0.

Minor version updates may increase this version requirement. However, the previous two Rust releases will always be supported. If the minimum Rust version must not be increased, use a tilde requirement to prevent updating this crate's minor version:

[dependencies]
attr_alias = "~0.1"

License

Licensing terms are specified in COPYRIGHT.

Unless you explicitly state otherwise, any contribution submitted for inclusion in this crate, as defined in LICENSE-APACHE, shall be licensed according to COPYRIGHT, without any additional terms or conditions.

No runtime deps

Features