licenses.dev

cfg-if v1.0.1

A macro to ergonomically define an item depending on a large number of #[cfg] parameters. Structured like an if-else chain, the first matching branch is the item that gets emitted.

Published on

Licenses

Learn more about license information.

Package Licenses

Apache-2.0 OR MIT

Dependency Licenses

Apache-2.0 OR MIT1
PackageRelationDependenciesPublished
rustc-std-workspace-core • 1.0.1crate for integration of crates.io crates into rust-lang/rust standard library workspace DIRECT0
Last updated on

Copy the licenses badge code for the latest version:

[![licenses](https://licenses.dev/b/cargo/cfg-if)](https://licenses.dev/cargo/cfg-if)
<a href="https://licenses.dev/cargo/cfg-if">
  <img src="https://licenses.dev/b/cargo/cfg-if" alt="licenses" />
</a>

Or the licenses badge code for the 1.0.1 version:

[![licenses](https://licenses.dev/b/cargo/cfg-if/1.0.1)](https://licenses.dev/cargo/cfg-if/1.0.1)
<a href="https://licenses.dev/cargo/cfg-if/1.0.1">
  <img src="https://licenses.dev/b/cargo/cfg-if/1.0.1" alt="licenses" />
</a>
GitHub