[package] name = "nokhwa-core" version = "0.1.3" authors = ["l1npengtul "] edition = "2021" description = "Core type definitions for nokhwa" keywords = ["camera", "webcam", "capture", "cross-platform"] license = "Apache-2.0" repository = "https://github.com/l1npengtul/nokhwa" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [features] default = [] serialize = ["serde"] wgpu-types = ["wgpu"] mjpeg = ["mozjpeg"] opencv-mat = ["opencv"] docs-features = ["serialize", "wgpu-types", "mjpeg"] test-fail-warnings = [] [dependencies] thiserror = "1.0" bytes = "1.3" [dependencies.image] version = "0.25" default-features = false [dependencies.serde] version = "1.0" features = ["derive"] optional = true [dependencies.wgpu] version = "22" optional = true [dependencies.opencv] version = "0.93" default-features = false optional = true [dependencies.mozjpeg] version = "0.10" optional = true [package.metadata.docs.rs] features = ["docs-features"]