feat: use snix nix-compat; implement metadata cache
This commit is contained in:
@@ -6,13 +6,13 @@ build = "build.rs"
|
||||
|
||||
[features]
|
||||
default = ["daemon"]
|
||||
daemon = ["dep:tokio", "dep:nix-daemon"]
|
||||
daemon = ["dep:tokio", "dep:nix-compat"]
|
||||
|
||||
[dependencies]
|
||||
mimalloc = "0.1"
|
||||
|
||||
tokio = { version = "1.41", features = ["rt-multi-thread", "sync"], optional = true }
|
||||
nix-daemon = { version = "0.1", optional = true }
|
||||
tokio = { version = "1.41", features = ["rt-multi-thread", "sync", "net", "io-util"], optional = true }
|
||||
nix-compat = { git = "https://git.snix.dev/snix/snix.git", version = "0.1.0", features = ["wire", "async"], optional = true }
|
||||
|
||||
# REPL
|
||||
anyhow = "1.0"
|
||||
@@ -51,6 +51,7 @@ serde = { version = "1.0", features = ["derive"] }
|
||||
serde_json = "1.0"
|
||||
dirs = "5.0"
|
||||
tempfile = "3.24"
|
||||
rusqlite = { version = "0.33", features = ["bundled"] }
|
||||
|
||||
rnix = "0.12"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user