ntex-rs / ntex

framework for composable networking services
Apache License 2.0
2.04k stars 110 forks source link

Is it possible to select `ring` instead of `aws-lc-rs` inside `rustls` #428

Closed evshary closed 1 month ago

evshary commented 1 month ago

rustls supports both ring and aws-lc-rs. Although it decides to use aws-lc-rs by default, it still provides features for users to choose ring. https://github.com/rustls/rustls?tab=readme-ov-file#platform-support

It would be great if ntex could provide such an option for users to choose from since some people face the issue while using aws-lc-rs, for example, https://github.com/rustls/rustls/issues/1913

fafhrd91 commented 1 month ago

i think ntex could use “default-features = false”, then you can select right feature in your code.

fafhrd91 commented 1 month ago

changed in ntex-v2.6.0

evshary commented 1 month ago

@fafhrd91 Thanks for your fast update. I've verified it and it works on my side!