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.
Documentation
[badges.travis-ci]
repository = "alexcrichton/cfg-if"
[dependencies.compiler_builtins]
optional = true
version = "0.1.2"

[dependencies.core]
optional = true
package = "rustc-std-workspace-core"
version = "1.0.0"

[features]
rustc-dep-of-std = ["core", "compiler_builtins"]

[package]
authors = ["Alex Crichton <alex@alexcrichton.com>"]
description = "A macro to ergonomically define an item depending on a large number of #[cfg]\nparameters. Structured like an if-else chain, the first matching branch is the\nitem that gets emitted.\n"
documentation = "https://docs.rs/cfg-if"
edition = "2018"
homepage = "https://github.com/alexcrichton/cfg-if"
license = "MIT/Apache-2.0"
name = "cfg-if"
readme = "README.md"
repository = "https://github.com/alexcrichton/cfg-if"
version = "1.0.0"