From bcb4812ca2455b7e987337c90a459a04ae975fa2 Mon Sep 17 00:00:00 2001 From: pyranota <92104930+pyranota@users.noreply.github.com> Date: Tue, 19 Aug 2025 04:05:46 +0200 Subject: [PATCH] remove `ruby` from default features (#6406) * fix: remove `ruby` from default features * fix build error --- backend/Cargo.toml | 2 +- backend/windmill-worker/src/universal_pkg_installer.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/Cargo.toml b/backend/Cargo.toml index 1ca3b88f18..4aee064125 100644 --- a/backend/Cargo.toml +++ b/backend/Cargo.toml @@ -49,7 +49,7 @@ incremental = true lto = "thin" [features] -default = ["ruby"] +default = [] private = ["windmill-api/private", "windmill-autoscaling/private", "windmill-common/private", "windmill-git-sync/private", "windmill-indexer/private", "windmill-queue/private", "windmill-worker/private"] agent_worker_server = ["windmill-api/agent_worker_server"] enterprise = ["windmill-worker/enterprise", "windmill-queue/enterprise", "windmill-api/enterprise", "dep:windmill-autoscaling", "windmill-autoscaling/enterprise", "windmill-git-sync/enterprise", "windmill-common/prometheus", "windmill-common/enterprise"] diff --git a/backend/windmill-worker/src/universal_pkg_installer.rs b/backend/windmill-worker/src/universal_pkg_installer.rs index 1e4a8c2d39..dc4b5dab2a 100644 --- a/backend/windmill-worker/src/universal_pkg_installer.rs +++ b/backend/windmill-worker/src/universal_pkg_installer.rs @@ -14,6 +14,7 @@ use windmill_common::{error, worker::Connection}; use crate::{common::start_child_process, DISABLE_NSJAIL}; +#[allow(dead_code)] #[derive(Clone, Debug)] pub struct RequiredDependency { /// Expected directory of dependency in cache