Make all DB engines optional build features

This commit is contained in:
Alex Auvolat
2022-09-06 17:09:43 +02:00
parent 48ffaaadfc
commit b886c75450
5 changed files with 50 additions and 7 deletions
+4
View File
@@ -1,8 +1,12 @@
#[macro_use]
#[cfg(feature = "sqlite")]
extern crate tracing;
#[cfg(feature = "lmdb")]
pub mod lmdb_adapter;
#[cfg(feature = "sled")]
pub mod sled_adapter;
#[cfg(feature = "sqlite")]
pub mod sqlite_adapter;
pub mod counted_tree_hack;