47 lines
1.2 KiB
TOML
47 lines
1.2 KiB
TOML
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
|
|
#
|
|
# When uploading crates to the registry Cargo will automatically
|
|
# "normalize" Cargo.toml files for maximal compatibility
|
|
# with all versions of Cargo and also rewrite `path` dependencies
|
|
# to registry (e.g., crates.io) dependencies.
|
|
#
|
|
# If you are reading this file be aware that the original Cargo.toml
|
|
# will likely look very different (and much more reasonable).
|
|
# See Cargo.toml.orig for the original contents.
|
|
|
|
[package]
|
|
edition = "2018"
|
|
name = "cfg-if"
|
|
version = "1.0.3"
|
|
authors = ["Alex Crichton <alex@alexcrichton.com>"]
|
|
build = false
|
|
autolib = false
|
|
autobins = false
|
|
autoexamples = false
|
|
autotests = false
|
|
autobenches = false
|
|
description = """
|
|
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.
|
|
"""
|
|
readme = "README.md"
|
|
license = "MIT OR Apache-2.0"
|
|
repository = "https://github.com/rust-lang/cfg-if"
|
|
|
|
[features]
|
|
rustc-dep-of-std = ["core"]
|
|
|
|
[lib]
|
|
name = "cfg_if"
|
|
path = "src/lib.rs"
|
|
|
|
[[test]]
|
|
name = "xcrate"
|
|
path = "tests/xcrate.rs"
|
|
|
|
[dependencies.core]
|
|
version = "1.0.0"
|
|
optional = true
|
|
package = "rustc-std-workspace-core"
|