gb-emu/lib/Cargo.toml

36 lines
882 B
TOML

[package]
name = "gb-emu-lib"
version = "0.4.0"
edition = "2021"
[features]
default = []
clocked-serial = []
vulkan-renderer = [
"dep:ash",
"dep:ash-window",
"dep:raw-window-handle",
"dep:naga",
"dep:librashader",
]
pixels-renderer = ["dep:pixels"]
[dependencies]
rand = "0.8.5"
async-ringbuf = "0.1"
futures = "0.3"
itertools = "0.11"
serde = { version = "1.0", features = ["derive"] }
serde_with = "3.0"
bytemuck = "1.14"
num-traits = "0.2"
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 = { version = "0.1", optional = true, default-features = false, features = [
"runtime-vk",
] }
[build-dependencies]
naga = { version = "0.13", optional = true, features = ["wgsl-in", "spv-out"] }