feat: migrate to cargo workspaces

This commit is contained in:
user0-07161 2025-09-09 18:36:30 +02:00
parent b1351ae2b4
commit 4c6ac174ff
3 changed files with 12 additions and 4 deletions

View file

@ -3,11 +3,19 @@ name = "rebox"
version = "0.1.0"
edition = "2024"
[dependencies]
boxutils = { path = "./utils" }
[workspace]
members = ["utils", "coreutils", "shell"]
resolver = "3"
[workspace.dependencies]
coreutils = { path = "./coreutils" }
boxutils = { path = "./utils" }
shell = { path = "./shell" }
[dependencies]
coreutils.workspace = true
boxutils.workspace = true
shell.workspace = true
[[bin]]
name = "box"

View file

@ -4,6 +4,6 @@ version = "0.1.0"
edition = "2024"
[dependencies]
boxutils = { path = "../utils" }
boxutils.workspace = true
hostname = "0.4.0"
num_cpus = "1.16.0"

View file

@ -4,4 +4,4 @@ version = "0.1.0"
edition = "2024"
[dependencies]
boxutils = { path = "../utils" }
boxutils.workspace = true