diff options
Diffstat (limited to 'tvix/nix-compat/Cargo.toml')
-rw-r--r-- | tvix/nix-compat/Cargo.toml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tvix/nix-compat/Cargo.toml b/tvix/nix-compat/Cargo.toml index 89aae3d4fad8..3820ed6b1fcd 100644 --- a/tvix/nix-compat/Cargo.toml +++ b/tvix/nix-compat/Cargo.toml @@ -5,15 +5,20 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html +[features] +async = ["futures-util"] + [dependencies] bstr = { version = "1.6.0", features = ["alloc", "unicode", "serde"] } data-encoding = "2.3.3" +futures-util = { version = "0.3.28", features = ["io"], optional = true } serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" sha2 = "0.10.6" thiserror = "1.0.38" [dev-dependencies] +futures = { version = "0.3.28", default-features = false, features = ["executor"] } serde_json = "1.0" test-case = "2.2.2" |