about summary refs log blame commit diff
path: root/tvix/nix-compat/src/wire/mod.rs
blob: 56ea364dffb78a7d0ab868ab902ca30987b4fabc (plain) (tree)
1
2
3
4
5
6
7
8
9



                                                                        


                         

                         

                         

                                  


                                  
                  


                         
//! 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;