If v4l crate expects user to enable either libv4l or v4l2 features then there should probably be some #[cfg(...)] comile_error!() stating this if none or both of the features are enabled.
Now I get something like:
error[E0432]: unresolved import `crate::v4l_sys`
--> /home/vi/.cargo/registry/src/-3d9d141e372ea94e/v4l-0.14.0/src/v4l2/videodev.rs:1:12
|
1 | use crate::v4l_sys::v4l2_ext_control;
| ^^^^^^^ could not find `v4l_sys` in the crate root
If
v4l
crate expects user to enable eitherlibv4l
orv4l2
features then there should probably be some#[cfg(...)] comile_error!()
stating this if none or both of the features are enabled.Now I get something like:
(many similar compiler errors)