116 lines
2.7 KiB
TOML
116 lines
2.7 KiB
TOML
|
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
|
||
|
#
|
||
|
# When uploading crates to the registry Cargo will automatically
|
||
|
# "normalize" Cargo.toml files for maximal compatibility
|
||
|
# with all versions of Cargo and also rewrite `path` dependencies
|
||
|
# to registry (e.g., crates.io) dependencies.
|
||
|
#
|
||
|
# If you are reading this file be aware that the original Cargo.toml
|
||
|
# will likely look very different (and much more reasonable).
|
||
|
# See Cargo.toml.orig for the original contents.
|
||
|
|
||
|
[package]
|
||
|
edition = "2018"
|
||
|
name = "bindgen"
|
||
|
version = "0.59.2"
|
||
|
authors = ["Jyun-Yan You <jyyou.tw@gmail.com>", "Emilio Cobos Álvarez <emilio@crisal.io>", "Nick Fitzgerald <fitzgen@gmail.com>", "The Servo project developers"]
|
||
|
build = "build.rs"
|
||
|
include = ["LICENSE", "README.md", "Cargo.toml", "build.rs", "src/*.rs", "src/**/*.rs"]
|
||
|
description = "Automatically generates Rust FFI bindings to C and C++ libraries."
|
||
|
homepage = "https://rust-lang.github.io/rust-bindgen/"
|
||
|
documentation = "https://docs.rs/bindgen"
|
||
|
readme = "README.md"
|
||
|
keywords = ["bindings", "ffi", "code-generation"]
|
||
|
categories = ["external-ffi-bindings", "development-tools::ffi"]
|
||
|
license = "BSD-3-Clause"
|
||
|
repository = "https://github.com/rust-lang/rust-bindgen"
|
||
|
|
||
|
[lib]
|
||
|
path = "src/lib.rs"
|
||
|
|
||
|
[[bin]]
|
||
|
name = "bindgen"
|
||
|
path = "src/main.rs"
|
||
|
doc = false
|
||
|
required-features = ["clap"]
|
||
|
[dependencies.bitflags]
|
||
|
version = "1.0.3"
|
||
|
|
||
|
[dependencies.cexpr]
|
||
|
version = "0.6"
|
||
|
|
||
|
[dependencies.clang-sys]
|
||
|
version = "1"
|
||
|
features = ["clang_6_0"]
|
||
|
|
||
|
[dependencies.clap]
|
||
|
version = "2"
|
||
|
optional = true
|
||
|
|
||
|
[dependencies.env_logger]
|
||
|
version = "0.9.0"
|
||
|
optional = true
|
||
|
|
||
|
[dependencies.lazy_static]
|
||
|
version = "1"
|
||
|
|
||
|
[dependencies.lazycell]
|
||
|
version = "1"
|
||
|
|
||
|
[dependencies.log]
|
||
|
version = "0.4"
|
||
|
optional = true
|
||
|
|
||
|
[dependencies.peeking_take_while]
|
||
|
version = "0.1.2"
|
||
|
|
||
|
[dependencies.proc-macro2]
|
||
|
version = "1"
|
||
|
default-features = false
|
||
|
|
||
|
[dependencies.quote]
|
||
|
version = "1"
|
||
|
default-features = false
|
||
|
|
||
|
[dependencies.regex]
|
||
|
version = "1.0"
|
||
|
features = ["std", "unicode"]
|
||
|
default-features = false
|
||
|
|
||
|
[dependencies.rustc-hash]
|
||
|
version = "1.0.1"
|
||
|
|
||
|
[dependencies.shlex]
|
||
|
version = "1"
|
||
|
|
||
|
[dependencies.which]
|
||
|
version = "4.2.1"
|
||
|
optional = true
|
||
|
default-features = false
|
||
|
[dev-dependencies.clap]
|
||
|
version = "2"
|
||
|
|
||
|
[dev-dependencies.diff]
|
||
|
version = "0.1"
|
||
|
|
||
|
[dev-dependencies.shlex]
|
||
|
version = "1"
|
||
|
|
||
|
[dev-dependencies.tempfile]
|
||
|
version = "3"
|
||
|
|
||
|
[features]
|
||
|
default = ["logging", "clap", "runtime", "which-rustfmt"]
|
||
|
logging = ["env_logger", "log"]
|
||
|
runtime = ["clang-sys/runtime"]
|
||
|
static = ["clang-sys/static"]
|
||
|
testing_only_docs = []
|
||
|
testing_only_extra_assertions = []
|
||
|
testing_only_libclang_3_9 = []
|
||
|
testing_only_libclang_4 = []
|
||
|
testing_only_libclang_5 = []
|
||
|
testing_only_libclang_9 = []
|
||
|
which-rustfmt = ["which"]
|
||
|
[badges.travis-ci]
|
||
|
repository = "rust-lang/rust-bindgen"
|