summaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml71
1 files changed, 65 insertions, 6 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 106e652b..2187a196 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,7 +1,66 @@
-[workspace]
-members = [
- "bindgen",
- "bindgen-integration",
- "libbindgen",
- "libbindgen/tests/expectations",
+[package]
+authors = [
+ "Jyun-Yan You <jyyou.tw@gmail.com>",
+ "Emilio Cobos Álvarez <emilio@crisal.io>",
+ "The Servo project developers",
]
+description = "A binding generator for Rust"
+homepage = "https://github.com/servo/rust-bindgen"
+keywords = ["bindings", "ffi", "code-generation"]
+license = "BSD-3-Clause"
+name = "bindgen"
+readme = "README.md"
+repository = "https://github.com/servo/rust-bindgen"
+version = "0.20.0"
+build = "build.rs"
+
+[lib]
+path = "src/lib.rs"
+
+[[bin]]
+name = "bindgen"
+path = "src/main.rs"
+
+[dev-dependencies]
+diff = "0.1"
+clap = "2"
+shlex = "0.1"
+
+[build-dependencies]
+quasi_codegen = "0.26"
+
+[dependencies]
+cexpr = "0.2"
+cfg-if = "0.1.0"
+clang-sys = { version = "0.12", features = ["runtime", "clang_3_9"] }
+lazy_static = "0.2.1"
+rustc-serialize = "0.3.19"
+syntex_syntax = "0.54"
+regex = "0.2"
+# This kinda sucks: https://github.com/rust-lang/cargo/issues/1982
+clap = "2"
+
+[dependencies.aster]
+features = ["with-syntex"]
+version = "0.38"
+
+[dependencies.env_logger]
+optional = true
+version = "0.4"
+
+[dependencies.log]
+optional = true
+version = "0.3"
+
+[dependencies.quasi]
+features = ["with-syntex"]
+version = "0.29"
+
+[features]
+assert_no_dangling_items = []
+default = ["logging"]
+llvm_stable = []
+logging = ["env_logger", "log"]
+static = []
+# This feature only exists for CI -- don't use it!
+docs_ = []