tvl-depot/users/picnoir/tvix-daemon
Brian Olsen 9af6920478 feat(nix-compat): Add NixDeserialize and NixRead traits
Add a trait for deserializing a type from a daemon worker connection.
This adds the NixDeserialize trait which is kind of like the serde
Deserialize trait in that individual types are meant to implement it
and it can potentially be derived in the future.

The NixDeserialize trait takes something that implements NixRead as
input so that you can among other things mock the reader.

Change-Id: Ibb59e3562dfc822652f7d18039f00a1c0d422997
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11990
Autosubmit: Brian Olsen <me@griff.name>
Reviewed-by: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
2024-08-25 15:05:50 +00:00
..
src refactor(nix-compat/wire): drop primitive functions 2024-04-30 09:55:51 +00:00
vm-test feat(users/picnoir/tvix-daemon) add small VM integration test 2024-03-19 16:51:58 +00:00
.gitignore fix(users/picnoir/tvix-daemon): gitignore target dir, use cleaned src 2024-04-23 15:14:42 +00:00
Cargo.lock feat(nix-compat): Add NixDeserialize and NixRead traits 2024-08-25 15:05:50 +00:00
Cargo.nix feat(nix-compat): Add NixDeserialize and NixRead traits 2024-08-25 15:05:50 +00:00
Cargo.toml refactor(tvix/nix-compat): reorganize wire and bytes 2024-04-13 10:09:35 +00:00
default.nix feat(users/picnoir/tvix-daemon): Add crate2nix-check 2024-08-23 19:55:10 +00:00
README.md docs(users/picnoir/tvix-daemon): update readme shell 2024-03-22 05:58:49 +00:00
shell.nix

Tvix-daemon

A super incomplete implementation of a Nix-compatible daemon. Same as the original except it's backed by Tvix-Store.

For now, this is mostly used as a playground to implement the Nix daemon wire format in nix-compat.

On the long run, I hope this to be useful to get some real-world usage experience of tvix-store.

Build

When inside this directory:

mg shell :shell
cargo build