summaryrefslogtreecommitdiff
path: root/v4l2-sys/Cargo.toml
blob: 22be781e330482ef94cbea8f537efd40bcf0faf7 (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
27
[package]
name = "v4l2-sys"
version = "1.1.0"
authors = ["Russel Winder <russel@winder.org.uk>"]
categories = ["api-bindings", "hardware-support", "external-ffi-bindings"]
keywords = ["ffi", "v4l2", "video", "dvb", "sdr"]
license = "LGPL-3.0"
build = "build.rs"
description = """
Rust FFI binding for the C API of Video for Linux API version 2, V4L2.
"""
repository = "https://gitlab.com/Russel/rust-v4l2-sys"
readme = "README.md"
edition = "2018"

[dependencies]
libc = "0.2"

[build-dependencies]
# So as to allow projects to use this crate with soapysdr-sys, the build of this
# crate must use the same bindgen as soapysdr-sys. This is exceedingly silly,
# there should not be such a coupling required by Cargo.
# cf. https://github.com/rust-lang/cargo/issues/5237
bindgen = "> 0.51"

[dev-dependencies]
rstest = "0.6.3"