blob: 5e4dd38129774f1697219b51b7ed36af6b0baf1f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
[package]
name = "v4l16"
version = "0.1.0"
edition = "2021"
#build = "build.rs"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
#[dependencies]
#v4l2-sys-mit = "0.3.0" #{ path = "libv4l-rs/v4l2-sys" }
[target.'cfg(target_os = "linux")'.dependencies.nokhwa]
version = "0.10.3"
#path = "nokhwa"
#git = "https://github.com/l1npengtul/nokhwa"
# Use the native input backends, enable WGPU integration
default-features = false
features = ["input-v4l", "nokhwa-bindings-linux"]
[target.'cfg(target_os = "macos")'.dependencies.nokhwa]
version = "^0.10.0"
features = ["input-native"]
#[replace]
#"v4l2-sys-mit:0.2.0" = { path = "libv4l-rs/v4l2-sys" }
#"v4l:0.13.0" = { path = "libv4l-rs" }
|