summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Fitzgerald <fitzgen@gmail.com>2017-04-06 13:29:58 -0700
committerNick Fitzgerald <fitzgen@gmail.com>2017-04-06 13:29:58 -0700
commit2472a8a970ac459a793136c71072368f6302ab25 (patch)
tree39b1bf883c13727154c855c04c175022b57dcd34
parentabd454cfc67c6815bc9084fdf5b1405bfd5ac660 (diff)
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.
-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"