snix/tvix/nix-compat/src/wire
edef 6e41e0917e feat(nix-compat/wire/bytes/reader): split out reading the trailer block
We separate ingesting the trailer block into a Future of its own,
parametrised on the specifics of the trailer pattern.

This is intended to be used for future work on an async NAR reader,
which needs to read a terminating parenthesis as well as the regular
padding.

Thanks to @griff for suggesting separating the ingestion into its own
Future.

Change-Id: I36c2503baa67937046a63e9bf0cfc38201394025
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11522
Reviewed-by: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
2024-04-26 08:22:58 +00:00
..
bytes feat(nix-compat/wire/bytes/reader): split out reading the trailer block 2024-04-26 08:22:58 +00:00
mod.rs refactor(tvix/nix-compat): move worker_protocol into nix_daemon mod 2024-04-13 10:09:35 +00:00
primitive.rs refactor(tvix/nix-compat/wire): move magic bytes to worker_protocol 2024-04-08 07:02:10 +00:00