mirror of
https://gitee.com/openharmony/third_party_rust_cxx
synced 2024-11-24 07:40:19 +00:00
39 lines
987 B
TOML
39 lines
987 B
TOML
[package]
|
|
name = "cxx"
|
|
version = "0.2.0" # remember to update html_root_url
|
|
authors = ["David Tolnay <dtolnay@gmail.com>"]
|
|
edition = "2018"
|
|
links = "cxxbridge02"
|
|
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-cxx", "/gen", "/syntax", "/third-party"]
|
|
|
|
[badges]
|
|
travis-ci = { repository = "dtolnay/cxx" }
|
|
|
|
[dependencies]
|
|
anyhow = "1.0"
|
|
cc = "1.0.49"
|
|
codespan = "0.7"
|
|
codespan-reporting = "0.7"
|
|
cxxbridge-macro = { version = "=0.2.0", path = "macro" }
|
|
link-cplusplus = "1.0"
|
|
proc-macro2 = { version = "1.0", features = ["span-locations"] }
|
|
quote = "1.0"
|
|
syn = { version = "1.0", features = ["full"] }
|
|
thiserror = "1.0"
|
|
|
|
[build-dependencies]
|
|
cc = "1.0.49"
|
|
|
|
[dev-dependencies]
|
|
cxx-test-suite = { version = "0", path = "tests/ffi" }
|
|
rustversion = "1.0"
|
|
trybuild = "1.0.21"
|
|
|
|
[workspace]
|
|
members = ["cmd", "demo-rs", "macro", "tests/ffi"]
|