feat(nix-daemon): Implement more nix daemon operations.

In particular QueryPathFromHashPart, QueryValidPaths, QueryValidDerivers

Change-Id: Ie6ad83cec5ce9580044b85e201e4e23394f87075
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12762
Tested-by: BuildkiteCI
Reviewed-by: edef <edef@edef.eu>
Reviewed-by: flokli <flokli@flokli.de>
This commit is contained in:
Vova Kryachko 2024-11-11 23:15:54 -05:00 committed by Vladimir Kryachko
parent 6aada91062
commit fa9c067dc9
16 changed files with 538 additions and 60 deletions

View file

@ -10,7 +10,7 @@ async = ["tokio"]
wire = ["tokio", "pin-project-lite", "bytes"]
# nix-daemon protocol handling
daemon = ["tokio", "nix-compat-derive"]
daemon = ["tokio", "nix-compat-derive", "futures"]
test = []
# Enable all features by default.
@ -23,6 +23,7 @@ data-encoding = { workspace = true }
ed25519 = { workspace = true }
ed25519-dalek = { workspace = true }
enum-primitive-derive = { workspace = true }
futures = { workspace = true, optional = true }
glob = { workspace = true }
mimalloc = { workspace = true }
nom = { workspace = true }