diff --git a/Cargo.toml b/Cargo.toml index 6b46481..bc6cb69 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,12 +7,34 @@ members = [ "sm83", "sm83_decoder_macros", "cartridge", - "timer", "rusty-boy-sdl", "rb-disasm", + "timer", + "rusty-boy-sdl", + "rb-disasm", ] -exclude = [ - "rusty-date", -] +exclude = ["rusty-date"] + +[workspace.dependencies] +cartridge = { path = "cartridge", version = "0.1.0" } +ppu = { path = "ppu", version = "0.1.0" } +rusty-boy = { path = "rusty-boy", version = "0.1.0" } +sm83 = { path = "sm83", version = "0.1.0" } +sm83_decoder_macros = { path = "sm83_decoder_macros", version = "0.1.0" } +timer = { path = "timer", version = "0.1.0" } + +anyhow = "1.0" +clap = { version = "4.5.4", features = ["derive"] } +env_logger = "0.11.3" +heapless = "0.8" +log = "0.4" +nix = { version = "0.28", features = ["sched"] } +png = "0.17" +sdl2 = "0.36" +serde = { version = "1.0.201", features = ["derive"] } +static_assertions = "1.1.0" +tock-registers = "0.9.0" +toml = "0.8.12" + [profile.release] debug = true diff --git a/cartridge/Cargo.toml b/cartridge/Cargo.toml index 0d64de1..6491fac 100644 --- a/cartridge/Cargo.toml +++ b/cartridge/Cargo.toml @@ -12,4 +12,4 @@ keywords = ["embedded", "gameboy", "playdate"] readme = "../README.md" [dependencies] -sm83 = { path = "../sm83", version = "0.1" } +sm83.workspace = true diff --git a/ppu/Cargo.toml b/ppu/Cargo.toml index 4351103..a216acc 100644 --- a/ppu/Cargo.toml +++ b/ppu/Cargo.toml @@ -15,8 +15,8 @@ readme = "../README.md" profile = [] [dependencies] -sm83 = { path = "../sm83", version = "0.1.0" } -tock-registers = "0.9.0" -static_assertions = "1.1.0" -log = "0.4" -heapless = "0.8" +sm83.workspace = true +tock-registers.workspace = true +static_assertions.workspace = true +log.workspace = true +heapless.workspace = true diff --git a/rb-disasm/Cargo.toml b/rb-disasm/Cargo.toml index d98f866..05045ab 100644 --- a/rb-disasm/Cargo.toml +++ b/rb-disasm/Cargo.toml @@ -12,6 +12,6 @@ keywords = ["embedded", "gameboy", "playdate"] readme = "../README.md" [dependencies] -rusty-boy = { path = "../rusty-boy" } -anyhow = "1.0" -clap = { version = "4.5.4", features = ["derive"] } +rusty-boy.workspace = true +anyhow.workspace = true +clap.workspace = true diff --git a/rusty-boy-sdl/Cargo.toml b/rusty-boy-sdl/Cargo.toml index ec9ca8c..99228e8 100644 --- a/rusty-boy-sdl/Cargo.toml +++ b/rusty-boy-sdl/Cargo.toml @@ -16,14 +16,14 @@ approximate = [] profile = ["nix"] [dependencies] -cartridge = { path = "../cartridge" } -ppu = { path = "../ppu" } -sm83 = { path = "../sm83" } -rusty-boy = { path = "../rusty-boy" } -anyhow = "1.0" -png = "0.17" -sdl2 = "0.36" -clap = { version = "4.5.4", features = ["derive"] } -env_logger = "0.11.3" -log = "0.4" -nix = { version = "0.28", features = ["sched"], optional = true } +cartridge.workspace = true +ppu.workspace = true +sm83.workspace = true +rusty-boy.workspace = true +anyhow.workspace = true +png.workspace = true +sdl2.workspace = true +clap.workspace = true +env_logger.workspace = true +log.workspace = true +nix = { workspace = true, optional = true } diff --git a/rusty-boy/Cargo.toml b/rusty-boy/Cargo.toml index 0cd298b..2141d73 100644 --- a/rusty-boy/Cargo.toml +++ b/rusty-boy/Cargo.toml @@ -12,8 +12,8 @@ keywords = ["embedded", "gameboy", "playdate"] readme = "../README.md" [dependencies] -sm83 = { path = "../sm83", version = "0.1.0" } -ppu = { path = "../ppu", version = "0.1.0" } -cartridge = { path = "../cartridge", version = "0.1.0" } -timer = { path = "../timer", version = "0.1.0" } -log = "0.4.21" +sm83.workspace = true +ppu.workspace = true +cartridge.workspace = true +timer.workspace = true +log.workspace = true diff --git a/sm83/Cargo.toml b/sm83/Cargo.toml index 938de3d..9663b7a 100644 --- a/sm83/Cargo.toml +++ b/sm83/Cargo.toml @@ -15,8 +15,8 @@ readme = "../README.md" profile = [] [dependencies] -sm83_decoder_macros = { path = "../sm83_decoder_macros" } +sm83_decoder_macros.workspace = true [dev-dependencies] -serde = { version = "1.0.201", features = ["derive"] } -toml = "0.8.12" +serde.workspace = true +toml.workspace = true diff --git a/timer/Cargo.toml b/timer/Cargo.toml index 61707b8..79528ca 100644 --- a/timer/Cargo.toml +++ b/timer/Cargo.toml @@ -12,7 +12,7 @@ keywords = ["embedded", "gameboy", "playdate"] readme = "../README.md" [dependencies] -sm83 = { path = "../sm83", version = "0.1.0" } -tock-registers = "0.9.0" -static_assertions = "1.1.0" -log = "0.4.21" +sm83.workspace = true +tock-registers.workspace = true +static_assertions.workspace = true +log.workspace = true