63 lines
1.6 KiB
TOML
63 lines
1.6 KiB
TOML
[package]
|
|
name = "gb-emu-lib"
|
|
version = "0.5.1"
|
|
edition = "2021"
|
|
|
|
[features]
|
|
default = []
|
|
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.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 = { 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", optional = true }
|
|
ron = { version = "0.8", optional = true }
|
|
lazy_static = "1.4"
|
|
wgpu = { version = "0.20", optional = true }
|
|
thiserror = { workspace = true }
|
|
log = { workspace = true }
|
|
anyhow = "1.0.86"
|
|
|
|
[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 }
|