From 946981ee137590915a29d1f37a718f3f5186c98f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marko=20Milenkovi=C4=87?= Date: Tue, 10 Dec 2024 20:17:26 +0000 Subject: [PATCH] add build-bin to default features --- ballista/executor/Cargo.toml | 2 +- ballista/scheduler/Cargo.toml | 2 +- examples/Cargo.toml | 4 ++-- examples/examples/custom-scheduler.rs | 2 +- python/Cargo.toml | 6 +++--- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/ballista/executor/Cargo.toml b/ballista/executor/Cargo.toml index 40a7c3462..72a373f21 100644 --- a/ballista/executor/Cargo.toml +++ b/ballista/executor/Cargo.toml @@ -36,7 +36,7 @@ required-features = ["build-binary"] [features] build-binary = ["configure_me", "tracing-subscriber", "tracing-appender", "tracing"] -default = ["mimalloc"] +default = ["build-binary","mimalloc"] [dependencies] arrow = { workspace = true } diff --git a/ballista/scheduler/Cargo.toml b/ballista/scheduler/Cargo.toml index 6b525739c..d49f7684f 100644 --- a/ballista/scheduler/Cargo.toml +++ b/ballista/scheduler/Cargo.toml @@ -36,7 +36,7 @@ required-features = ["build-binary"] [features] build-binary = ["configure_me", "tracing-subscriber", "tracing-appender", "tracing"] -default = [] +default = ["build-binary"] flight-sql = [] keda-scaler = [] prometheus-metrics = ["prometheus", "once_cell"] diff --git a/examples/Cargo.toml b/examples/Cargo.toml index dc94802d8..bf9d51548 100644 --- a/examples/Cargo.toml +++ b/examples/Cargo.toml @@ -36,8 +36,8 @@ required-features = ["ballista/standalone"] [dependencies] ballista = { path = "../ballista/client", version = "0.12.0" } ballista-core = { path = "../ballista/core", version = "0.12.0" } -ballista-executor = { path = "../ballista/executor", version = "0.12.0" } -ballista-scheduler = { path = "../ballista/scheduler", version = "0.12.0" } +ballista-executor = { path = "../ballista/executor", version = "0.12.0", default-features = false } +ballista-scheduler = { path = "../ballista/scheduler", version = "0.12.0", default-features = false } datafusion = { workspace = true } env_logger = { workspace = true } log = { workspace = true } diff --git a/examples/examples/custom-scheduler.rs b/examples/examples/custom-scheduler.rs index 8b4679e9b..9783ae28e 100644 --- a/examples/examples/custom-scheduler.rs +++ b/examples/examples/custom-scheduler.rs @@ -29,7 +29,7 @@ use std::sync::Arc; /// /// # Custom Ballista Scheduler /// -/// This example demonstrates how to crate custom made ballista schedulers. +/// This example demonstrates how to crate custom ballista schedulers. /// #[tokio::main] async fn main() -> ballista_core::error::Result<()> { diff --git a/python/Cargo.toml b/python/Cargo.toml index 747f330a9..6969061c5 100644 --- a/python/Cargo.toml +++ b/python/Cargo.toml @@ -33,15 +33,15 @@ publish = false async-trait = "0.1.77" ballista = { path = "../ballista/client", version = "0.12.0" } ballista-core = { path = "../ballista/core", version = "0.12.0" } -ballista-executor = { path = "../ballista/executor", version = "0.12.0" } -ballista-scheduler = { path = "../ballista/scheduler", version = "0.12.0" } +ballista-executor = { path = "../ballista/executor", version = "0.12.0", features = ["mimalloc"], default-features = false } +ballista-scheduler = { path = "../ballista/scheduler", version = "0.12.0", default-features = false } datafusion = { version = "42", features = ["pyarrow", "avro"] } datafusion-proto = { version = "42" } datafusion-python = { version = "42" } pyo3 = { version = "0.22", features = ["extension-module", "abi3", "abi3-py38"] } pyo3-log = "0.11.0" -tokio = { version = "1.35", features = ["macros", "rt", "rt-multi-thread", "sync"] } +tokio = { version = "1.42", features = ["macros", "rt", "rt-multi-thread", "sync"] } [lib] crate-type = ["cdylib"]