Nannou is optional
This commit is contained in:
parent
ac1aea1d68
commit
a6ac50c3b3
1 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue