gb-emu/frontend-common/Cargo.toml

36 lines
1,018 B
TOML

[package]
name = "frontend-common"
version = "0.5.0"
edition = "2021"
description = "Frontend common library for TWINC Game Boy (CGB/DMG) emulator"
[package.metadata.bundle]
identifier = "com.alexjanka.TWINC"
[features]
default = ["vulkan-static"]
pixels = ["gb-emu-lib/pixels-renderer"]
vulkan = [
"dep:raw-window-handle",
"gb-emu-lib/vulkan-renderer",
"gb-emu-lib/vulkan-debug",
]
vulkan-static = ["vulkan", "gb-emu-lib/vulkan-static"]
camera = ["dep:nokhwa", "dep:send_wrapper"]
[dependencies]
gb-emu-lib = { workspace = true }
gilrs = "0.10"
cpal = "0.15"
futures = "0.3"
nokhwa = { version = "0.10", features = [
"input-avfoundation",
], optional = true }
send_wrapper = { version = "0.6.0", optional = true }
winit = { version = "0.29", features = ["rwh_05"] }
winit_input_helper = "0.15"
raw-window-handle = { version = "0.5", optional = true }
serde = { version = "1.0", features = ["derive"] }
image = { version = "0.24", default-features = false, features = ["png"] }
bytemuck = "1.14"
chrono = "0.4"