Nannou is optional

This commit is contained in:
Ruben van de Ven 2020-10-02 14:39:10 +02:00
parent ac1aea1d68
commit a6ac50c3b3
1 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ edition = "2018"
[features] [features]
build-binary = ["v4l"] build-binary = ["v4l", "nannou"]
[[bin]] [[bin]]
name = "visual_haarcascades" name = "visual_haarcascades"
@ -23,7 +23,7 @@ path = "src/lib.rs"
crate-type = ["dylib"] crate-type = ["dylib"]
[dependencies] [dependencies]
nannou = "0.14" nannou = {version = "0.14", optional = true}
# clang-sys = "0.29.3" # clang-sys = "0.29.3"
v4l = {version = "0.5.1", features = ["libv4l"], optional = true} v4l = {version = "0.5.1", features = ["libv4l"], optional = true}
image = "0.23" image = "0.23"