cxx/Cargo.toml

39 lines
1.0 KiB
TOML
Raw Normal View History

2019-10-20 14:51:12 -04:00
[package]
name = "cxx"
2020-05-22 11:13:47 -07:00
version = "0.3.4" # remember to update html_root_url
2019-10-20 14:51:12 -04:00
authors = ["David Tolnay <dtolnay@gmail.com>"]
edition = "2018"
2020-04-29 18:48:36 -07:00
links = "cxxbridge03"
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"
readme = "README.md"
exclude = ["/demo-cxx", "/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
[features]
default = [] # c++11
"c++14" = []
"c++17" = []
2019-10-20 14:51:12 -04:00
[dependencies]
2020-05-22 11:13:47 -07:00
cxxbridge-macro = { version = "=0.3.4", path = "macro" }
link-cplusplus = "1.0"
2019-10-20 14:51:12 -04:00
[build-dependencies]
cc = "1.0.49"
[dev-dependencies]
2020-05-22 11:13:47 -07:00
cxx-build = { version = "=0.3.4", path = "gen/build" }
cxx-test-suite = { version = "0", path = "tests/ffi" }
2019-10-20 14:51:12 -04:00
rustversion = "1.0"
trybuild = { version = "1.0.33", features = ["diff"] }
2019-10-20 14:51:12 -04:00
[workspace]
2020-04-29 12:34:47 -07:00
members = ["demo-rs", "gen/build", "gen/cmd", "macro", "tests/ffi"]
2020-03-17 13:29:06 -07:00
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]