aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-05-10 13:29:14 +0200
committerAlex Auvolat <alex@adnab.me>2022-07-18 12:19:18 +0200
commitc705a8f66e7942516fdcbf3bfad5512c90f9c5b1 (patch)
tree179af4866b13cf10394f8d28d7f78888894c8cef
parentac03fa7937d9da29d2358343a499fe9d15ac5f7c (diff)
downloadgarage-c705a8f66e7942516fdcbf3bfad5512c90f9c5b1.tar.gz
garage-c705a8f66e7942516fdcbf3bfad5512c90f9c5b1.zip
Enable k2v feature flag in CIv0.7.99.2-k2v
-rw-r--r--default.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/default.nix b/default.nix
index de996ac1..867033cc 100644
--- a/default.nix
+++ b/default.nix
@@ -86,13 +86,14 @@ in let
It speeds up the compilation (when the feature is not required) and released crates have less dependency by default (less attack surface, disk space, etc.).
But we want to ship these additional features when we release Garage.
In the end, we chose to exclude all features from debug builds while putting (all of) them in the release builds.
- Currently, the only feature of Garage is kubernetes-discovery from the garage_rpc crate.
+ Currently, the only such feature of Garage is kubernetes-discovery from the garage_rpc crate.
+ The experimental feature k2v is also enabled here in all builds.
*/
(pkgs.rustBuilder.rustLib.makeOverride {
name = "garage_rpc";
overrideArgs = old:
{
- features = if release then [ "kubernetes-discovery" ] else [];
+ features = if release then [ "kubernetes-discovery" "k2v" ] else [ "k2v" ];
};
})
];