| 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.69.4" |
| 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 |
[package.metadata.docs.rs] |
| 41 |
features = ["experimental"] |
| 42 |
|
| 43 |
[package.metadata.release] |
| 44 |
pre-release-hook = [ |
| 45 |
"../node_modules/doctoc/doctoc.js", |
| 46 |
"../CHANGELOG.md", |
| 47 |
] |
| 48 |
release = true |
| 49 |
|
| 50 |
[[package.metadata.release.pre-release-replacements]] |
| 51 |
file = "../CHANGELOG.md" |
| 52 |
replace = """ |
| 53 |
# Unreleased |
| 54 |
## Added |
| 55 |
## Changed |
| 56 |
## Removed |
| 57 |
## Fixed |
| 58 |
## Security |
| 59 |
|
| 60 |
# {{version}} ({{date}})""" |
| 61 |
search = "# Unreleased" |
| 62 |
|
| 63 |
[lib] |
| 64 |
name = "bindgen" |
| 65 |
path = "lib.rs" |
| 66 |
|
| 67 |
[dependencies.annotate-snippets] |
| 68 |
version = "0.9.1" |
| 69 |
features = ["color"] |
| 70 |
optional = true |
| 71 |
|
| 72 |
[dependencies.bitflags] |
| 73 |
version = "2.2.1" |
| 74 |
|
| 75 |
[dependencies.cexpr] |
| 76 |
version = "0.6" |
| 77 |
|
| 78 |
[dependencies.clang-sys] |
| 79 |
version = "1" |
| 80 |
features = ["clang_6_0"] |
| 81 |
|
| 82 |
[dependencies.itertools] |
| 83 |
version = ">=0.10,<0.13" |
| 84 |
default-features = false |
| 85 |
|
| 86 |
[dependencies.lazy_static] |
| 87 |
version = "1" |
| 88 |
|
| 89 |
[dependencies.lazycell] |
| 90 |
version = "1" |
| 91 |
|
| 92 |
[dependencies.log] |
| 93 |
version = "0.4" |
| 94 |
optional = true |
| 95 |
|
| 96 |
[dependencies.prettyplease] |
| 97 |
version = "0.2.7" |
| 98 |
features = ["verbatim"] |
| 99 |
optional = true |
| 100 |
|
| 101 |
[dependencies.proc-macro2] |
| 102 |
version = "1" |
| 103 |
default-features = false |
| 104 |
|
| 105 |
[dependencies.quote] |
| 106 |
version = "1" |
| 107 |
default-features = false |
| 108 |
|
| 109 |
[dependencies.regex] |
| 110 |
version = "1.5.1" |
| 111 |
features = [ |
| 112 |
"std", |
| 113 |
"unicode-perl", |
| 114 |
] |
| 115 |
default-features = false |
| 116 |
|
| 117 |
[dependencies.rustc-hash] |
| 118 |
version = "1.0.1" |
| 119 |
|
| 120 |
[dependencies.shlex] |
| 121 |
version = "1" |
| 122 |
|
| 123 |
[dependencies.syn] |
| 124 |
version = "2.0" |
| 125 |
features = [ |
| 126 |
"full", |
| 127 |
"extra-traits", |
| 128 |
"visit-mut", |
| 129 |
] |
| 130 |
|
| 131 |
[dependencies.which] |
| 132 |
version = "4.2.1" |
| 133 |
optional = true |
| 134 |
default-features = false |
| 135 |
|
| 136 |
[features] |
| 137 |
__cli = [] |
| 138 |
__testing_only_extra_assertions = [] |
| 139 |
__testing_only_libclang_16 = [] |
| 140 |
__testing_only_libclang_9 = [] |
| 141 |
default = [ |
| 142 |
"logging", |
| 143 |
"prettyplease", |
| 144 |
"runtime", |
| 145 |
"which-rustfmt", |
| 146 |
] |
| 147 |
experimental = ["dep:annotate-snippets"] |
| 148 |
logging = ["dep:log"] |
| 149 |
runtime = ["clang-sys/runtime"] |
| 150 |
static = ["clang-sys/static"] |
| 151 |
which-rustfmt = ["dep:which"] |