| [package] |
| name = "cxx" |
| version = "0.2.3" # 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-reporting = "0.9" |
| cxxbridge-macro = { version = "=0.2.3", 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"] |
| |
| [package.metadata.docs.rs] |
| targets = ["x86_64-unknown-linux-gnu"] |