Skip to content

Use docopt for argument parsing #44

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 27, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 31 additions & 20 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,38 +1,49 @@
[package]
name = "bindgen"
version = "0.16.0"
description = "A binding generator for Rust"
authors = ["Jyun-Yan You <[email protected]>"]
license = "BSD-3-Clause"
build = "build.rs"
description = "A binding generator for Rust"
homepage = "https://github.com/crabtw/rust-bindgen"
repository = "https://github.com/crabtw/rust-bindgen"
keywords = ["bindings", "ffi", "code-generation"]
license = "BSD-3-Clause"
name = "bindgen"
readme = "README.md"
keywords = [ "bindings", "ffi", "code-generation" ]
build = "build.rs"
repository = "https://github.com/crabtw/rust-bindgen"
version = "0.16.0"

[dependencies]
aster = { version = "0.21.1", features = ["with-syntex"] }
quasi = { version = "0.15", features = ["with-syntex"] }
clippy = { version = "*", optional = true }
syntex_syntax = "0.38"
log = "0.3.*"
libc = "0.2.*"
clang-sys = "0.8.0"
[[bin]]
doc = false
name = "bindgen"

[build-dependencies]
quasi_codegen = "0.15"

[dependencies]
clang-sys = "0.8.0"
docopt = "0.6.82"
libc = "0.2.*"
log = "0.3.*"
rustc-serialize = "0.3.19"
syntex_syntax = "0.38"

[dependencies.aster]
features = ["with-syntex"]
version = "0.21.1"

[dependencies.clippy]
optional = true
version = "*"

[dependencies.quasi]
features = ["with-syntex"]
version = "0.15"

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using cargo add really goes to town with reformatting toml files... I can revert this and add the dependency manually, if you'd prefer.

[features]
static = []
llvm_stable = []
static = []

[lib]
name = "bindgen"
path = "src/lib.rs"

[[bin]]
name = "bindgen"
doc = false

[[test]]
name = "tests"
Loading