Repository: AlexPikalov/cdrs (language: rust)

Issue:
Compilation error with ssl feature
I have been trying to play with ssl feature, and facing compile issue due to typo on line 43 in src/cluster/config_ssl.rs
There are some extra characters  });  confusing compiler.
Also the rust-openssl v0.9.23 does not support OpenSSL 1.1.1 which prevents compilation on current Linux systems - could you please bump up version to 0.10 ?


Discussion / hints:

Fix patch:
diff --git a/Cargo.toml b/Cargo.toml
index a19014e..a0ac085 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -24,7 +24,7 @@ appveyor = []
 byteorder = "1"
 log = "0.4.1"
 lz4-compress = "=0.1.0"
-openssl = { version = "0.9.23", optional = true }
+openssl = { version = "0.10", optional = true }
 r2d2 = "0.8.2"
 rand = "0.4.1"
 snap = "0.2.3"
diff --git a/src/cluster/config_ssl.rs b/src/cluster/config_ssl.rs
index eee2401..773d2a5 100644
--- a/src/cluster/config_ssl.rs
+++ b/src/cluster/config_ssl.rs
@@ -40,7 +40,6 @@ impl<'a, A: Authenticator + Sized> NodeSslConfigBuilder<'a, A> {
   /// * node socket address as a string
   /// * authenticator
   /// * SSL connector structure (for more details see [openssl docs](https://docs.rs/openssl/0.10.12/openssl/ssl/struct.SslConnector.html))
-  }); 
   pub fn new<'b>(
     addr: &'b str,
     authenticator: A,


Test patch: