mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-06-14 03:32:00 +08:00
29 lines
692 B
TOML
29 lines
692 B
TOML
[package]
|
|
name = "v4l2r"
|
|
version = "0.0.7"
|
|
authors = ["Alexandre Courbot <gnurou@gmail.com>"]
|
|
edition = "2021"
|
|
description = "Safe and flexible abstraction over V4L2"
|
|
repository = "https://github.com/Gnurou/v4l2r"
|
|
categories = ["os"]
|
|
keywords = ["v4l2", "video", "linux"]
|
|
|
|
license-file.workspace = true
|
|
readme.workspace = true
|
|
|
|
[features]
|
|
# Generate the bindings for 64-bit even if the host is 32-bit.
|
|
arch64 = []
|
|
# Generate the bindings for 32-bit even if the host is 64-bit.
|
|
arch32 = []
|
|
|
|
[dependencies]
|
|
nix = { version = "0.28", features = ["ioctl", "mman", "poll", "fs", "event"] }
|
|
bitflags = "2.4"
|
|
thiserror = "1.0"
|
|
log = "0.4.14"
|
|
enumn = "0.1.6"
|
|
|
|
[build-dependencies]
|
|
bindgen = "0.70.1"
|