fix(tvix/nix-compat): async nar reader requires wire feature

It uses it internally.

Change-Id: I8cb8fc9f567260d57f3a203407333d83beddf537
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11719
Autosubmit: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
This commit is contained in:
Florian Klink 2024-05-26 19:33:18 +02:00 committed by clbot
parent ca542440a5
commit 8089682bb5
2 changed files with 2 additions and 2 deletions

View file

@ -4,7 +4,7 @@ version = "0.1.0"
edition = "2021"
[features]
# async NAR writer
# async NAR writer. Also needs the `wire` feature.
async = ["tokio"]
# code emitting low-level packets used in the daemon protocol.
wire = ["tokio", "pin-project-lite"]

View file

@ -16,7 +16,7 @@ use std::marker::PhantomData;
// Required reading for understanding this module.
use crate::nar::wire;
#[cfg(feature = "async")]
#[cfg(all(feature = "async", feature = "wire"))]
pub mod r#async;
mod read;