1[package]
2name = "v4l2r-ffi"
3version = "0.0.1"
4authors = ["Alexandre Courbot <[email protected]>"]
5edition = "2021"
6description = "FFI bindings for the v4l2r crate"
7repository = "https://github.com/Gnurou/v4l2r"
8categories = ["os"]
9keywords = ["v4l2", "video", "linux", "ffi"]
10license = "MIT"
11
12readme.workspace = true
13
14[lib]
15crate-type = ["lib", "staticlib"]
16
17[features]
18default = ["linux"]
19linux = ["env_logger"]
20android = ["android_logger"]
21
22[dependencies.v4l2r]
23path = "../lib"
24
25[dependencies]
26nix = "0.28"
27anyhow = "1.0"
28log = "0.4.14"
29env_logger = { version = "0.10", optional = true }
30android_logger = { version = "0.11.0", optional = true }
31
32[build-dependencies]
33cbindgen = "0.25"
34