2019-10-20 14:51:12 -04:00
|
|
|
[package]
|
|
|
|
name = "cxx"
|
2020-11-16 09:26:08 -08:00
|
|
|
version = "0.5.10" # remember to update html_root_url
|
2019-10-20 14:51:12 -04:00
|
|
|
authors = ["David Tolnay <dtolnay@gmail.com>"]
|
|
|
|
edition = "2018"
|
2020-11-16 23:43:37 -08:00
|
|
|
links = "cxxbridge1"
|
2019-10-20 14:51:12 -04:00
|
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
description = "Safe interop between Rust and C++"
|
|
|
|
repository = "https://github.com/dtolnay/cxx"
|
|
|
|
documentation = "https://docs.rs/cxx"
|
2020-11-17 08:32:39 -08:00
|
|
|
website = "https://cxx.rs"
|
2019-10-20 14:51:12 -04:00
|
|
|
readme = "README.md"
|
2020-09-01 15:51:38 -07:00
|
|
|
exclude = ["/demo", "/gen", "/syntax", "/third-party"]
|
2020-05-10 20:16:28 -07:00
|
|
|
keywords = ["ffi"]
|
|
|
|
categories = ["development-tools::ffi", "api-bindings"]
|
2019-10-20 14:51:12 -04:00
|
|
|
|
2020-05-11 20:26:41 -07:00
|
|
|
[features]
|
2020-08-28 17:25:29 -07:00
|
|
|
default = ["cxxbridge-flags/default"] # c++11
|
|
|
|
"c++14" = ["cxxbridge-flags/c++14"]
|
|
|
|
"c++17" = ["cxxbridge-flags/c++17"]
|
|
|
|
"c++20" = ["cxxbridge-flags/c++20"]
|
2020-05-11 20:26:41 -07:00
|
|
|
|
2019-10-20 14:51:12 -04:00
|
|
|
[dependencies]
|
2020-11-16 09:26:08 -08:00
|
|
|
cxxbridge-macro = { version = "=0.5.10", path = "macro" }
|
2020-01-24 15:22:09 -08:00
|
|
|
link-cplusplus = "1.0"
|
2019-10-20 14:51:12 -04:00
|
|
|
|
|
|
|
[build-dependencies]
|
|
|
|
cc = "1.0.49"
|
2020-11-16 09:26:08 -08:00
|
|
|
cxxbridge-flags = { version = "=0.5.10", path = "flags", default-features = false }
|
2019-10-20 14:51:12 -04:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2020-11-16 09:26:08 -08:00
|
|
|
cxx-build = { version = "=0.5.10", path = "gen/build" }
|
2020-11-04 10:49:37 -08:00
|
|
|
cxx-gen = { version = "0.6", path = "gen/lib" }
|
2020-01-25 16:49:00 -08:00
|
|
|
cxx-test-suite = { version = "0", path = "tests/ffi" }
|
2019-10-20 14:51:12 -04:00
|
|
|
rustversion = "1.0"
|
2020-08-25 19:55:59 -07:00
|
|
|
trybuild = { version = "1.0.33", features = ["diff"] }
|
2019-10-20 14:51:12 -04:00
|
|
|
|
|
|
|
[workspace]
|
2020-09-07 22:26:46 -07:00
|
|
|
members = ["demo", "flags", "gen/build", "gen/cmd", "gen/lib", "macro", "tests/ffi"]
|
2020-03-17 13:29:06 -07:00
|
|
|
|
|
|
|
[package.metadata.docs.rs]
|
|
|
|
targets = ["x86_64-unknown-linux-gnu"]
|