about summary refs log tree commit diff
path: root/tvix/nix-compat/src/wire/mod.rs
blob: 56ea364dffb78a7d0ab868ab902ca30987b4fabc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
//! Module parsing and emitting the wire format used by Nix, both in the
//! nix-daemon protocol as well as in the NAR format.

#[cfg(feature = "async")]
pub mod bytes;

#[cfg(feature = "async")]
mod bytes_reader;
#[cfg(feature = "async")]
mod bytes_writer;
#[cfg(feature = "async")]
pub use bytes_reader::BytesReader;
#[cfg(feature = "async")]
pub use bytes_writer::BytesWriter;

#[cfg(feature = "async")]
pub mod primitive;

#[cfg(feature = "async")]
pub mod worker_protocol;