tvl-depot/tvix/tools
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
..
crunch-v2 feat(nix-compat): Add NixDeserialize and NixRead traits 2024-08-25 15:05:50 +00:00
narinfo2parquet feat(nix-compat): Add NixDeserialize and NixRead traits 2024-08-25 15:05:50 +00:00
turbofetch chore(tvix/tools/turbofetch): bump deps 2024-08-24 18:08:08 +00:00
weave feat(nix-compat): Add NixDeserialize and NixRead traits 2024-08-25 15:05:50 +00:00