From 2c884b8bd2918974c1ad281aea28edb83d2d5661 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Thu, 18 Apr 2024 12:57:10 +0300 Subject: feat(tvix/nix-compat): enable more features by default There's no point in not enabling these, and rust-analyzer is quite useless too. nix-compat users outside of here can still explicitly disable default features if they don't want to pull in these features. Change-Id: I8f2f24e7734ad152d1733bc3421098fc91af290a Reviewed-on: https://cl.tvl.fyi/c/depot/+/11455 Tested-by: BuildkiteCI Autosubmit: flokli Reviewed-by: picnoir picnoir --- tvix/nix-compat/Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tvix/nix-compat/Cargo.toml b/tvix/nix-compat/Cargo.toml index 674734a0e9..ebec6d937d 100644 --- a/tvix/nix-compat/Cargo.toml +++ b/tvix/nix-compat/Cargo.toml @@ -9,6 +9,9 @@ async = ["tokio"] # code emitting low-level packets used in the daemon protocol. wire = ["tokio", "pin-project-lite"] +# Enable all features by default. +default = ["async", "wire"] + [dependencies] bitflags = "2.4.1" bstr = { version = "1.6.0", features = ["alloc", "unicode", "serde"] } -- cgit 1.4.1