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.
This commit is contained in:
committed by
GitHub
parent
57be414d97
commit
e366c8fcd0
@@ -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::*;
|
||||
|
||||
Reference in New Issue
Block a user