1# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2#
3# When uploading crates to the registry Cargo will automatically
4# "normalize" Cargo.toml files for maximal compatibility
5# with all versions of Cargo and also rewrite `path` dependencies
6# to registry (e.g., crates.io) dependencies.
7#
8# If you are reading this file be aware that the original Cargo.toml
9# will likely look very different (and much more reasonable).
10# See Cargo.toml.orig for the original contents.
11
12[package]
13edition = "2018"
14rust-version = "1.60.0"
15name = "bindgen"
16version = "0.69.5"
17authors = [
18    "Jyun-Yan You <[email protected]>",
19    "Emilio Cobos Álvarez <[email protected]>",
20    "Nick Fitzgerald <[email protected]>",
21    "The Servo project developers",
22]
23build = "build.rs"
24autobins = false
25autoexamples = false
26autotests = false
27autobenches = false
28description = "Automatically generates Rust FFI bindings to C and C++ libraries."
29homepage = "https://rust-lang.github.io/rust-bindgen/"
30documentation = "https://docs.rs/bindgen"
31readme = "README.md"
32keywords = [
33    "bindings",
34    "ffi",
35    "code-generation",
36]
37categories = [
38    "external-ffi-bindings",
39    "development-tools::ffi",
40]
41license = "BSD-3-Clause"
42repository = "https://github.com/rust-lang/rust-bindgen"
43
44[package.metadata.docs.rs]
45features = ["experimental"]
46
47[package.metadata.release]
48pre-release-hook = [
49    "../node_modules/doctoc/doctoc.js",
50    "../CHANGELOG.md",
51]
52release = true
53
54[[package.metadata.release.pre-release-replacements]]
55file = "../CHANGELOG.md"
56replace = """
57# Unreleased
58## Added
59## Changed
60## Removed
61## Fixed
62## Security
63
64# {{version}} ({{date}})"""
65search = "# Unreleased"
66
67[lib]
68name = "bindgen"
69path = "lib.rs"
70
71[dependencies.annotate-snippets]
72version = "0.9.1"
73features = ["color"]
74optional = true
75
76[dependencies.bitflags]
77version = "2.2.1"
78
79[dependencies.cexpr]
80version = "0.6"
81
82[dependencies.clang-sys]
83version = "1"
84features = ["clang_6_0"]
85
86[dependencies.itertools]
87version = ">=0.10,<0.13"
88default-features = false
89
90[dependencies.lazy_static]
91version = "1"
92
93[dependencies.lazycell]
94version = "1"
95
96[dependencies.log]
97version = "0.4"
98optional = true
99
100[dependencies.prettyplease]
101version = "0.2.7"
102features = ["verbatim"]
103optional = true
104
105[dependencies.proc-macro2]
106version = "1"
107default-features = false
108
109[dependencies.quote]
110version = "1"
111default-features = false
112
113[dependencies.regex]
114version = "1.5.1"
115features = [
116    "std",
117    "unicode-perl",
118]
119default-features = false
120
121[dependencies.rustc-hash]
122version = "1.0.1"
123
124[dependencies.shlex]
125version = "1"
126
127[dependencies.syn]
128version = "2.0"
129features = [
130    "full",
131    "extra-traits",
132    "visit-mut",
133]
134
135[dependencies.which]
136version = "4.2.1"
137optional = true
138default-features = false
139
140[features]
141__cli = []
142__testing_only_extra_assertions = []
143__testing_only_libclang_16 = []
144__testing_only_libclang_9 = []
145default = [
146    "logging",
147    "prettyplease",
148    "runtime",
149    "which-rustfmt",
150]
151experimental = ["dep:annotate-snippets"]
152logging = ["dep:log"]
153runtime = ["clang-sys/runtime"]
154static = ["clang-sys/static"]
155which-rustfmt = ["dep:which"]
156