licenses.dev

cfg-if v0.1.10

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 MIT2
PackageRelationDependenciesPublished
compiler_builtins • 0.1.134Compiler intrinsics used by the Rust compiler. Also available for other targets if necessary! DIRECT0
rustc-std-workspace-core • 1.0.0Explicitly empty crate for rust-lang/rust integration 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 0.1.10 version:

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