Use lib/bin separation to allow for proper documentation

This commit is contained in:
2017-07-14 17:23:26 +02:00
parent 1c0fbc8760
commit 87eba7e3a8
4 changed files with 104 additions and 92 deletions

View File

@@ -3,6 +3,16 @@ name = "pnmixer-rs"
version = "0.1.0"
authors = ["Julian Ospald <hasufell@posteo.de>"]
[lib]
name = "pnmixerlib"
path = "src/lib.rs"
doc = true
[[bin]]
name = "pnmixer-rs"
path = "src/bin.rs"
doc = false
[dependencies]
alsa = "^0.1.8"
alsa-sys = "^0.1.1"