Code Monkey home page Code Monkey logo

Comments (8)

kakoc avatar kakoc commented on June 3, 2024

Seems that being able to use openssl could potentially solve this issue(due to rustls limitations) as well: #487

from mongo-rust-driver.

patrickfreed avatar patrickfreed commented on June 3, 2024

Thanks for your suggestion! I filed RUST-1083 to track this; the team will discuss this at our next triage meeting.

from mongo-rust-driver.

bajanam avatar bajanam commented on June 3, 2024

@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.

from mongo-rust-driver.

loafofpiecrust avatar loafofpiecrust commented on June 3, 2024

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.

from mongo-rust-driver.

techbelle avatar techbelle commented on June 3, 2024

Update on this issue: we will offer the OpenSSL option in the rust driver in our upcoming version, 2.2.0

from mongo-rust-driver.

patrickfreed avatar patrickfreed commented on June 3, 2024

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.

from mongo-rust-driver.

mahmoudajawad avatar mahmoudajawad commented on June 3, 2024

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.

from mongo-rust-driver.

abr-egn avatar abr-egn commented on June 3, 2024

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).

from mongo-rust-driver.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.