Cargo Features
nokhwa-core has no features set by default.
[dependencies]
nokhwa-core = { version = "0.1.5", 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 = bytemuck, opencv
-
Enables clang-runtime of opencv
opencv:
General features
Affects
buffer::channel_defs
… - 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.