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:
parent
01dfbd69e5
commit
89ac0dd84e
7 changed files with 674 additions and 15 deletions
|
|
@ -4,6 +4,7 @@ members = [ "eh", "crates/*" ]
|
|||
resolver = "3"
|
||||
|
||||
[workspace.package]
|
||||
authors = [ "NotAShelf" ]
|
||||
description = "Ergonomic Nix CLI helper"
|
||||
edition = "2024"
|
||||
license = "MPL-2.0"
|
||||
|
|
@ -14,7 +15,12 @@ version = "0.2.0"
|
|||
[workspace.dependencies]
|
||||
clap = { default-features = false, features = [ "std", "help", "derive" ], version = "4.6.1" }
|
||||
clap_complete = "4.6.3"
|
||||
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" }
|
||||
dialoguer = { default-features = false, version = "0.12.0" }
|
||||
dirs = "6.0.0"
|
||||
regex = "1.12.3"
|
||||
serde = { features = [ "derive" ], version = "1.0.228" }
|
||||
serde_json = "1.0.149"
|
||||
|
|
@ -25,9 +31,6 @@ toml = { default-features = false, features = [ "parse", "serde" ], ver
|
|||
walkdir = "2.5.0"
|
||||
yansi = "1.0.1"
|
||||
|
||||
eh = { path = "./eh", version = "0.2.0" }
|
||||
eh-log = { path = "./crates/eh-log", version = "0.2.0" }
|
||||
|
||||
[profile.release]
|
||||
codegen-units = 1
|
||||
lto = true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue