diff --git a/Cargo.toml b/Cargo.toml index c097282..e218471 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,6 +4,7 @@ default-members = ["gb-emu"] resolver = "2" [workspace.dependencies] +gb-emu-lib = { path = "./lib", features = ["config"] } baseview = { git = "https://github.com/italicsjenga/baseview" } nih_plug = { git = "https://github.com/italicsjenga/nih-plug", branch = "raw-window-handle-0.5.0" } nih_plug_xtask = { git = "https://github.com/italicsjenga/nih-plug", branch = "raw-window-handle-0.5.0" } diff --git a/gb-emu/Cargo.toml b/gb-emu/Cargo.toml index 97d6aad..406cb6e 100644 --- a/gb-emu/Cargo.toml +++ b/gb-emu/Cargo.toml @@ -8,16 +8,14 @@ description = "TWINC Game Boy (CGB/DMG) emulator" identifier = "com.alexjanka.TWINC" [features] -default = ["vulkan"] +default = ["vulkan-static"] pixels = ["gb-emu-lib/pixels-renderer"] vulkan = ["dep:raw-window-handle", "gb-emu-lib/vulkan-renderer"] -vulkan-static = ["gb-emu-lib/vulkan-static"] +vulkan-static = ["vulkan", "gb-emu-lib/vulkan-static"] camera = ["dep:nokhwa", "dep:send_wrapper"] [dependencies] -gb-emu-lib = { path = "../lib", default-features = false, features = [ - "config", -] } +gb-emu-lib = { workspace = true } clap = { version = "4.4", features = ["derive"] } gilrs = "0.10" cpal = "0.15" diff --git a/gb-vst/Cargo.toml b/gb-vst/Cargo.toml index 30f219d..836f889 100644 --- a/gb-vst/Cargo.toml +++ b/gb-vst/Cargo.toml @@ -13,7 +13,7 @@ vulkan = ["dep:raw-window-handle", "gb-emu-lib/vulkan-renderer"] vulkan-static = ["vulkan", "gb-emu-lib/vulkan-static"] [dependencies] -gb-emu-lib = { path = "../lib", features = ["config"] } +gb-emu-lib = { workspace = true } nih_plug = { workspace = true, features = ["standalone"] } baseview = { workspace = true } async-ringbuf = "0.1"