diff options
author | Florian Klink <flokli@flokli.de> | 2024-04-04T16·03+0300 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2024-04-06T14·12+0000 |
commit | f3d8c633f2b4c44a6911d751a2efd93ef926a8bf (patch) | |
tree | a00891ab1c9699baeb9848065634bcd00dcb7f5d /users/picnoir/tvix-daemon/Cargo.lock | |
parent | 39276dc5b41fa5e756ebb8ae30b4d2ac91995be7 (diff) |
feat(tvix/nix-compat/wire): introduce BytesWriter r/7857
This deals with writing byte packets of larger sizes to an underlying AsyncWrite. Its constructor receives the expected size. It also deals with writing padding if flush/shutdown is called after writing all the payload. Change-Id: I8acbf992467f3862ffb8c7d669e8c0c8eced14c1 Reviewed-on: https://cl.tvl.fyi/c/depot/+/11355 Reviewed-by: picnoir picnoir <picnoir@alternativebit.fr> Autosubmit: flokli <flokli@flokli.de> Reviewed-by: Brian Olsen <me@griff.name> Tested-by: BuildkiteCI
Diffstat (limited to 'users/picnoir/tvix-daemon/Cargo.lock')
-rw-r--r-- | users/picnoir/tvix-daemon/Cargo.lock | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/users/picnoir/tvix-daemon/Cargo.lock b/users/picnoir/tvix-daemon/Cargo.lock index cdbb82e37ae2..5522c63032a2 100644 --- a/users/picnoir/tvix-daemon/Cargo.lock +++ b/users/picnoir/tvix-daemon/Cargo.lock @@ -763,6 +763,7 @@ dependencies = [ "glob", "nom", "num-traits", + "pin-project-lite", "serde", "serde_json", "sha2", |