aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
blob: 4b5f3089d6445b1a67252c3a341b5b1c335e2f01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
# 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.64.0"
name = "bindgen-cli"
version = "0.65.1"
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.65.1"
features = [
    "__cli",
    "experimental",
]

[dependencies.clap]
version = "4"
features = ["derive"]

[dependencies.env_logger]
version = "0.10.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"]