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-03-03 18:36:51 +11:00
default = ["macos-ui", "crossplatform-ui", "force-crossplatform-ui"]
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-03-03 18:36:51 +11:00
adw = { version = "0.6.0", package = "libadwaita", features = [
"v1_4",
"gtk_v4_12",
], optional = true }
2023-11-26 13:15:31 +11:00
frontend-common = { workspace = true }
gb-emu-lib = { workspace = true }
2024-03-03 18:36:51 +11:00
gtk = { version = "0.8.0", package = "gtk4", features = [
"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 }
2023-11-26 13:15:31 +11:00
cpal = "0.15"
2024-03-03 18:36:51 +11:00
log = { workspace = true }
env_logger = { workspace = true }
thiserror = { workspace = true }
serde = { version = "1.0", features = ["derive"] }
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 }
uuid = { version = "1.6", features = ["v4", "fast-rng"], optional = true }
[build-dependencies]
glib-build-tools = { version = "0.19.0", optional = true }