cfg-iif

crate Docs Rust Version Apache2/MIT licensed Test ubu Test mac Test win

A macro for defining #[cfg] if-else functions.

The macro provided by this crate. Unlike cfg_if, cfg_iif can be used as a function, and can be used in a function.

Features

Example

Example 1: #[cfg()]

Example 2: a short hand for a firendly cargo fmt

Documentation

Changelogs

This crate's changelog here.

License

This project is licensed under either of

at your option.