forked from mozilla/cbindgen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
86 lines (79 loc) · 2.22 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
[package]
name = "cbindgen"
version = "0.26.0"
authors = [
"Emilio Cobos Álvarez <[email protected]>",
"Jeff Muizelaar <[email protected]>",
"Kartikaya Gupta <[email protected]>",
"Ryan Hunt <[email protected]>"
]
license = "MPL-2.0"
description = "A tool for generating C bindings to Rust code."
keywords = ["bindings", "ffi", "code-generation"]
categories = ["external-ffi-bindings", "development-tools::ffi"]
repository = "https://github.com/mozilla/cbindgen"
edition = "2018"
rust-version = "1.70"
exclude = [
"tests/profile.rs", # Test relies in a sub-crate, see https://github.com/rust-lang/cargo/issues/9017
]
[dependencies]
clap = { version = "4.3", optional = true }
indexmap = "2.1.0"
log = "0.4"
serde = { version = "1.0.103", default-features = false, features = ["derive"] }
serde_json = "1.0"
tempfile = "3"
toml = "0.8.8"
proc-macro2 = "1.0.60"
quote = "1"
heck = "0.4"
[dependencies.syn]
version = "2.0.64"
default-features = false
features = ["clone-impls", "extra-traits", "fold", "full", "parsing", "printing"]
[dev-dependencies]
serial_test = { version = "2.0.0", default-features = false }
pretty_assertions = "1.4.0"
[features]
default = ["clap"]
[[bin]]
name = "cbindgen"
path = "src/main.rs"
doc = false
required-features = ["clap"]
[lib]
name = "cbindgen"
path = "src/lib.rs"
[workspace]
exclude = [
"tests/depfile/single_crate_config",
"tests/depfile/single_crate_default_config",
"tests/depfile/single_crate",
"tests/rust/bitfield",
"tests/rust/dep_v2",
"tests/rust/dep_v2/dep",
"tests/rust/derive_eq",
"tests/rust/expand_default_features",
"tests/rust/expand_dep_v2",
"tests/rust/expand_dep_v2/dep_v2",
"tests/rust/expand_dep_v2/dep",
"tests/rust/expand_dep",
"tests/rust/expand_dep/dep",
"tests/rust/expand_features",
"tests/rust/expand_no_default_features",
"tests/rust/expand",
"tests/rust/external_workspace_child",
"tests/rust/literal_target",
"tests/rust/mod_2015",
"tests/rust/mod_2018",
"tests/rust/mod_attr",
"tests/rust/mod_path",
"tests/rust/package_version",
"tests/rust/rename_crate",
"tests/rust/rename_crate/dependency",
"tests/rust/rename_crate/no_extern",
"tests/rust/rename_crate/old_dep",
"tests/rust/workspace",
"tests/rust/workspace/dep",
]