tvl-depot/tvix/tools/crunch-v2
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
..
protos feat(tvix/tools/crunch-v2): init 2024-01-27 18:23:40 +00:00
src refactor(nix-compat/nar/reader): reuse prev_name allocation 2024-05-08 15:30:46 +00:00
.gitignore feat(tvix/tools/crunch-v2): init 2024-01-27 18:23:40 +00:00
build.rs feat(tvix/tools/crunch-v2): init 2024-01-27 18:23:40 +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 feat(nix-compat): Add NixDeserialize and NixRead traits 2024-08-25 15:05:50 +00:00
default.nix feat(tvix/tools/crunch-v2): Add crate2nix-check 2024-08-23 19:55:10 +00:00
OWNERS feat(tvix/tools/crunch-v2): init 2024-01-27 18:23:40 +00:00