diff options
author | edef <edef@edef.eu> | 2024-04-29T16·44+0000 |
---|---|---|
committer | edef <edef@edef.eu> | 2024-05-04T21·45+0000 |
commit | 08feea4817a5827db478d4202e58290d547f8cde (patch) | |
tree | 2404ac04900e414f1218e8ebd2a1c29d5d62caab /tvix/nix-compat/src/nar/reader/mod.rs | |
parent | 343e176bec6251b53006331e752c285d50c7167f (diff) |
feat(nix-compat/nar/reader): async support r/8075
This is a first cut at the async NAR reader, with some rough edges. Poisoning is left unimplemented for now, pending future work. Change-Id: Ifaafe0581a5e0e165a13357b909fb441f7bd8bab Reviewed-on: https://cl.tvl.fyi/c/depot/+/11524 Reviewed-by: flokli <flokli@flokli.de> Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/nix-compat/src/nar/reader/mod.rs')
-rw-r--r-- | tvix/nix-compat/src/nar/reader/mod.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tvix/nix-compat/src/nar/reader/mod.rs b/tvix/nix-compat/src/nar/reader/mod.rs index ecf9c3d78912..bddf1750800c 100644 --- a/tvix/nix-compat/src/nar/reader/mod.rs +++ b/tvix/nix-compat/src/nar/reader/mod.rs @@ -16,6 +16,9 @@ use std::marker::PhantomData; // Required reading for understanding this module. use crate::nar::wire; +#[cfg(feature = "async")] +pub mod r#async; + mod read; #[cfg(test)] mod test; |