4 Star 0 Fork 8

OpenHarmony/third_party_rust_cfg-if

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Cargo.toml 792 Bytes
一键复制 编辑 原始数据 按行查看 历史
Alex Crichton 提交于 2020-10-06 11:43 . Bump to 1.0.0
[package]
name = "cfg-if"
version = "1.0.0"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
license = "MIT/Apache-2.0"
readme = "README.md"
repository = "https://github.com/alexcrichton/cfg-if"
homepage = "https://github.com/alexcrichton/cfg-if"
documentation = "https://docs.rs/cfg-if"
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.
"""
edition = "2018"
[badges]
travis-ci = { repository = "alexcrichton/cfg-if" }
[dependencies]
core = { version = "1.0.0", optional = true, package = 'rustc-std-workspace-core' }
compiler_builtins = { version = '0.1.2', optional = true }
[features]
rustc-dep-of-std = ['core', 'compiler_builtins']
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/openharmony/third_party_rust_cfg-if.git
git@gitee.com:openharmony/third_party_rust_cfg-if.git
openharmony
third_party_rust_cfg-if
third_party_rust_cfg-if
master

搜索帮助