cxx/macro/Cargo.toml

37 lines
996 B
TOML
Raw Normal View History

2019-10-20 18:51:12 +00:00
[package]
name = "cxxbridge-macro"
2021-09-24 18:47:58 +00:00
version = "1.0.55"
2019-10-20 18:51:12 +00:00
authors = ["David Tolnay <dtolnay@gmail.com>"]
edition = "2018"
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"]