third_party_rust_bindgen/Cargo.toml
2017-06-22 09:37:19 -07:00

84 lines
1.7 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.26.2"
build = "build.rs"
exclude = [
"bindgen-integration",
"ci",
"tests/**",
"*.orig",
]
[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.18.0", features = ["runtime", "clang_3_9"] }
lazy_static = "0.2.1"
peeking_take_while = "0.1.2"
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_libclang_4 = []
testing_only_libclang_3_9 = []
testing_only_libclang_3_8 = []