2023-03-03 19:31:34 +11:00
|
|
|
[package]
|
2023-03-03 19:33:28 +11:00
|
|
|
name = "gb-emu-lib"
|
2024-02-07 17:29:18 +11:00
|
|
|
version = "0.5.1"
|
2023-03-03 19:31:34 +11:00
|
|
|
edition = "2021"
|
|
|
|
|
2023-03-08 11:28:32 +11:00
|
|
|
[features]
|
2024-08-18 12:12:20 +10:00
|
|
|
default = ["config"]
|
2023-03-17 10:42:27 +11:00
|
|
|
clocked-serial = []
|
2024-02-09 10:20:00 +11:00
|
|
|
librashader = [
|
|
|
|
"dep:librashader",
|
|
|
|
"dep:librashader-presets",
|
|
|
|
"dep:librashader-common",
|
|
|
|
]
|
2023-10-04 10:11:39 +11:00
|
|
|
vulkan-renderer = [
|
2024-02-07 17:29:18 +11:00
|
|
|
"renderer",
|
2024-02-09 10:20:00 +11:00
|
|
|
"librashader",
|
2023-10-04 10:11:39 +11:00
|
|
|
"dep:ash",
|
|
|
|
"dep:ash-window",
|
|
|
|
"dep:naga",
|
2024-02-07 17:29:18 +11:00
|
|
|
"librashader/runtime-vk",
|
2023-10-04 10:11:39 +11:00
|
|
|
]
|
2023-10-05 10:13:02 +11:00
|
|
|
vulkan-static = ["dep:ash-molten", "vulkan-renderer"]
|
2023-10-27 17:35:23 +11:00
|
|
|
vulkan-debug = []
|
2024-02-07 17:29:18 +11:00
|
|
|
pixels-renderer = ["renderer", "dep:pixels"]
|
2024-02-08 15:27:48 +11:00
|
|
|
wgpu-renderer = [
|
|
|
|
"renderer",
|
2024-02-09 10:20:00 +11:00
|
|
|
"librashader",
|
2024-02-08 15:27:48 +11:00
|
|
|
"librashader/runtime-wgpu",
|
|
|
|
"dep:wgpu",
|
|
|
|
]
|
2024-02-07 17:29:18 +11:00
|
|
|
renderer = []
|
2023-10-05 10:13:02 +11:00
|
|
|
config = ["dep:directories", "dep:ron"]
|
2023-10-05 11:38:39 +11:00
|
|
|
error-colour = []
|
2023-03-08 11:28:32 +11:00
|
|
|
|
2023-03-03 19:31:34 +11:00
|
|
|
[dependencies]
|
|
|
|
rand = "0.8.5"
|
2024-10-23 14:02:56 +11:00
|
|
|
async-ringbuf = "0.3.1"
|
|
|
|
futures = "0.3.31"
|
2024-07-20 17:55:07 +10:00
|
|
|
itertools = "0.13.0"
|
2024-10-23 14:02:56 +11:00
|
|
|
serde = { version = "1.0.213", features = ["derive"] }
|
|
|
|
serde_with = "3.11.0"
|
|
|
|
bytemuck = "1.19.0"
|
2024-08-10 16:02:18 +10:00
|
|
|
num-traits = "0.2.19"
|
2024-02-08 15:27:48 +11:00
|
|
|
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 }
|
2024-01-25 10:05:18 +11:00
|
|
|
librashader = { workspace = true, optional = true }
|
|
|
|
librashader-presets = { workspace = true, optional = true }
|
|
|
|
librashader-common = { workspace = true, optional = true }
|
2024-08-10 16:02:18 +10:00
|
|
|
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 }
|
2024-02-09 10:20:00 +11:00
|
|
|
thiserror = { workspace = true }
|
2024-03-03 18:36:51 +11:00
|
|
|
log = { workspace = true }
|
2024-10-23 14:02:56 +11:00
|
|
|
anyhow = "1.0.91"
|
2023-10-04 10:11:39 +11:00
|
|
|
|
|
|
|
[build-dependencies]
|
2024-08-10 16:02:18 +10:00
|
|
|
naga = { version = "22.1.0", optional = true, features = [
|
2024-07-20 17:55:07 +10:00
|
|
|
"wgsl-in",
|
|
|
|
"spv-out",
|
|
|
|
] }
|
2023-10-05 10:13:02 +11:00
|
|
|
|
|
|
|
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies]
|
2024-10-23 14:02:56 +11:00
|
|
|
ash-molten = { version = "0.20.0", optional = true }
|