mirror of
https://github.com/topjohnwu/cxx.git
synced 2024-11-23 20:09:55 +00:00
40 lines
1.1 KiB
TOML
40 lines
1.1 KiB
TOML
[package]
|
|
name = "cxxbridge-macro"
|
|
version = "1.0.97"
|
|
authors = ["David Tolnay <dtolnay@gmail.com>"]
|
|
categories = ["development-tools::ffi"]
|
|
description = "Implementation detail of the `cxx` crate."
|
|
edition = "2018"
|
|
exclude = ["build.rs", "README.md"]
|
|
homepage = "https://cxx.rs"
|
|
keywords = ["ffi"]
|
|
license = "MIT OR Apache-2.0"
|
|
repository = "https://github.com/dtolnay/cxx"
|
|
rust-version = "1.60"
|
|
|
|
[lib]
|
|
proc-macro = true
|
|
|
|
[features]
|
|
# incomplete features that are not covered by a compatibility guarantee:
|
|
experimental-async-fn = []
|
|
experimental-enum-variants-from-header = ["clang-ast", "flate2", "memmap", "serde", "serde_json"]
|
|
|
|
[dependencies]
|
|
proc-macro2 = "1.0.58"
|
|
quote = "1.0.4"
|
|
syn = { version = "2.0.1", 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"]
|