diff options
Diffstat (limited to 'tvix/Cargo.nix')
-rw-r--r-- | tvix/Cargo.nix | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/tvix/Cargo.nix b/tvix/Cargo.nix index 868620b76ad2..5409a5b767c8 100644 --- a/tvix/Cargo.nix +++ b/tvix/Cargo.nix @@ -2550,7 +2550,7 @@ rec { "unstable" = [ "futures-core/unstable" "futures-task/unstable" ]; "write-all-vectored" = [ "io" ]; }; - resolvedDefaultFeatures = [ "alloc" "async-await" "async-await-macro" "channel" "futures-channel" "futures-io" "futures-macro" "futures-sink" "io" "memchr" "sink" "slab" "std" ]; + resolvedDefaultFeatures = [ "alloc" "async-await" "async-await-macro" "channel" "default" "futures-channel" "futures-io" "futures-macro" "futures-sink" "io" "memchr" "sink" "slab" "std" ]; }; "fxhash" = rec { crateName = "fxhash"; @@ -4129,6 +4129,12 @@ rec { packageId = "data-encoding"; } { + name = "futures-util"; + packageId = "futures-util"; + optional = true; + features = [ "io" ]; + } + { name = "serde"; packageId = "serde"; features = [ "derive" ]; @@ -4148,6 +4154,12 @@ rec { ]; devDependencies = [ { + name = "futures"; + packageId = "futures"; + usesDefaultFeatures = false; + features = [ "executor" ]; + } + { name = "serde_json"; packageId = "serde_json"; } @@ -4160,7 +4172,11 @@ rec { packageId = "test-generator"; } ]; - + features = { + "async" = [ "futures-util" ]; + "futures-util" = [ "dep:futures-util" ]; + }; + resolvedDefaultFeatures = [ "async" "futures-util" ]; }; "nom8" = rec { crateName = "nom8"; |