[package] name = "gb-emu-lib" version = "0.5.1" edition = "2021" [features] default = ["config", "librashader", "wgpu-renderer"] clocked-serial = [] librashader = [ "dep:librashader", "dep:librashader-presets", "dep:librashader-common", ] vulkan-renderer = [ "renderer", "librashader", "dep:ash", "dep:ash-window", "dep:naga", "librashader/runtime-vk", ] vulkan-static = ["dep:ash-molten", "vulkan-renderer"] vulkan-debug = [] pixels-renderer = ["renderer", "dep:pixels"] wgpu-renderer = [ "renderer", "librashader", "librashader/runtime-wgpu", "dep:wgpu", ] renderer = [] config = ["dep:directories", "dep:ron"] error-colour = [] [dependencies] rand = "0.8.5" async-ringbuf = "0.2.1" futures = "0.3.30" itertools = "0.13.0" serde = { version = "1.0.205", features = ["derive"] } serde_with = "3.9.0" bytemuck = "1.16.3" num-traits = "0.2.19" pixels = { git = "https://git.alexjanka.com/alex/pixels", optional = true } ash = { workspace = true, features = ["linked"], optional = true } ash-window = { workspace = true, optional = true } raw-window-handle = { workspace = true } librashader = { workspace = true, optional = true } librashader-presets = { workspace = true, optional = true } librashader-common = { workspace = true, optional = true } directories = { version = "5.0.1", optional = true } ron = { version = "0.8.1", optional = true } lazy_static = "1.5.0" wgpu = { version = "22.1.0", optional = true } thiserror = { workspace = true } log = { workspace = true } anyhow = "1.0.86" [build-dependencies] naga = { version = "22.1.0", optional = true, features = [ "wgsl-in", "spv-out", ] } [target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies] ash-molten = { version = "0.19.0", optional = true }