#docs #attributes #railroad #diagram #comments #macro #cifg

macro cifg-diag-attr

An attribute for adding a railroad diagram to the cifg macro_rules doc comments. Intended for use by the cifg crate only

2 stable releases

1.0.1 Jul 17, 2024

#1460 in Procedural macros


Used in cifg

MIT/Apache

4KB

cifg

cifg on crates.io cifg on docs.rs cifg licenses Apache-2.0 license MIT license MSRV

A macro for defining #[cfg] if/else blocks; alternate to cfg-if.

License

This project is licensed under either of

at your option.

Contribution

Any contribution intentionally submitted for inclusion in cifg by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~1.6–2.3MB
~42K SLoC