diff --git a/backend/windmill-worker/src/global_cache.rs b/backend/windmill-worker/src/global_cache.rs index 955092dd92..56d7492d1a 100644 --- a/backend/windmill-worker/src/global_cache.rs +++ b/backend/windmill-worker/src/global_cache.rs @@ -4,13 +4,13 @@ use crate::{ROOT_CACHE_DIR, PIP_CACHE_DIR}; // #[cfg(feature = "enterprise")] // use rand::Rng; -#[cfg(feature = "enterprise")] +#[cfg(all(feature = "enterprise", feature = "parquet"))] use tokio::time::Instant; #[cfg(feature = "parquet")] use object_store::ObjectStore; -#[cfg(feature = "enterprise")] +#[cfg(all(feature = "enterprise", feature = "parquet"))] use windmill_common::error; #[cfg(all(feature = "enterprise", feature = "parquet"))] diff --git a/backend/windmill-worker/src/python_executor.rs b/backend/windmill-worker/src/python_executor.rs index afa01a44f0..177cdd0198 100644 --- a/backend/windmill-worker/src/python_executor.rs +++ b/backend/windmill-worker/src/python_executor.rs @@ -10,7 +10,7 @@ use tokio::{ process::Command, }; use uuid::Uuid; -#[cfg(feature = "enterprise")] +#[cfg(all(feature = "enterprise", feature = "parquet"))] use windmill_common::ee::{get_license_plan, LicensePlan}; use windmill_common::{ error::{self, Error},