• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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.64.0"
15name = "bindgen-cli"
16version = "0.69.2"
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[package.metadata.dist]
35dist = true
36
37[package.metadata.release]
38release = true
39
40[[bin]]
41name = "bindgen"
42path = "main.rs"
43
44[dependencies.bindgen]
45version = "=0.69.2"
46features = [
47    "__cli",
48    "experimental",
49]
50default-features = false
51
52[dependencies.clap]
53version = "4"
54features = ["derive"]
55
56[dependencies.clap_complete]
57version = "4"
58
59[dependencies.env_logger]
60version = "0.10.0"
61optional = true
62
63[dependencies.log]
64version = "0.4"
65optional = true
66
67[dependencies.shlex]
68version = "1"
69
70[features]
71__testing_only_extra_assertions = ["bindgen/__testing_only_extra_assertions"]
72__testing_only_libclang_5 = ["bindgen/__testing_only_libclang_5"]
73__testing_only_libclang_9 = ["bindgen/__testing_only_libclang_9"]
74default = [
75    "logging",
76    "runtime",
77    "which-rustfmt",
78]
79logging = [
80    "bindgen/logging",
81    "dep:env_logger",
82    "dep:log",
83]
84runtime = ["bindgen/runtime"]
85static = ["bindgen/static"]
86which-rustfmt = ["bindgen/which-rustfmt"]
87