Include diesel as a requirement for the related extern
@@ -23,7 +23,9 @@ extern crate serde_derive;
#[cfg(feature = "rest-api-actix-web-1")]
extern crate serde_json;
#[macro_use]
-#[cfg(any(
+#[cfg(all(
+ feature = "diesel",
+ any(
feature = "admin-service",
feature = "authorization-handler-rbac",
feature = "biome-credentials",
@@ -33,6 +35,7 @@ extern crate serde_json;
feature = "oauth",
feature = "registry",
feature = "service-lifecycle-executor",
+ )
))]
extern crate diesel;
#[macro_use]
