AlexPikalov / cdrs

Cassandra DB native client written in Rust language. Find 1.x versions on https://github.com/AlexPikalov/cdrs/tree/v.1.x Looking for an async version? - Check WIP https://github.com/AlexPikalov/cdrs-async
Apache License 2.0
342 stars 58 forks source link

rustls alternative ssl feature #315

Closed DoumanAsh closed 4 years ago

DoumanAsh commented 4 years ago

This would be a good alternative on non-linux platforms

AlexPikalov commented 4 years ago

@DoumanAsh

You are absolutely right. It would be great to start using native Rust rustls crate. Do you think you'd like to give it a shot and prepare some PR? Let me know if you need any help with it.

DoumanAsh commented 4 years ago

Ok, do you want it as separate feature fom ssl? Also, do you want ot allow both ssl and rustls to be present at the same time?

AlexPikalov commented 4 years ago

I think another feature like native-ssl would be a good point to start. Later on, when the implementation will be stabilised we ca deprecate existing ssl feature based on open-ssl crate in favour of native-ssl based on rustls.

To start the development you can easily check what is included into ssl feature and implement similar structures leveraging rustls.