diff options
author | Alex Auvolat <alex@adnab.me> | 2022-12-11 18:41:15 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-12-11 18:41:15 +0100 |
commit | 2c2e65ad8b37128612ba47a777eacbae5e43f3ab (patch) | |
tree | a6e224afbb35e2baa88091731870ff575d118664 /src/garage/main.rs | |
parent | defd7d9e6353e10b0b9d58b66aad4f04e7d50c41 (diff) | |
parent | ec12d6c8ddde0f1dc908e43fef0ecc88d1e5406b (diff) | |
download | garage-2c2e65ad8b37128612ba47a777eacbae5e43f3ab.tar.gz garage-2c2e65ad8b37128612ba47a777eacbae5e43f3ab.zip |
Merge commit 'ec12d6c' into next
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; |