From 7ff851e3504ef712f44e9bc64994ccb8759b46da Mon Sep 17 00:00:00 2001 From: mdecimus Date: Thu, 21 Dec 2023 18:54:04 +0100 Subject: [PATCH] Fixed compiling for RocksDB only --- crates/directory/Cargo.toml | 2 +- crates/main/Cargo.toml | 2 +- tests/Cargo.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/directory/Cargo.toml b/crates/directory/Cargo.toml index a03d9965..7e2a67de 100644 --- a/crates/directory/Cargo.toml +++ b/crates/directory/Cargo.toml @@ -17,7 +17,7 @@ tokio-rustls = { version = "0.25.0"} rustls = "0.22" rustls-pki-types = { version = "1" } ldap3 = { version = "0.11.1", default-features = false, features = ["tls-rustls"] } -deadpool = { version = "0.10.0", features = ["managed"] } +deadpool = { version = "0.10.0", features = ["managed", "rt_tokio_1"] } parking_lot = "0.12" async-trait = "0.1.68" ahash = { version = "0.8" } diff --git a/crates/main/Cargo.toml b/crates/main/Cargo.toml index 7cd3447b..5dfb09cd 100644 --- a/crates/main/Cargo.toml +++ b/crates/main/Cargo.toml @@ -32,7 +32,7 @@ jemallocator = "0.5.0" [features] #default = ["sqlite", "foundationdb", "postgres", "mysql", "rocks", "elastic", "s3", "redis"] -default = ["sqlite", "postgres", "mysql", "redis", "rocks", "foundationdb"] +default = ["rocks"] sqlite = ["store/sqlite"] foundationdb = ["store/foundation"] postgres = ["store/postgres"] diff --git a/tests/Cargo.toml b/tests/Cargo.toml index 08432d7a..4c8d415e 100644 --- a/tests/Cargo.toml +++ b/tests/Cargo.toml @@ -6,7 +6,7 @@ resolver = "2" [features] #default = ["sqlite", "foundationdb", "postgres", "mysql", "rocks", "elastic", "s3", "redis"] -default = ["sqlite", "postgres", "mysql", "redis", "rocks", "foundationdb"] +default = ["rocks"] sqlite = ["store/sqlite"] foundationdb = ["store/foundation"] postgres = ["store/postgres"]