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>
8 lines
195 B
Rust
8 lines
195 B
Rust
//! Module parsing and emitting the wire format used by Nix, both in the
|
|
//! nix-daemon protocol as well as in the NAR format.
|
|
|
|
mod bytes;
|
|
pub use bytes::*;
|
|
|
|
mod primitive;
|
|
pub use primitive::*;
|