gremlin-rs icon indicating copy to clipboard operation
gremlin-rs copied to clipboard

Native TLS as optional

Open mlemesle opened this issue 2 years ago • 3 comments

Hey there !

I'm currently using gremlin-client in one of my project. Unfortunately, gremlin-client rely on native-tls which itself rely on dynamically link openssl.

This can bring errors during compilation (cross compilation) or runtime.

Is it possible to make this dependency optional and rely on rustls instead ?

I might have the time to do it, but I'd like to discuss the implementation with you first ! Please let me know what you think about this !

mlemesle avatar Feb 19 '23 10:02 mlemesle

Hi @mlemesle

yes we can definitely, it was the first implementation on the sync connection that relies on native-lts

I can work on this in case since i would also refactor the deps in a way that you can either chose async or sync or both to lower down the dependencies per use case.

wolf4ood avatar Feb 19 '23 12:02 wolf4ood

That seems really nice !

Is there any way I can help ?

mlemesle avatar Feb 19 '23 12:02 mlemesle

Hey there! Hope eveything's fine!

Did you make some progress on how to implement this? Feel free to reach if you want to discuss about it or if you need some help for implementation 🙂

mlemesle avatar Mar 11 '23 15:03 mlemesle