# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "nokhwa-core" version = "0.1.5" authors = ["l1npengtul "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Core type definitions for nokhwa" readme = "README.md" keywords = [ "camera", "webcam", "capture", "cross-platform", ] license = "Apache-2.0" repository = "https://github.com/l1npengtul/nokhwa" [package.metadata.docs.rs] features = ["docs-features"] [lib] name = "nokhwa_core" path = "src/lib.rs" [dependencies.bytemuck] version = "1" optional = true [dependencies.bytes] version = "1.3" [dependencies.image] version = "0.25" default-features = false [dependencies.mozjpeg] version = "0.10" optional = true [dependencies.opencv] version = "0.93" optional = true [dependencies.serde] version = "1.0" features = ["derive"] optional = true [dependencies.thiserror] version = "2.0" [dependencies.wgpu] version = "23" optional = true [features] default = [] docs-features = [ "serialize", "wgpu-types", "mjpeg", ] mjpeg = ["mozjpeg"] opencv-mat = [ "opencv", "opencv/clang-runtime", "bytemuck", ] serialize = ["serde"] test-fail-warnings = [] wgpu-types = ["wgpu"]