加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Cargo.toml 1.49 KB
一键复制 编辑 原始数据 按行查看 历史
Future 提交于 2024-04-02 19:59 . cxx 1.0.91升级至1.0.97
[package]
name = "cxx"
version = "1.0.97" # remember to update html_root_url
authors = ["David Tolnay <dtolnay@gmail.com>"]
categories = ["development-tools::ffi", "api-bindings", "no-std"]
description = "Safe interop between Rust and C++"
documentation = "https://docs.rs/cxx"
edition = "2018"
exclude = ["/demo", "/gen", "/syntax", "/third-party", "/tools/buck/prelude"]
homepage = "https://cxx.rs"
keywords = ["ffi", "c++"]
license = "MIT OR Apache-2.0"
links = "cxxbridge1"
repository = "https://github.com/dtolnay/cxx"
rust-version = "1.60"
[features]
default = ["std", "cxxbridge-flags/default"] # c++11
"c++14" = ["cxxbridge-flags/c++14"]
"c++17" = ["cxxbridge-flags/c++17"]
"c++20" = ["cxxbridge-flags/c++20"]
alloc = []
std = ["alloc"]
[dependencies]
cxxbridge-macro = { version = "=1.0.97", path = "macro" }
link-cplusplus = "1.0"
[build-dependencies]
cc = "1.0.49"
cxxbridge-flags = { version = "=1.0.97", path = "flags", default-features = false }
[dev-dependencies]
cxx-build = { version = "=1.0.97", path = "gen/build" }
cxx-gen = { version = "0.7", path = "gen/lib" }
cxx-test-suite = { version = "0", path = "tests/ffi" }
rustversion = "1.0"
trybuild = { version = "1.0.66", features = ["diff"] }
[lib]
doc-scrape-examples = false
[workspace]
members = ["demo", "flags", "gen/build", "gen/cmd", "gen/lib", "macro", "tests/ffi"]
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
rustdoc-args = ["--cfg", "doc_cfg"]
[patch.crates-io]
cxx = { path = "." }
cxx-build = { path = "gen/build" }
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化