diff --git a/Cargo.lock b/Cargo.lock index 98f39a5..c825a97 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -88,7 +88,7 @@ checksum = "22ec99545bb0ed0ea7bb9b8e1e9122ea386ff8a48c0922e43f36d45ab09e0e80" [[package]] name = "ezhttp" -version = "0.1.6" +version = "0.2.0" dependencies = [ "lazy_static", "mime_guess", diff --git a/Cargo.toml b/Cargo.toml index cd3f4ec..cb0ea86 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ezhttp" -version = "0.1.6" +version = "0.2.0" edition = "2021" repository = "https://github.com/MeexReay/ezhttp" diff --git a/README.md b/README.md index db39b8d..bab6cab 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ This library is under developement, so if you found any bugs, please write them ## Setup ```toml -ezhttp = "0.1.6" # stable +ezhttp = "0.2.0" # stable ezhttp = { git = "https://github.com/MeexReay/ezhttp" } # unstable ``` diff --git a/src/ezhttp/client/mod.rs b/src/ezhttp/client/mod.rs index 7e4404d..0615b04 100644 --- a/src/ezhttp/client/mod.rs +++ b/src/ezhttp/client/mod.rs @@ -40,7 +40,7 @@ async fn send_request(request: HttpRequest, ssl_verify: bool, _proxy: Proxy, hea let mut ssl_connector = SslConnector::builder(SslMethod::tls()) .map_err(|_| HttpError::SslError)?; - ssl_connector.set_verify(if ssl_verify { SslVerifyMode::PEER } else { SslVerifyMode::NONE }); + ssl_connector.set_verify(if ssl_verify { SslVerifyMode::PEER } else { SslVerifyMode::NONE }); let ssl_connector = ssl_connector.build();