blob: d384b8bf46b3cf06b08404b2922b7daccd429cc6 [file] [log] [blame]
[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/rust-lang-nursery/rust-bindgen"
documentation = "https://docs.rs/bindgen"
version = "0.29.0"
build = "build.rs"
exclude = [
"bindgen-integration",
"ci",
"tests/**",
"*.orig",
]
[badges]
travis-ci = { repository = "rust-lang-nursery/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.19.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 = []