summaryrefslogtreecommitdiff
path: root/v4l2-sys/Cargo.toml
diff options
context:
space:
mode:
Diffstat (limited to 'v4l2-sys/Cargo.toml')
-rw-r--r--v4l2-sys/Cargo.toml27
1 files changed, 27 insertions, 0 deletions
diff --git a/v4l2-sys/Cargo.toml b/v4l2-sys/Cargo.toml
new file mode 100644
index 0000000..22be781
--- /dev/null
+++ b/v4l2-sys/Cargo.toml
@@ -0,0 +1,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"