# 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 = "bevy_nokhwa" version = "0.7.0" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Nokhwa plugin for the bevy game engine" homepage = "https://github.com/foxzool/bevy_nokhwa" documentation = "https://docs.rs/bevy_nokhwa" readme = "README.md" keywords = [ "camera", "v4l2", "opencv", "vision", ] categories = [ "multimedia", "rendering", ] license = "MIT OR Apache-2.0" repository = "https://github.com/foxzool/bevy_nokhwa" [lib] name = "bevy_nokhwa" path = "src/lib.rs" [[example]] name = "native" path = "examples/native.rs" required-features = ["native"] [[example]] name = "setting" path = "examples/setting.rs" required-features = ["native"] [dependencies.anyhow] version = "1.0.66" [dependencies.bevy] version = "0.15.0" features = [ "bevy_render", "bevy_core_pipeline", "bevy_asset", "bevy_winit", "bevy_pbr", "x11", "png", "tonemapping_luts", "bevy_window", ] default-features = false [dependencies.bytemuck] version = "1.7.0" [dependencies.flume] version = "0.11.0" [dependencies.image] version = "0.25.5" features = [] default-features = false [dependencies.nokhwa] version = "0.10" features = [ "input-native", "output-threaded", ] [dev-dependencies.bevy_egui] version = "0.31.1" [features] default = ["native"] native = ["nokhwa/input-native"]