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 /tvix/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 'tvix/Cargo.lock')
-rw-r--r-- | tvix/Cargo.lock | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tvix/Cargo.lock b/tvix/Cargo.lock index 4e95d39b6a98..576387c65a73 100644 --- a/tvix/Cargo.lock +++ b/tvix/Cargo.lock @@ -1882,6 +1882,7 @@ dependencies = [ "lazy_static", "nom", "num-traits", + "pin-project-lite", "pretty_assertions", "serde", "serde_json", |