From e366c8fcd0b27780bb609116b83f48a87dce63a5 Mon Sep 17 00:00:00 2001 From: Jacob Hoffman-Andrews Date: Sun, 21 Jun 2020 00:51:46 -0700 Subject: [PATCH] Remove compile error on native-tls / tls conflict. (#74) The docs.rs build uses the --all-features flag, which causes its documentation builds to fail when this macro is present. Fixes #71. --- src/lib.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index e922c11..b03228e 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -181,12 +181,6 @@ pub fn patch(path: &str) -> Request { request("PATCH", path) } -// Compilation error when both tls and native-tls features are enabled -#[cfg(all(feature = "tls", feature = "native-tls"))] -std::compile_error!( - "You have both the \"tls\" and \"native-tls\" features enabled on ureq. Please disable one of these features." -); - #[cfg(test)] mod tests { use super::*;