third_party_rust_cxx/Cargo.toml

53 lines
1.5 KiB
TOML
Raw Permalink Normal View History

2019-10-20 18:51:12 +00:00
[package]
name = "cxx"
version = "1.0.97" # remember to update html_root_url
2019-10-20 18:51:12 +00:00
authors = ["David Tolnay <dtolnay@gmail.com>"]
2022-08-01 07:06:45 +00:00
categories = ["development-tools::ffi", "api-bindings", "no-std"]
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"
exclude = ["/demo", "/gen", "/syntax", "/third-party", "/tools/buck/prelude"]
2022-08-01 02:19:02 +00:00
homepage = "https://cxx.rs"
2022-08-31 05:53:09 +00:00
keywords = ["ffi", "c++"]
2022-08-01 02:19:02 +00:00
license = "MIT OR Apache-2.0"
links = "cxxbridge1"
repository = "https://github.com/dtolnay/cxx"
2023-01-07 20:37:15 +00:00
rust-version = "1.60"
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]
cxxbridge-macro = { version = "=1.0.97", path = "macro" }
link-cplusplus = "1.0"
2019-10-20 18:51:12 +00:00
[build-dependencies]
cc = "1.0.49"
cxxbridge-flags = { version = "=1.0.97", path = "flags", default-features = false }
2019-10-20 18:51:12 +00:00
[dev-dependencies]
cxx-build = { version = "=1.0.97", 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"
2022-10-05 05:21:07 +00:00
trybuild = { version = "1.0.66", features = ["diff"] }
2019-10-20 18:51:12 +00:00
[lib]
doc-scrape-examples = false
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" }