diff options
author | Alex Auvolat <alex@adnab.me> | 2022-05-10 13:29:14 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-05-23 16:44:37 +0200 |
commit | 713c61acb839287cefeab50dd54581738e69092e (patch) | |
tree | 59656c0672062bd259c9fd2fc10e4adf8d5e0cb7 /default.nix | |
parent | 1c88ee9bc50a8226fe0c7cf11533ddcf4b183885 (diff) | |
download | garage-0.7.1-admin-k2v-2.tar.gz garage-0.7.1-admin-k2v-2.zip |
Enable k2v feature flag in CIv0.7.1-admin-k2v-2admin-api-k2v
Diffstat (limited to 'default.nix')
-rw-r--r-- | default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/default.nix b/default.nix index 21a413b2..355b0753 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" ]; }; }) ]; |