[dependencies.annotate-snippets]
optional = true
version = "0.11.4"
[dependencies.bitflags]
version = "2.2.1"
[dependencies.cexpr]
version = "0.6"
[dependencies.clang-sys]
features = ["clang_11_0"]
version = "1"
[dependencies.clap]
features = ["derive"]
optional = true
version = "4"
[dependencies.clap_complete]
optional = true
version = "4"
[dependencies.itertools]
default-features = false
version = ">=0.10,<0.14"
[dependencies.log]
optional = true
version = "0.4"
[dependencies.prettyplease]
features = ["verbatim"]
optional = true
version = "0.2.7"
[dependencies.proc-macro2]
version = "1"
[dependencies.quote]
default-features = false
version = "1"
[dependencies.regex]
default-features = false
features = ["std", "unicode-perl"]
version = "1.5.3"
[dependencies.rustc-hash]
version = "2.1.0"
[dependencies.shlex]
version = "1"
[dependencies.syn]
features = ["full", "extra-traits", "visit-mut"]
version = "2.0"
[features]
__cli = ["dep:clap", "dep:clap_complete"]
__testing_only_extra_assertions = []
__testing_only_libclang_16 = []
__testing_only_libclang_9 = []
default = ["logging", "prettyplease", "runtime"]
experimental = ["dep:annotate-snippets"]
logging = ["dep:log"]
runtime = ["clang-sys/runtime"]
static = ["clang-sys/static"]
which-rustfmt = []
[lib]
name = "bindgen"
path = "lib.rs"
[lints.clippy]
[lints.rust]
[package]
authors = ["Jyun-Yan You <jyyou.tw@gmail.com>", "Emilio Cobos Álvarez <emilio@crisal.io>", "Nick Fitzgerald <fitzgen@gmail.com>", "The Servo project developers"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = "build.rs"
categories = ["external-ffi-bindings", "development-tools::ffi"]
description = "Automatically generates Rust FFI bindings to C and C++ libraries."
documentation = "https://docs.rs/bindgen"
edition = "2021"
homepage = "https://rust-lang.github.io/rust-bindgen/"
keywords = ["bindings", "ffi", "code-generation"]
license = "BSD-3-Clause"
name = "bindgen"
readme = "README.md"
repository = "https://github.com/rust-lang/rust-bindgen"
rust-version = "1.70.0"
version = "0.71.1"
[package.metadata.docs.rs]
features = ["experimental"]
[package.metadata.release]
pre-release-hook = ["../node_modules/doctoc/doctoc.js", "../CHANGELOG.md"]
release = true
[[package.metadata.release.pre-release-replacements]]
file = "../CHANGELOG.md"
replace = """
# Unreleased
## Added
## Changed
## Removed
## Fixed
## Security
# {{version}} ({{date}})"""
search = "# Unreleased"