summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2017-04-06 15:32:55 -0500
committerGitHub <noreply@github.com>2017-04-06 15:32:55 -0500
commitd112bc80e090abd6703a258d401e03714554e282 (patch)
tree1ef9ea6a7e5150a2f4802edb2ca4a632205ec195
parent261a81c7940dbde0f09f19cc4dd10437f8d230e8 (diff)
parent2472a8a970ac459a793136c71072368f6302ab25 (diff)
Auto merge of #617 - fitzgen:bin-doc-false, r=emilio
Don't build documentation for the binary, just the lib This enables one to locally do $ cargo doc and get library level documentation. Without the changes, cargo doesn't know whether to build docs for the binary or library, and so instead it gives an error and stops. r? @emilio
-rw-r--r--Cargo.toml1
1 files changed, 1 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
index d0e5011a..868c147c 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,6 +27,7 @@ path = "src/lib.rs"
[[bin]]
name = "bindgen"
path = "src/main.rs"
+doc = false
[dev-dependencies]
diff = "0.1"