refactor(tvix/nix-compat): move worker_protocol into nix_daemon mod

This doesn't have much to do with the plain "wire" format, it's merely
one user of it.

Also, use the more "public" `wire::` API to read/write bytes, strings,
bools and u64s.

Change-Id: I98dddcc3004dfde7a0c009958fe84a840f77b188
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11390
Tested-by: BuildkiteCI
Autosubmit: flokli <flokli@flokli.de>
Reviewed-by: raitobezarius <tvl@lahfa.xyz>
Reviewed-by: Brian Olsen <me@griff.name>
This commit is contained in:
Florian Klink 2024-04-10 15:43:15 +03:00 committed by flokli
parent 36b296609b
commit 742937d55c
5 changed files with 34 additions and 34 deletions

View file

@ -0,0 +1 @@
pub mod worker_protocol;