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

MIT AND Apache-2.0 WITH LLVM-exception AND (Apache-2.0 OR MIT)1
PackageRelationDependenciesPublished
compiler_builtins • 0.1.159Compiler intrinsics used by the Rust compiler.DIRECT0
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 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