Skip to content

Commit ce695ad

Browse files
committed
intermidiary commit
1 parent cc04c54 commit ce695ad

File tree

25 files changed

+674
-1040
lines changed

25 files changed

+674
-1040
lines changed

Cargo.lock

+61-40
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

nokhwa-bindings-linux/Cargo.toml

+5-2
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,15 @@ description = "The V4L2 bindings crate for `nokhwa`"
88
keywords = ["v4l", "v4l2", "linux", "capture", "webcam"]
99
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1010

11+
[features]
12+
v4l2 = ["v4l", "v4l2-sys-mit"]
13+
1114
[dependencies]
1215

1316
[dependencies.nokhwa-core]
1417
version = "0.2"
1518
path = "../nokhwa-core"
1619

1720
[target.'cfg(target_os="linux")'.dependencies]
18-
v4l = "0.14"
19-
v4l2-sys-mit = "0.3"
21+
v4l = { version = "0.14", optional = true }
22+
v4l2-sys-mit = { version = "0.3", optional = true }

0 commit comments

Comments
 (0)