Fixed compiling for RocksDB only

This commit is contained in:
mdecimus
2023-12-21 18:54:04 +01:00
parent 562015df24
commit 7ff851e350
3 changed files with 3 additions and 3 deletions

View File

@@ -17,7 +17,7 @@ tokio-rustls = { version = "0.25.0"}
rustls = "0.22" rustls = "0.22"
rustls-pki-types = { version = "1" } rustls-pki-types = { version = "1" }
ldap3 = { version = "0.11.1", default-features = false, features = ["tls-rustls"] } 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" parking_lot = "0.12"
async-trait = "0.1.68" async-trait = "0.1.68"
ahash = { version = "0.8" } ahash = { version = "0.8" }

View File

@@ -32,7 +32,7 @@ jemallocator = "0.5.0"
[features] [features]
#default = ["sqlite", "foundationdb", "postgres", "mysql", "rocks", "elastic", "s3", "redis"] #default = ["sqlite", "foundationdb", "postgres", "mysql", "rocks", "elastic", "s3", "redis"]
default = ["sqlite", "postgres", "mysql", "redis", "rocks", "foundationdb"] default = ["rocks"]
sqlite = ["store/sqlite"] sqlite = ["store/sqlite"]
foundationdb = ["store/foundation"] foundationdb = ["store/foundation"]
postgres = ["store/postgres"] postgres = ["store/postgres"]

View File

@@ -6,7 +6,7 @@ resolver = "2"
[features] [features]
#default = ["sqlite", "foundationdb", "postgres", "mysql", "rocks", "elastic", "s3", "redis"] #default = ["sqlite", "foundationdb", "postgres", "mysql", "rocks", "elastic", "s3", "redis"]
default = ["sqlite", "postgres", "mysql", "redis", "rocks", "foundationdb"] default = ["rocks"]
sqlite = ["store/sqlite"] sqlite = ["store/sqlite"]
foundationdb = ["store/foundation"] foundationdb = ["store/foundation"]
postgres = ["store/postgres"] postgres = ["store/postgres"]