| 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] |
| 13 |
edition = "2018" |
| 14 |
rust-version = "1.60.0" |
| 15 |
name = "bindgen" |
| 16 |
version = "0.65.1" |
| 17 |
authors = [ |
| 18 |
"Jyun-Yan You <[email protected]>", |
| 19 |
"Emilio Cobos Álvarez <[email protected]>", |
| 20 |
"Nick Fitzgerald <[email protected]>", |
| 21 |
"The Servo project developers", |
| 22 |
] |
| 23 |
build = "build.rs" |
| 24 |
description = "Automatically generates Rust FFI bindings to C and C++ libraries." |
| 25 |
homepage = "https://rust-lang.github.io/rust-bindgen/" |
| 26 |
documentation = "https://docs.rs/bindgen" |
| 27 |
readme = "../README.md" |
| 28 |
keywords = [ |
| 29 |
"bindings", |
| 30 |
"ffi", |
| 31 |
"code-generation", |
| 32 |
] |
| 33 |
categories = [ |
| 34 |
"external-ffi-bindings", |
| 35 |
"development-tools::ffi", |
| 36 |
] |
| 37 |
license = "BSD-3-Clause" |
| 38 |
repository = "https://github.com/rust-lang/rust-bindgen" |
| 39 |
|
| 40 |
[lib] |
| 41 |
name = "bindgen" |
| 42 |
path = "lib.rs" |
| 43 |
|
| 44 |
[dependencies.annotate-snippets] |
| 45 |
version = "0.9.1" |
| 46 |
features = ["color"] |
| 47 |
optional = true |
| 48 |
|
| 49 |
[dependencies.bitflags] |
| 50 |
version = "1.0.3" |
| 51 |
|
| 52 |
[dependencies.cexpr] |
| 53 |
version = "0.6" |
| 54 |
|
| 55 |
[dependencies.clang-sys] |
| 56 |
version = "1" |
| 57 |
features = ["clang_6_0"] |
| 58 |
|
| 59 |
[dependencies.lazy_static] |
| 60 |
version = "1" |
| 61 |
|
| 62 |
[dependencies.lazycell] |
| 63 |
version = "1" |
| 64 |
|
| 65 |
[dependencies.log] |
| 66 |
version = "0.4" |
| 67 |
optional = true |
| 68 |
|
| 69 |
[dependencies.peeking_take_while] |
| 70 |
version = "0.1.2" |
| 71 |
|
| 72 |
[dependencies.prettyplease] |
| 73 |
version = "0.2.0" |
| 74 |
|
| 75 |
[dependencies.proc-macro2] |
| 76 |
version = "1" |
| 77 |
default-features = false |
| 78 |
|
| 79 |
[dependencies.quote] |
| 80 |
version = "1" |
| 81 |
default-features = false |
| 82 |
|
| 83 |
[dependencies.regex] |
| 84 |
version = "1.5" |
| 85 |
features = [ |
| 86 |
"std", |
| 87 |
"unicode", |
| 88 |
] |
| 89 |
default-features = false |
| 90 |
|
| 91 |
[dependencies.rustc-hash] |
| 92 |
version = "1.0.1" |
| 93 |
|
| 94 |
[dependencies.shlex] |
| 95 |
version = "1" |
| 96 |
|
| 97 |
[dependencies.syn] |
| 98 |
version = "2.0" |
| 99 |
features = [ |
| 100 |
"full", |
| 101 |
"extra-traits", |
| 102 |
"visit-mut", |
| 103 |
] |
| 104 |
|
| 105 |
[dependencies.which] |
| 106 |
version = "4.2.1" |
| 107 |
optional = true |
| 108 |
default-features = false |
| 109 |
|
| 110 |
[features] |
| 111 |
__cli = [] |
| 112 |
default = [ |
| 113 |
"logging", |
| 114 |
"runtime", |
| 115 |
"which-rustfmt", |
| 116 |
] |
| 117 |
experimental = ["annotate-snippets"] |
| 118 |
logging = ["log"] |
| 119 |
runtime = ["clang-sys/runtime"] |
| 120 |
static = ["clang-sys/static"] |
| 121 |
testing_only_extra_assertions = [] |
| 122 |
testing_only_libclang_5 = [] |
| 123 |
testing_only_libclang_9 = [] |
| 124 |
which-rustfmt = ["which"] |