Cargo Features
nokhwa-core has no features set by default.
[dependencies]
nokhwa-core = { version = "0.1.3", features = ["serialize", "wgpu-types", "mjpeg", "opencv-mat", "docs-features", "test-fail-warnings"] }
- serialize docs-features? = serde
- wgpu-types docs-features? = wgpu
-
Affects
traits::CaptureBackendTrait.frame_texture
… - mjpeg docs-features? = mozjpeg
-
Affects
types::mjpeg_to_rgb
,types::buf_mjpeg_to_rgb
… - opencv-mat = opencv
- docs-features = mjpeg, serialize, wgpu-types
- test-fail-warnings
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- mozjpeg mjpeg?
- opencv opencv-mat?
- serde serialize?
- wgpu wgpu-types?
-
Enables wgpu ^22