wolf4ood/gremlin-rs

Native TLS as optional

Opened this issue · 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 !

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.

That seems really nice !

Is there any way I can help ?

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 🙂