cxx/macro/Cargo.toml
2021-12-10 13:36:54 -08:00

38 lines
1018 B
TOML

[package]
name = "cxxbridge-macro"
version = "1.0.60"
authors = ["David Tolnay <dtolnay@gmail.com>"]
edition = "2018"
rust-version = "1.48"
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"]
keywords = ["ffi"]
categories = ["development-tools::ffi"]
[lib]
proc-macro = true
[features]
experimental = ["clang-ast", "flate2", "memmap", "serde", "serde_json"]
[dependencies]
proc-macro2 = "1.0"
quote = "1.0.4"
syn = { version = "1.0.70", features = ["full"] }
# optional dependencies
clang-ast = { version = "0.1", optional = true }
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 }
[dev-dependencies]
cxx = { version = "1.0", path = ".." }
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]