diff --git a/src/lib.rs b/src/lib.rs index 1280bba..ebc25c3 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,5 +1,11 @@ #[macro_use] extern crate log; +#[cfg(all(feature = "gemini_srv", feature = "scgi_srv"))] +compile_error!("Please enable only one of either the `gemini_srv` or `scgi_srv` features on the kochab crate"); + +#[cfg(not(any(feature = "gemini_srv", feature = "scgi_srv")))] +compile_error!("Please enable at least one of either the `gemini_srv` or `scgi_srv` features on the kochab crate"); + use std::{ sync::Arc, time::Duration,