• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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.1"
17authors = [
18    "Jyun-Yan You <jyyou.tw@gmail.com>",
19    "Emilio Cobos Álvarez <emilio@crisal.io>",
20    "Nick Fitzgerald <fitzgen@gmail.com>",
21    "The Servo project developers",
22]
23build = "build.rs"
24description = "Automatically generates Rust FFI bindings to C and C++ libraries."
25homepage = "https://rust-lang.github.io/rust-bindgen/"
26documentation = "https://docs.rs/bindgen"
27readme = "README.md"
28keywords = [
29    "bindings",
30    "ffi",
31    "code-generation",
32]
33categories = [
34    "external-ffi-bindings",
35    "development-tools::ffi",
36]
37license = "BSD-3-Clause"
38repository = "https://github.com/rust-lang/rust-bindgen"
39
40[package.metadata.docs.rs]
41features = ["experimental"]
42
43[package.metadata.release]
44pre-release-hook = [
45    "../node_modules/doctoc/doctoc.js",
46    "../CHANGELOG.md",
47]
48release = true
49
50[[package.metadata.release.pre-release-replacements]]
51file = "../CHANGELOG.md"
52replace = """
53# Unreleased
54## Added
55## Changed
56## Removed
57## Fixed
58## Security
59
60# {{version}} ({{date}})"""
61search = "# Unreleased"
62
63[lib]
64name = "bindgen"
65path = "lib.rs"
66
67[dependencies.annotate-snippets]
68version = "0.9.1"
69features = ["color"]
70optional = true
71
72[dependencies.bitflags]
73version = "2.2.1"
74
75[dependencies.cexpr]
76version = "0.6"
77
78[dependencies.clang-sys]
79version = "1"
80features = ["clang_6_0"]
81
82[dependencies.lazy_static]
83version = "1"
84
85[dependencies.lazycell]
86version = "1"
87
88[dependencies.log]
89version = "0.4"
90optional = true
91
92[dependencies.peeking_take_while]
93version = "0.1.2"
94
95[dependencies.prettyplease]
96version = "0.2.7"
97features = ["verbatim"]
98optional = true
99
100[dependencies.proc-macro2]
101version = "1"
102default-features = false
103
104[dependencies.quote]
105version = "1"
106default-features = false
107
108[dependencies.regex]
109version = "1.5"
110features = [
111    "std",
112    "unicode",
113]
114default-features = false
115
116[dependencies.rustc-hash]
117version = "1.0.1"
118
119[dependencies.shlex]
120version = "1"
121
122[dependencies.syn]
123version = "2.0"
124features = [
125    "full",
126    "extra-traits",
127    "visit-mut",
128]
129
130[dependencies.which]
131version = "4.2.1"
132optional = true
133default-features = false
134
135[features]
136__cli = []
137__testing_only_extra_assertions = []
138__testing_only_libclang_5 = []
139__testing_only_libclang_9 = []
140default = [
141    "logging",
142    "prettyplease",
143    "runtime",
144    "which-rustfmt",
145]
146experimental = ["dep:annotate-snippets"]
147logging = ["dep:log"]
148runtime = ["clang-sys/runtime"]
149static = ["clang-sys/static"]
150which-rustfmt = ["dep:which"]
151