mirror of
https://github.com/l1npengtul/nokhwa.git
synced 2026-07-04 02:27:26 +00:00
46 lines
913 B
TOML
46 lines
913 B
TOML
[package]
|
|
name = "nokhwa-core"
|
|
version = "0.1.0"
|
|
authors = ["l1npengtul <l1npengtul@protonmail.com>"]
|
|
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 = []
|
|
|
|
|
|
[dependencies]
|
|
thiserror = "1.0"
|
|
bytes = "1.3"
|
|
|
|
[dependencies.image]
|
|
version = "0.24"
|
|
default-features = false
|
|
|
|
[dependencies.serde]
|
|
version = "1.0"
|
|
features = ["derive"]
|
|
optional = true
|
|
|
|
[dependencies.wgpu]
|
|
version = "0.14"
|
|
optional = true
|
|
|
|
[dependencies.opencv]
|
|
version = "0.74"
|
|
default-features = false
|
|
optional = true
|
|
|
|
[dependencies.mozjpeg]
|
|
version = "0.9"
|
|
optional = true
|