feat: initial nix-daemon implementation

This commit is contained in:
2026-01-17 19:27:59 +08:00
parent 52bf46407a
commit 2ad662c765
28 changed files with 1625 additions and 463 deletions

View File

@@ -4,13 +4,24 @@ version = "0.1.0"
edition = "2024"
build = "build.rs"
[features]
default = ["daemon"]
daemon = ["dep:tokio", "dep:nix-daemon"]
[dependencies]
mimalloc = "0.1"
tokio = { version = "1.41", features = ["rt-multi-thread", "sync"], optional = true }
nix-daemon = { version = "0.1", optional = true }
# REPL
anyhow = "1.0"
rustyline = "14.0"
# Logging
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
derive_more = { version = "2", features = ["full"] }
thiserror = "2"