You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@kakoc We have discussed and this this is an interesting idea, however, we do not have the capacity to work on this right now and we will revisit in a few months.
Just to second this: I'd love an option to use system OpenSSL because ring has some difficulties with cross-compiling that make it a challenge to produce binaries for AWS Lambda (x86_64 linux gnu) from a MacOS host.
changed the title [-]Can you features ring/rustls replace with openssl?[/-][+]RUST-1083 Can you features ring/rustls replace with openssl?[/+]on Feb 8, 2022
An important caveat: we're unfortunately not currently able to remove rustls or ring as dependencies, even when the OpenSSL feature is enabled, without creating a breaking change for users that build with --no-default-features. Introducing a feature flag for rustls is something we'll want to consider for the next major version of the crate, though.
Any update to this? I decided to use rust for a new project I'm on, and as part of creating the PoC, I wanted to add mongodb driver but I'm hitting a problem getting mongodb installed due to ring dependency on my fedora box. I'm using rust v1.66.1 (fedora distributed), and installing mongodb driver v2.3.1.
When we release a new major version (not soon), we'll be able to drop rustls and ring as mandatory dependencies. Until then, if those dependencies are a blocker the best I can recommend is to clone the driver repository and remove those dependencies by hand (I believe it's just a matter of removing them from Cargo.toml if you'll always use openssl).
Activity
kakoc commentedon Oct 22, 2021
Seems that being able to use openssl could potentially solve this issue(due to rustls limitations) as well: #487
patrickfreed commentedon Oct 26, 2021
Thanks for your suggestion! I filed RUST-1083 to track this; the team will discuss this at our next triage meeting.
bajanam commentedon Nov 8, 2021
@kakoc We have discussed and this this is an interesting idea, however, we do not have the capacity to work on this right now and we will revisit in a few months.
loafofpiecrust commentedon Dec 21, 2021
Just to second this: I'd love an option to use system OpenSSL because ring has some difficulties with cross-compiling that make it a challenge to produce binaries for AWS Lambda (x86_64 linux gnu) from a MacOS host.
[-]Can you features ring/rustls replace with openssl?[/-][+]RUST-1083 Can you features ring/rustls replace with openssl?[/+]techbelle commentedon Apr 10, 2022
Update on this issue: we will offer the OpenSSL option in the rust driver in our upcoming version, 2.2.0
patrickfreed commentedon Apr 11, 2022
An important caveat: we're unfortunately not currently able to remove
rustls
orring
as dependencies, even when the OpenSSL feature is enabled, without creating a breaking change for users that build with--no-default-features
. Introducing a feature flag forrustls
is something we'll want to consider for the next major version of the crate, though.mahmoudajawad commentedon Feb 6, 2023
Any update to this? I decided to use rust for a new project I'm on, and as part of creating the PoC, I wanted to add mongodb driver but I'm hitting a problem getting mongodb installed due to
ring
dependency on my fedora box. I'm using rust v1.66.1 (fedora distributed), and installing mongodb driver v2.3.1.abr-egn commentedon Feb 6, 2023
When we release a new major version (not soon), we'll be able to drop
rustls
andring
as mandatory dependencies. Until then, if those dependencies are a blocker the best I can recommend is to clone the driver repository and remove those dependencies by hand (I believe it's just a matter of removing them fromCargo.toml
if you'll always useopenssl
).