| # 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 = "2018" |
| rust-version = "1.60.0" |
| name = "bindgen-cli" |
| version = "0.64.0" |
| authors = ["The rust-bindgen project contributors"] |
| 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" |
| |
| [[bin]] |
| name = "bindgen" |
| path = "main.rs" |
| |
| [dependencies.bindgen] |
| version = "=0.64.0" |
| features = [ |
| "cli", |
| "experimental", |
| ] |
| |
| [dependencies.clap] |
| version = "4" |
| features = ["derive"] |
| |
| [dependencies.env_logger] |
| version = "0.9.0" |
| optional = true |
| |
| [dependencies.log] |
| version = "0.4" |
| optional = true |
| |
| [dependencies.shlex] |
| version = "1" |
| |
| [features] |
| default = [ |
| "logging", |
| "runtime", |
| "which-rustfmt", |
| ] |
| logging = [ |
| "bindgen/logging", |
| "env_logger", |
| "log", |
| ] |
| runtime = ["bindgen/runtime"] |
| static = ["bindgen/static"] |
| which-rustfmt = ["bindgen/which-rustfmt"] |