[package] name = "gb-emu-lib" version = "0.5.0" edition = "2021" [features] default = [] clocked-serial = [] vulkan-renderer = [ "dep:ash", "dep:ash-window", "dep:raw-window-handle", "dep:naga", "dep:librashader", "dep:librashader-presets", "dep:librashader-common", ] vulkan-static = ["dep:ash-molten", "vulkan-renderer"] vulkan-debug = [] pixels-renderer = ["dep:pixels"] config = ["dep:directories", "dep:ron"] error-colour = [] [dependencies] rand = "0.8.5" async-ringbuf = "0.1" futures = "0.3" itertools = "0.12" serde = { version = "1.0", features = ["derive"] } serde_with = "3.0" bytemuck = "1.14" num-traits = "0.2" pixels = { version = "0.13", 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 = { workspace = true, optional = true } librashader-presets = { workspace = true, optional = true } librashader-common = { workspace = true, optional = true } directories = { version = "5.0", optional = true } ron = { version = "0.8", optional = true } lazy_static = "1.4" [build-dependencies] naga = { version = "0.19", optional = true, features = ["wgsl-in", "spv-out"] } [target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies] ash-molten = { version = "0.16.0", optional = true }