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-cli" 16version = "0.64.0" 17authors = ["The rust-bindgen project contributors"] 18description = "Automatically generates Rust FFI bindings to C and C++ libraries." 19homepage = "https://rust-lang.github.io/rust-bindgen/" 20documentation = "https://docs.rs/bindgen" 21readme = "README.md" 22keywords = [ 23 "bindings", 24 "ffi", 25 "code-generation", 26] 27categories = [ 28 "external-ffi-bindings", 29 "development-tools::ffi", 30] 31license = "BSD-3-Clause" 32repository = "https://github.com/rust-lang/rust-bindgen" 33 34[[bin]] 35name = "bindgen" 36path = "main.rs" 37 38[dependencies.bindgen] 39version = "=0.64.0" 40features = [ 41 "cli", 42 "experimental", 43] 44 45[dependencies.clap] 46version = "4" 47features = ["derive"] 48 49[dependencies.env_logger] 50version = "0.9.0" 51optional = true 52 53[dependencies.log] 54version = "0.4" 55optional = true 56 57[dependencies.shlex] 58version = "1" 59 60[features] 61default = [ 62 "logging", 63 "runtime", 64 "which-rustfmt", 65] 66logging = [ 67 "bindgen/logging", 68 "env_logger", 69 "log", 70] 71runtime = ["bindgen/runtime"] 72static = ["bindgen/static"] 73which-rustfmt = ["bindgen/which-rustfmt"] 74