gb-emu/gui/Cargo.toml

43 lines
1.3 KiB
TOML
Raw Normal View History

2023-11-26 13:15:31 +11:00
[package]
name = "gui"
version = "0.1.0"
edition = "2021"
description = "TWINC Game Boy (CGB/DMG) emulator GUI"
2023-11-26 13:15:31 +11:00
[package.metadata.bundle]
identifier = "com.alexjanka.TWINC.gui"
2024-02-12 16:29:00 +11:00
osx_file_extensions = [[["Game Boy ROM", "Viewer"], ["gb", "gbc"]]]
2023-11-26 13:15:31 +11:00
2023-11-28 10:51:51 +11:00
[features]
2024-07-20 17:55:07 +10:00
default = ["macos-ui", "crossplatform-ui"]
2024-03-03 18:36:51 +11:00
macos-ui = ["cacao", "objc", "uuid"]
crossplatform-ui = ["gtk", "adw", "glib-build-tools"]
force-crossplatform-ui = ["crossplatform-ui"]
2023-11-28 10:51:51 +11:00
2023-11-26 13:15:31 +11:00
[dependencies]
2024-07-20 17:55:07 +10:00
adw = { version = "0.7.0", package = "libadwaita", features = [
2024-03-03 18:36:51 +11:00
"v1_4",
2024-07-20 17:55:07 +10:00
"gtk_v4_6",
2024-03-03 18:36:51 +11:00
], optional = true }
2023-11-26 13:15:31 +11:00
frontend-common = { workspace = true }
gb-emu-lib = { workspace = true }
2024-07-20 17:55:07 +10:00
gtk = { version = "0.9.0", package = "gtk4", features = [
2024-03-03 18:36:51 +11:00
"v4_12",
], optional = true }
2023-11-26 13:15:31 +11:00
twinc_emu_vst = { path = "../gb-vst", default-features = false }
2024-02-08 15:27:48 +11:00
raw-window-handle = { workspace = true }
2024-08-10 16:02:18 +10:00
cpal = "0.15.3"
2024-03-03 18:36:51 +11:00
log = { workspace = true }
env_logger = { workspace = true }
thiserror = { workspace = true }
2024-08-10 16:02:18 +10:00
serde = { version = "1.0.205", features = ["derive"] }
2024-06-16 11:43:59 +10:00
anyhow = "1.0.86"
2024-03-03 18:36:51 +11:00
[target.'cfg(any(target_os = "macos"))'.dependencies]
cacao = { git = "https://git.alexjanka.com/alex/cacao", optional = true }
objc = { version = "=0.3.0-beta.3", package = "objc2", optional = true }
2024-08-10 16:02:18 +10:00
uuid = { version = "1.10.0", features = ["v4", "fast-rng"], optional = true }
2024-03-03 18:36:51 +11:00
[build-dependencies]
2024-07-20 17:55:07 +10:00
glib-build-tools = { version = "0.20.0", optional = true }