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:
parent
ca542440a5
commit
8089682bb5
2 changed files with 2 additions and 2 deletions
|
@ -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"]
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue