diff options
author | Alex Auvolat <alex@adnab.me> | 2022-11-08 14:23:08 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-11-08 14:58:39 +0100 |
commit | d75b37b018fc0ce8e3832c8531d9556ff7a345c9 (patch) | |
tree | bb458446bd8bc8c098beedbebbd4cbefb7359724 /src/garage/main.rs | |
parent | 73a4ca8b1515f95bf7860fc292c12db83d3c6228 (diff) | |
download | garage-d75b37b018fc0ce8e3832c8531d9556ff7a345c9.tar.gz garage-d75b37b018fc0ce8e3832c8531d9556ff7a345c9.zip |
Return more info when layout's .check() fails, fix compilation, fix test
Diffstat (limited to 'src/garage/main.rs')
-rw-r--r-- | src/garage/main.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/garage/main.rs b/src/garage/main.rs index edda734b..8e64273f 100644 --- a/src/garage/main.rs +++ b/src/garage/main.rs @@ -17,6 +17,9 @@ compile_error!("Either bundled-libs or system-libs Cargo feature must be enabled #[cfg(all(feature = "bundled-libs", feature = "system-libs"))] compile_error!("Only one of bundled-libs and system-libs Cargo features must be enabled"); +#[cfg(not(any(feature = "lmdb", feature = "sled", feature = "sqlite")))] +compile_error!("Must activate the Cargo feature for at least one DB engine: lmdb, sled or sqlite."); + use std::net::SocketAddr; use std::path::PathBuf; |