mirror of
https://gitee.com/openharmony/third_party_rust_cxx
synced 2024-11-23 15:19:44 +00:00
38 lines
893 B
TOML
38 lines
893 B
TOML
[package]
|
|
name = "cxx"
|
|
version = "0.1.2"
|
|
authors = ["David Tolnay <dtolnay@gmail.com>"]
|
|
edition = "2018"
|
|
links = "cxxbridge01"
|
|
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"
|
|
|
|
[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.1.2", 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"]
|