46 lines
1.2 KiB
TOML
46 lines
1.2 KiB
TOML
[package]
|
|
name = "gb-emu"
|
|
version = "0.4.0"
|
|
edition = "2021"
|
|
|
|
[features]
|
|
default = ["vulkan"]
|
|
pixels = ["dep:pixels"]
|
|
vulkan = [
|
|
"dep:ash",
|
|
"dep:ash-window",
|
|
"dep:raw-window-handle",
|
|
"dep:naga",
|
|
# "dep:librashader-common",
|
|
"dep:librashader",
|
|
]
|
|
camera = ["dep:nokhwa", "dep:send_wrapper"]
|
|
|
|
[dependencies]
|
|
gb-emu-lib = { path = "../lib" }
|
|
clap = { version = "4.1.8", features = ["derive"] }
|
|
gilrs = "0.10"
|
|
cpal = "0.15"
|
|
futures = "0.3"
|
|
ctrlc = "3.2.5"
|
|
nokhwa = { version = "0.10.3", features = [
|
|
"input-avfoundation",
|
|
], optional = true }
|
|
send_wrapper = { version = "0.6.0", optional = true }
|
|
winit = "0.28"
|
|
winit_input_helper = "0.14"
|
|
bytemuck = "1.13"
|
|
pixels = { version = "0.12", optional = true }
|
|
ash = { version = "0.37", features = ["linked"], optional = true }
|
|
ash-window = { version = "0.12", optional = true }
|
|
raw-window-handle = { version = "0.5", optional = true }
|
|
# librashader-common = { version = "0.1", optional = true, default-features = false, features = [
|
|
# "vulkan",
|
|
# ] }
|
|
librashader = { version = "0.1", optional = true, default-features = false, features = [
|
|
"runtime-vk",
|
|
] }
|
|
|
|
[build-dependencies]
|
|
naga = { version = "0.13", optional = true, features = ["wgsl-in", "spv-out"] }
|