From 082e5e4a5697ea44b8a870fe94bf91028d7f25a8 Mon Sep 17 00:00:00 2001 From: John Vandenberg Date: Thu, 9 Nov 2023 14:12:55 +0800 Subject: [PATCH] Prevent features forcing unintended dependencies (#196) --- Cargo.toml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index dc42788..bd0b5a0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -52,20 +52,20 @@ extensions = ["apalis-core/extensions"] ## Compatibility with async-std and smol runtimes async-std-comp = [ "apalis-core/async-std-comp", - "apalis-sql/async-std-comp", - "apalis-redis/async-std-comp", - "apalis-cron/async-std-comp", + "apalis-sql?/async-std-comp", + "apalis-redis?/async-std-comp", + "apalis-cron?/async-std-comp", ] ## Compatibility with tokio and actix runtimes tokio-comp = [ "apalis-core/tokio-comp", - "apalis-sql/tokio-comp", - "apalis-redis/tokio-comp", - "apalis-cron/tokio-comp", + "apalis-sql?/tokio-comp", + "apalis-redis?/tokio-comp", + "apalis-cron?/tokio-comp", ] ## Expose job sources for web and cli purposes -expose = ["apalis-core/expose", "apalis-sql/expose", "apalis-redis/expose"] +expose = ["apalis-core/expose", "apalis-sql?/expose", "apalis-redis?/expose"] docsrs = ["document-features"]