mirror of
https://gitee.com/openharmony/third_party_rust_cxx
synced 2024-11-24 07:40:19 +00:00
42 lines
1.2 KiB
TOML
42 lines
1.2 KiB
TOML
[package]
|
|
name = "cxx"
|
|
version = "0.5.6" # remember to update html_root_url
|
|
authors = ["David Tolnay <dtolnay@gmail.com>"]
|
|
edition = "2018"
|
|
links = "cxxbridge05"
|
|
license = "MIT OR Apache-2.0"
|
|
description = "Safe interop between Rust and C++"
|
|
repository = "https://github.com/dtolnay/cxx"
|
|
documentation = "https://docs.rs/cxx"
|
|
readme = "README.md"
|
|
exclude = ["/demo", "/gen", "/syntax", "/third-party"]
|
|
keywords = ["ffi"]
|
|
categories = ["development-tools::ffi", "api-bindings"]
|
|
|
|
[features]
|
|
default = ["cxxbridge-flags/default"] # c++11
|
|
"c++14" = ["cxxbridge-flags/c++14"]
|
|
"c++17" = ["cxxbridge-flags/c++17"]
|
|
"c++20" = ["cxxbridge-flags/c++20"]
|
|
|
|
[dependencies]
|
|
cxxbridge-macro = { version = "=0.5.6", path = "macro" }
|
|
link-cplusplus = "1.0"
|
|
|
|
[build-dependencies]
|
|
cc = "1.0.49"
|
|
cxxbridge-flags = { version = "=0.5.6", path = "flags", default-features = false }
|
|
|
|
[dev-dependencies]
|
|
cxx-build = { version = "=0.5.6", path = "gen/build" }
|
|
cxx-gen = { version = "0.6", path = "gen/lib" }
|
|
cxx-test-suite = { version = "0", path = "tests/ffi" }
|
|
rustversion = "1.0"
|
|
trybuild = { version = "1.0.33", features = ["diff"] }
|
|
|
|
[workspace]
|
|
members = ["demo", "flags", "gen/build", "gen/cmd", "gen/lib", "macro", "tests/ffi"]
|
|
|
|
[package.metadata.docs.rs]
|
|
targets = ["x86_64-unknown-linux-gnu"]
|