44 lines
1.2 KiB
TOML
44 lines
1.2 KiB
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",
|
|
]
|
|
vulkan-static = ["dep:ash-molten", "vulkan-renderer"]
|
|
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.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",
|
|
] }
|
|
directories = { version = "5.0", optional = true }
|
|
ron = { version = "0.8", optional = true }
|
|
|
|
[build-dependencies]
|
|
naga = { version = "0.13", optional = true, features = ["wgsl-in", "spv-out"] }
|
|
|
|
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies]
|
|
ash-molten = { path = "../vendored/ash-molten", optional = true }
|