From 84a39bd6a42e0d45e793d6fb7d2158bbe740486e Mon Sep 17 00:00:00 2001 From: mdecimus Date: Mon, 6 Jan 2025 16:41:50 +0100 Subject: [PATCH] Fixed build script (closes #1057) --- .github/workflows/build.yml | 3 ++- crates/main/Cargo.toml | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f2e24ffa..42ee9fa9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -135,7 +135,8 @@ jobs: artifact stalwart-mail stalwart-mail-foundationdb fi - build -p mail-server -p stalwart-cli + build -p mail-server --no-default-features --features "sqlite postgres mysql rocks elastic s3 redis azure enterprise" + build -p stalwart-cli artifact stalwart-mail artifact stalwart-cli diff --git a/crates/main/Cargo.toml b/crates/main/Cargo.toml index 264d902d..9b3965da 100644 --- a/crates/main/Cargo.toml +++ b/crates/main/Cargo.toml @@ -34,8 +34,8 @@ tokio = { version = "1.23", features = ["full"] } jemallocator = "0.5.0" [features] -#default = ["sqlite", "postgres", "mysql", "rocks", "elastic", "s3", "redis", "azure", "enterprise"] -default = ["rocks", "enterprise"] +default = ["sqlite", "postgres", "mysql", "rocks", "elastic", "s3", "redis", "azure", "enterprise"] +#default = ["rocks", "enterprise"] sqlite = ["store/sqlite"] foundationdb = ["store/foundation", "common/foundation"] postgres = ["store/postgres"]