1[package] 2authors = [ 3 "The rust-bindgen project contributors", 4] 5description = "Automatically generates Rust FFI bindings to C and C++ libraries." 6keywords = ["bindings", "ffi", "code-generation"] 7categories = ["external-ffi-bindings", "development-tools::ffi"] 8license = "BSD-3-Clause" 9name = "bindgen-cli" 10readme = "../README.md" 11repository = "https://github.com/rust-lang/rust-bindgen" 12documentation = "https://docs.rs/bindgen" 13homepage = "https://rust-lang.github.io/rust-bindgen/" 14version = "0.69.2" 15edition = "2018" 16rust-version = "1.64.0" 17 18[[bin]] 19path = "main.rs" 20name = "bindgen" 21 22[dependencies] 23bindgen = { path = "../bindgen", version = "=0.69.2", default-features = false, features = ["__cli", "experimental"] } 24clap = { version = "4", features = ["derive"] } 25clap_complete = "4" 26env_logger = { version = "0.10.0", optional = true } 27log = { version = "0.4", optional = true } 28shlex = "1" 29 30[features] 31default = ["logging", "runtime", "which-rustfmt"] 32logging = ["bindgen/logging", "dep:env_logger", "dep:log"] 33static = ["bindgen/static"] 34runtime = ["bindgen/runtime"] 35# Dynamically discover a `rustfmt` binary using the `which` crate 36which-rustfmt = ["bindgen/which-rustfmt"] 37 38## The following features are for internal use and they shouldn't be used if 39## you're not hacking on bindgen 40# Features used for CI testing 41__testing_only_extra_assertions = ["bindgen/__testing_only_extra_assertions"] 42__testing_only_libclang_9 = ["bindgen/__testing_only_libclang_9"] 43__testing_only_libclang_5 = ["bindgen/__testing_only_libclang_5"] 44 45[package.metadata.release] 46release = true 47 48[package.metadata.dist] 49dist = true 50