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.64.0" 15edition = "2018" 16# If you change this, also update README.md and msrv in .github/workflows/bindgen.yml 17rust-version = "1.60.0" 18 19[[bin]] 20path = "main.rs" 21name = "bindgen" 22 23[dependencies] 24bindgen = { path = "../bindgen", version = "=0.64.0", features = ["cli", "experimental"] } 25shlex = "1" 26clap = { version = "4", features = ["derive"] } 27env_logger = { version = "0.9.0", optional = true } 28log = { version = "0.4", optional = true } 29 30[features] 31default = ["logging", "runtime", "which-rustfmt"] 32logging = ["bindgen/logging", "env_logger", "log"] 33static = ["bindgen/static"] 34runtime = ["bindgen/runtime"] 35# Dynamically discover a `rustfmt` binary using the `which` crate 36which-rustfmt = ["bindgen/which-rustfmt"] 37