Docs.rs
cfg-if-1.0.0
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
cfg-if 1.0.0
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.
Crate
Source
Builds
Feature flags
Documentation
Hide files
.github
src
tests
.cargo_vcs_info.json
.gitignore
Cargo.lock
Cargo.toml
Cargo.toml.orig
LICENSE-APACHE
LICENSE-MIT
README.md
1
2
3
4
5
{
"
git
"
:
{
"
sha1
"
:
"
e60fa1efeab0ec6e90c50d93ec526e1410459c23
"
}
}