-
Notifications
You must be signed in to change notification settings - Fork 338
/
Cargo.toml
41 lines (35 loc) · 1.23 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
[package]
name = "cxxbridge-macro"
version = "1.0.124"
authors = ["David Tolnay <[email protected]>"]
categories = ["development-tools::ffi"]
description = "Implementation detail of the `cxx` crate."
edition = "2021"
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.63"
[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_derive", "serde_json"]
[dependencies]
proc-macro2 = "1.0.74"
quote = "1.0.35"
syn = { version = "2.0.46", features = ["full"] }
# optional dependencies:
clang-ast = { version = "0.1.18", optional = true }
flate2 = { version = "1.0.26", optional = true }
memmap = { version = "0.7", optional = true }
serde = { version = "1.0.166", optional = true }
serde_derive = { version = "1.0.166", optional = true }
serde_json = { version = "1.0.100", optional = true }
[dev-dependencies]
cxx = { version = "1.0", path = ".." }
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
rustdoc-args = ["--generate-link-to-definition"]