From 9a04d240f8384cc7dddb328ecb94870ea3f57a65 Mon Sep 17 00:00:00 2001 From: Remi Dettai Date: Thu, 12 Sep 2024 17:35:29 +0200 Subject: [PATCH 1/2] Fix builds with --all-features --- quickwit/quickwit-codegen/example/Cargo.toml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/quickwit/quickwit-codegen/example/Cargo.toml b/quickwit/quickwit-codegen/example/Cargo.toml index 38b03f51f6a..bcbd9be237c 100644 --- a/quickwit/quickwit-codegen/example/Cargo.toml +++ b/quickwit/quickwit-codegen/example/Cargo.toml @@ -16,6 +16,7 @@ async-trait = { workspace = true } bytesize = { workspace = true } futures = { workspace = true } http = { workspace = true } +mockall = { workspace = true, optional = true } prost = { workspace = true } serde = { workspace = true } thiserror = { workspace = true } @@ -30,12 +31,10 @@ quickwit-common = { workspace = true } quickwit-proto = { workspace = true } [dev-dependencies] -mockall = { workspace = true } - quickwit-actors = { workspace = true, features = ["testsuite"] } [build-dependencies] quickwit-codegen = { workspace = true } [features] -testsuite = [] +testsuite = ["mockall"] From b24a90befbf72320dcf1f3e7567f444c3feaa317 Mon Sep 17 00:00:00 2001 From: Remi Dettai Date: Thu, 12 Sep 2024 17:46:00 +0200 Subject: [PATCH 2/2] Revert dev dependency removal --- quickwit/quickwit-codegen/example/Cargo.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/quickwit/quickwit-codegen/example/Cargo.toml b/quickwit/quickwit-codegen/example/Cargo.toml index bcbd9be237c..e6380b1fb20 100644 --- a/quickwit/quickwit-codegen/example/Cargo.toml +++ b/quickwit/quickwit-codegen/example/Cargo.toml @@ -31,6 +31,8 @@ quickwit-common = { workspace = true } quickwit-proto = { workspace = true } [dev-dependencies] +mockall = { workspace = true } + quickwit-actors = { workspace = true, features = ["testsuite"] } [build-dependencies]