Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use workspace dependencies #21

Merged
merged 1 commit into from
Oct 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 26 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion cartridge/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ keywords = ["embedded", "gameboy", "playdate"]
readme = "../README.md"

[dependencies]
sm83 = { path = "../sm83", version = "0.1" }
sm83.workspace = true
10 changes: 5 additions & 5 deletions ppu/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 3 additions & 3 deletions rb-disasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
22 changes: 11 additions & 11 deletions rusty-boy-sdl/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
10 changes: 5 additions & 5 deletions rusty-boy/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 3 additions & 3 deletions sm83/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
8 changes: 4 additions & 4 deletions timer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Loading