cxx/Cargo.toml

43 lines
1.3 KiB
TOML
Raw Normal View History

2019-10-20 14:51:12 -04:00
[package]
name = "cxx"
2020-12-23 11:37:21 -08:00
version = "1.0.21" # 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"
homepage = "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
[features]
default = ["cxxbridge-flags/default"] # c++11
"c++14" = ["cxxbridge-flags/c++14"]
"c++17" = ["cxxbridge-flags/c++17"]
"c++20" = ["cxxbridge-flags/c++20"]
2019-10-20 14:51:12 -04:00
[dependencies]
2020-12-23 11:37:21 -08:00
cxxbridge-macro = { version = "=1.0.21", path = "macro" }
link-cplusplus = "1.0"
2019-10-20 14:51:12 -04:00
[build-dependencies]
cc = "1.0.49"
2020-12-23 11:37:21 -08:00
cxxbridge-flags = { version = "=1.0.21", path = "flags", default-features = false }
2019-10-20 14:51:12 -04:00
[dev-dependencies]
2020-12-23 11:37:21 -08:00
cxx-build = { version = "=1.0.21", path = "gen/build" }
2020-11-16 23:47:01 -08:00
cxx-gen = { version = "0.7", path = "gen/lib" }
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]
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"]