meta: extract configuration loading and command execution into workspace crates

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I2da9bbddc01186af23e12c0dbbf3b23e6a6a6964
This commit is contained in:
raf 2026-05-12 17:21:50 +03:00
commit 74bdf0a045
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF
7 changed files with 676 additions and 17 deletions

View file

@ -13,9 +13,15 @@ rust-version = "1.94.0"
version = "0.2.0"
[workspace.dependencies]
eh = { path = "./eh", version = "0.2.0" }
eh-config = { path = "./crates/eh-config", version = "0.2.0" }
eh-log = { path = "./crates/eh-log", version = "0.2.0" }
nix-command = { path = "./crates/nix-command", version = "0.2.0" }
clap = { default-features = false, features = [ "std", "help", "derive" ], version = "4.6.0" }
clap_complete = "4.6.0"
dialoguer = { default-features = false, version = "0.12.0" }
dirs = "6.0.0"
regex = "1.12.3"
serde = { features = [ "derive" ], version = "1.0.149" }
serde_json = "1.0.149"
@ -26,9 +32,6 @@ toml = { default-features = false, features = [ "parse", "serde" ], ver
walkdir = "2.5.0"
yansi = "1.0.1"
eh = { path = "./eh" }
eh-log = { path = "./crates/eh-log" }
[profile.release]
codegen-units = 1
lto = true