-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
41 lines (33 loc) · 1.2 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
[package]
name = "bevy_nokhwa"
version = "0.7.0"
description = "Nokhwa plugin for the bevy game engine"
documentation = "https://docs.rs/bevy_nokhwa"
repository = "https://github.com/foxzool/bevy_nokhwa"
homepage = "https://github.com/foxzool/bevy_nokhwa"
readme = "README.md"
keywords = ["camera", "v4l2", "opencv", "vision"]
categories = ["multimedia", "rendering"]
license = "MIT OR Apache-2.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
default = ["native"]
native = ["nokhwa/input-native"]
[dependencies]
anyhow = "1.0.66"
bevy = { version = "0.15.0", default-features = false, features = ["bevy_render", "bevy_core_pipeline", "bevy_asset", "bevy_winit", "bevy_pbr", "x11", "png", "tonemapping_luts", "bevy_window"] }
bytemuck = { version = "1.7.0" }
flume = "0.11.0"
image = { version = "0.25.5", default-features = false, features = [] }
nokhwa = { version = "0.10", features = ["input-native", "output-threaded"] }
[dev-dependencies]
bevy_egui = "0.31.1"
[[example]]
name = "native"
path = "examples/native.rs"
required-features = ["native"]
[[example]]
name = "setting"
path = "examples/setting.rs"
required-features = ["native"]