1[package]
2name = "cxxbridge-macro"
3version = "1.0.119"
4authors = ["David Tolnay <[email protected]>"]
5categories = ["development-tools::ffi"]
6description = "Implementation detail of the `cxx` crate."
7edition = "2021"
8exclude = ["build.rs", "README.md"]
9homepage = "https://cxx.rs"
10keywords = ["ffi"]
11license = "MIT OR Apache-2.0"
12repository = "https://github.com/dtolnay/cxx"
13rust-version = "1.60"
14
15[lib]
16proc-macro = true
17
18[features]
19# incomplete features that are not covered by a compatibility guarantee:
20experimental-async-fn = []
21experimental-enum-variants-from-header = ["clang-ast", "flate2", "memmap", "serde", "serde_derive", "serde_json"]
22
23[dependencies]
24proc-macro2 = "1.0.74"
25quote = "1.0.35"
26syn = { version = "2.0.46", features = ["full"] }
27
28# optional dependencies:
29clang-ast = { version = "0.1.18", optional = true }
30flate2 = { version = "1.0.26", optional = true }
31memmap = { version = "0.7", optional = true }
32serde = { version = "1.0.166", optional = true }
33serde_derive = { version = "1.0.166", optional = true }
34serde_json = { version = "1.0.100", optional = true }
35
36[dev-dependencies]
37cxx = { version = "1.0", path = ".." }
38
39[package.metadata.docs.rs]
40targets = ["x86_64-unknown-linux-gnu"]
41rustdoc-args = ["--generate-link-to-definition"]
42