没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
metadeps使您可以在Cargo.toml元数据中编写pkg-config依赖关系,而无需在build.rs中以编程方式编写。 这使那些依赖项声明为metadeps,使您可以在Cargo.toml元数据中而不是在build.rs中以编程方式编写pkg-config依赖项。 这使这些依赖项具有声明性,因此其他工具也可以读取它们。 用法在Cargo.toml中,将以下内容添加到您的[build-dependencies]中:metadeps =“ 1.1”然后,要声明对testlib> = 1.2的依赖关系以及对testdata> = 4.5的条件性依赖关系,请添加以下部分: [package.metadata.pkg-config] testlib =“ 1.2” testdata = {版本=“ 4.5”,功能
资源推荐
资源详情
资源评论
收起资源包目录
metadeps-master.zip (16个子文件)
metadeps-master
Cargo.toml 534B
src
lib.rs 3KB
README.md 669B
tests
testdata.pc 176B
toml-not-table
Cargo.toml 46B
toml-missing-key
Cargo.toml 26B
toml-version-missing
Cargo.toml 69B
toml-feature-not-string
Cargo.toml 71B
test.rs 2KB
testlib.pc 245B
toml-good
Cargo.toml 162B
toml-unexpected-key
Cargo.toml 74B
toml-version-not-string
Cargo.toml 42B
toml-missing-file
no-cargo-toml-here 19B
toml-version-in-table-not-string
Cargo.toml 56B
.gitignore 20B
共 16 条
- 1
资源评论
Mia不大听话
- 粉丝: 17
- 资源: 4592
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功