bindgen-cli 0.73.0

Automatically generates Rust FFI bindings to C and C++ libraries.
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.71.0"
name = "bindgen-cli"
version = "0.73.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Automatically generates Rust FFI bindings to C and C++ libraries."
homepage = "https://rust-lang.github.io/rust-bindgen/"
documentation = "https://docs.rs/bindgen"
readme = "README.md"
keywords = [
    "bindings",
    "ffi",
    "code-generation",
]
categories = [
    "external-ffi-bindings",
    "development-tools::ffi",
]
license = "BSD-3-Clause"
repository = "https://github.com/rust-lang/rust-bindgen"

[package.metadata.release]
release = true

[package.metadata.dist]
dist = true

[features]
__testing_only_extra_assertions = ["bindgen/__testing_only_extra_assertions"]
__testing_only_libclang_16 = ["bindgen/__testing_only_libclang_16"]
__testing_only_libclang_20 = ["bindgen/__testing_only_libclang_20"]
default = [
    "logging",
    "runtime",
]
libcpp = ["bindgen/libcpp"]
logging = [
    "bindgen/logging",
    "dep:env_logger",
    "dep:log",
]
prettyplease = ["bindgen/prettyplease"]
runtime = ["bindgen/runtime"]
static = ["bindgen/static"]

[[bin]]
name = "bindgen"
path = "main.rs"

[dependencies.bindgen]
version = "0.73.0"
features = [
    "__cli",
    "experimental",
    "prettyplease",
]
default-features = false

[dependencies.env_logger]
version = "0.10.0"
optional = true

[dependencies.log]
version = "0.4"
optional = true

[dependencies.proc-macro2]
version = "1.0.80"

[dependencies.shlex]
version = "2"

[lints.clippy]
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
default_trait_access = "allow"
enum_glob_use = "allow"
ignored_unit_patterns = "allow"
implicit_hasher = "allow"
items_after_statements = "allow"
match_same_arms = "allow"
maybe_infinite_iter = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
redundant_closure_for_method_calls = "allow"
return_self_not_must_use = "allow"
similar_names = "allow"
struct_excessive_bools = "allow"
struct_field_names = "allow"
too_many_lines = "allow"
trivially_copy_pass_by_ref = "allow"
unnecessary_wraps = "allow"
unreadable_literal = "allow"
unused_self = "allow"
used_underscore_binding = "allow"
wildcard_imports = "allow"

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
unused_qualifications = "warn"