third_party_rust_cxx/Cargo.toml

51 lines
1.4 KiB
TOML
Raw Normal View History

2019-10-20 18:51:12 +00:00
[package]
name = "cxx"
2022-07-17 03:12:42 +00:00
version = "1.0.72" # remember to update html_root_url
2019-10-20 18:51:12 +00:00
authors = ["David Tolnay <dtolnay@gmail.com>"]
2022-08-01 02:19:02 +00:00
categories = ["development-tools::ffi", "api-bindings"]
2019-10-20 18:51:12 +00:00
description = "Safe interop between Rust and C++"
documentation = "https://docs.rs/cxx"
2022-08-01 02:19:02 +00:00
edition = "2018"
2020-09-01 22:51:38 +00:00
exclude = ["/demo", "/gen", "/syntax", "/third-party"]
2022-08-01 02:19:02 +00:00
homepage = "https://cxx.rs"
2020-05-11 03:16:28 +00:00
keywords = ["ffi"]
2022-08-01 02:19:02 +00:00
license = "MIT OR Apache-2.0"
links = "cxxbridge1"
readme = "README.md"
repository = "https://github.com/dtolnay/cxx"
rust-version = "1.48"
2019-10-20 18:51:12 +00:00
[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"]
2021-12-07 22:49:41 +00:00
alloc = []
std = ["alloc"]
2019-10-20 18:51:12 +00:00
[dependencies]
2022-07-17 03:12:42 +00:00
cxxbridge-macro = { version = "=1.0.72", path = "macro" }
link-cplusplus = "1.0"
2019-10-20 18:51:12 +00:00
[build-dependencies]
cc = "1.0.49"
2022-07-17 03:12:42 +00:00
cxxbridge-flags = { version = "=1.0.72", path = "flags", default-features = false }
2019-10-20 18:51:12 +00:00
[dev-dependencies]
2022-07-17 03:12:42 +00:00
cxx-build = { version = "=1.0.72", path = "gen/build" }
2020-11-17 07:47:01 +00:00
cxx-gen = { version = "0.7", path = "gen/lib" }
cxx-test-suite = { version = "0", path = "tests/ffi" }
2019-10-20 18:51:12 +00:00
rustversion = "1.0"
trybuild = { version = "1.0.52", features = ["diff"] }
2019-10-20 18:51:12 +00:00
[workspace]
members = ["demo", "flags", "gen/build", "gen/cmd", "gen/lib", "macro", "tests/ffi"]
2020-03-17 20:29:06 +00:00
[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" }