42 lines
1.3 KiB
TOML
42 lines
1.3 KiB
TOML
[package]
|
|
name = "gui"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
description = "TWINC Game Boy (CGB/DMG) emulator GUI"
|
|
|
|
[package.metadata.bundle]
|
|
identifier = "com.alexjanka.TWINC.gui"
|
|
osx_file_extensions = [[["Game Boy ROM", "Viewer"], ["gb", "gbc"]]]
|
|
|
|
[features]
|
|
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"]
|
|
|
|
[dependencies]
|
|
adw = { version = "0.6.0", package = "libadwaita", features = [
|
|
"v1_4",
|
|
"gtk_v4_12",
|
|
], optional = true }
|
|
frontend-common = { workspace = true }
|
|
gb-emu-lib = { workspace = true }
|
|
gtk = { version = "0.8.0", package = "gtk4", features = [
|
|
"v4_12",
|
|
], optional = true }
|
|
twinc_emu_vst = { path = "../gb-vst", default-features = false }
|
|
raw-window-handle = { workspace = true }
|
|
cpal = "0.15"
|
|
log = { workspace = true }
|
|
env_logger = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
|
|
[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 }
|