mirror of
https://gitee.com/openharmony/third_party_rust_bindgen
synced 2024-12-04 05:22:20 +00:00
80 lines
1.6 KiB
TOML
80 lines
1.6 KiB
TOML
[package]
|
|
authors = [
|
|
"Jyun-Yan You <jyyou.tw@gmail.com>",
|
|
"Emilio Cobos Álvarez <emilio@crisal.io>",
|
|
"Nick Fitzgerald <fitzgen@gmail.com>",
|
|
"The Servo project developers",
|
|
]
|
|
description = "Automatically generates Rust FFI bindings to C and C++ libraries."
|
|
keywords = ["bindings", "ffi", "code-generation"]
|
|
categories = ["external-ffi-bindings", "development-tools::ffi"]
|
|
license = "BSD-3-Clause"
|
|
name = "bindgen"
|
|
readme = "README.md"
|
|
repository = "https://github.com/servo/rust-bindgen"
|
|
documentation = "https://docs.rs/bindgen"
|
|
version = "0.24.0"
|
|
build = "build.rs"
|
|
|
|
exclude = [
|
|
"bindgen-integration",
|
|
"ci",
|
|
"tests/**",
|
|
]
|
|
|
|
[badges]
|
|
travis-ci = { repository = "servo/rust-bindgen" }
|
|
|
|
[lib]
|
|
path = "src/lib.rs"
|
|
|
|
[[bin]]
|
|
name = "bindgen"
|
|
path = "src/main.rs"
|
|
doc = false
|
|
|
|
[dev-dependencies]
|
|
diff = "0.1"
|
|
clap = "2"
|
|
shlex = "0.1"
|
|
|
|
[build-dependencies]
|
|
quasi_codegen = "0.32"
|
|
|
|
[dependencies]
|
|
cexpr = "0.2"
|
|
cfg-if = "0.1.0"
|
|
clang-sys = { version = "0.17.0", features = ["runtime", "clang_3_9"] }
|
|
lazy_static = "0.2.1"
|
|
syntex_syntax = "0.58"
|
|
regex = "0.2"
|
|
# This kinda sucks: https://github.com/rust-lang/cargo/issues/1982
|
|
clap = "2"
|
|
|
|
[dependencies.aster]
|
|
features = ["with-syntex"]
|
|
version = "0.41"
|
|
|
|
[dependencies.env_logger]
|
|
optional = true
|
|
version = "0.4"
|
|
|
|
[dependencies.log]
|
|
optional = true
|
|
version = "0.3"
|
|
|
|
[dependencies.quasi]
|
|
features = ["with-syntex"]
|
|
version = "0.32"
|
|
|
|
[features]
|
|
default = ["logging"]
|
|
logging = ["env_logger", "log"]
|
|
static = []
|
|
|
|
# These features only exist for CI testing -- don't use them if you're not hacking
|
|
# on bindgen!
|
|
testing_only_docs = []
|
|
testing_only_extra_assertions = []
|
|
testing_only_llvm_stable = []
|