From 4d58f3d6ba1caaa331ae61471a6a0d6778d6baab Mon Sep 17 00:00:00 2001 From: gennyble Date: Thu, 23 Nov 2023 14:28:36 -0600 Subject: oh, i should commit :) --- Cargo.toml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 Cargo.toml (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..5e4dd38 --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,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" } -- cgit 1.4.1-3-g733a5