-
Notifications
You must be signed in to change notification settings - Fork 792
Expand file tree
/
Copy pathCargo.toml
More file actions
49 lines (42 loc) · 1.48 KB
/
Cargo.toml
File metadata and controls
49 lines (42 loc) · 1.48 KB
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
lints.workspace = true
[package]
authors = [
"The rust-bindgen project contributors",
]
description = "Automatically generates Rust FFI bindings to C and C++ libraries."
keywords = ["bindings", "ffi", "code-generation"]
categories = ["external-ffi-bindings", "development-tools::ffi"]
license = "BSD-3-Clause"
name = "bindgen-cli"
readme = "../README.md"
repository = "https://github.com/rust-lang/rust-bindgen"
documentation = "https://docs.rs/bindgen"
homepage = "https://rust-lang.github.io/rust-bindgen/"
version = "0.72.0"
rust-version.workspace = true
edition.workspace = true
[[bin]]
path = "main.rs"
name = "bindgen"
[dependencies]
bindgen = { workspace = true, features = ["__cli", "experimental", "prettyplease"] }
env_logger = { workspace = true, optional = true }
log = { workspace = true, optional = true }
proc-macro2.workspace = true
shlex.workspace = true
[features]
default = ["logging", "runtime"]
logging = ["bindgen/logging", "dep:env_logger", "dep:log"]
static = ["bindgen/static"]
runtime = ["bindgen/runtime"]
prettyplease = ["bindgen/prettyplease"]
## The following features are for internal use and they shouldn't be used if
## you're not hacking on bindgen
# Features used for CI testing
__testing_only_extra_assertions = ["bindgen/__testing_only_extra_assertions"]
__testing_only_libclang_9 = ["bindgen/__testing_only_libclang_9"]
__testing_only_libclang_16 = ["bindgen/__testing_only_libclang_16"]
[package.metadata.release]
release = true
[package.metadata.dist]
dist = true