• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1[package]
2name = "v4l2r"
3version = "0.0.5"
4authors = ["Alexandre Courbot <gnurou@gmail.com>"]
5edition = "2021"
6description = "Safe and flexible abstraction over V4L2"
7repository = "https://github.com/Gnurou/v4l2r"
8categories = ["os"]
9keywords = ["v4l2", "video", "linux"]
10license = "MIT"
11
12readme.workspace = true
13
14[features]
15# Generate the bindings for 64-bit even if the host is 32-bit.
16arch64 = []
17# Generate the bindings for 32-bit even if the host is 64-bit.
18arch32 = []
19
20[dependencies]
21nix = { version = "0.28", features = ["ioctl", "mman", "poll", "fs", "event"] }
22bitflags = "2.4"
23thiserror = "1.0"
24anyhow = "1.0"
25log = "0.4.14"
26enumn = "0.1.6"
27
28[build-dependencies]
29bindgen = "0.69"
30
31# For example programs
32[dev-dependencies]
33ctrlc = "3.1.4"
34clap = "3.2"
35env_logger = "0.10"
36v4l2r-utils = { path = "../utils" }
37