cxx/macro/Cargo.toml

38 lines
1018 B
TOML
Raw Normal View History

2019-10-20 18:51:12 +00:00
[package]
name = "cxxbridge-macro"
2021-10-05 20:48:49 +00:00
version = "1.0.56"
2019-10-20 18:51:12 +00:00
authors = ["David Tolnay <dtolnay@gmail.com>"]
edition = "2018"
rust-version = "1.48"
2019-10-20 18:51:12 +00:00
license = "MIT OR Apache-2.0"
description = "Implementation detail of the `cxx` crate."
repository = "https://github.com/dtolnay/cxx"
homepage = "https://cxx.rs"
exclude = ["build.rs", "README.md"]
2020-05-11 03:16:28 +00:00
keywords = ["ffi"]
categories = ["development-tools::ffi"]
2019-10-20 18:51:12 +00:00
[lib]
proc-macro = true
[features]
2021-04-24 05:16:49 +00:00
experimental = ["clang-ast", "flate2", "memmap", "serde", "serde_json"]
2019-10-20 18:51:12 +00:00
[dependencies]
proc-macro2 = "1.0"
quote = "1.0.4"
syn = { version = "1.0.70", features = ["full"] }
2019-10-20 18:51:12 +00:00
# optional dependencies
clang-ast = { version = "0.1", optional = true }
2021-04-24 05:16:49 +00:00
flate2 = { version = "1.0", optional = true }
memmap = { version = "0.7", optional = true }
serde = { version = "1.0", optional = true, features = ["derive"] }
serde_json = { version = "1.0", optional = true }
2019-10-20 18:51:12 +00:00
[dev-dependencies]
2020-11-17 07:47:01 +00:00
cxx = { version = "1.0", path = ".." }
2020-03-17 20:29:06 +00:00
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]