Comments (8)
Seems that being able to use openssl could potentially solve this issue(due to rustls limitations) as well: #487
from mongo-rust-driver.
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.
@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.
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.
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.
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.
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.
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)
- No way to support OpenAPI data converstion HOT 2
- SOCKS5 support HOT 1
- Can we remove the "deprecated" status from `human_readable_serialization` in `CollectionOptions`? HOT 4
- Failure to parse hello response from server HOT 3
- Feature Request : need serializer, deserializer for Option<Datetime> HOT 1
- stack overflow when working with big structs HOT 4
- Modify a Validator HOT 2
- RUST-1908 `find_one_and_update` / `find_one_and_update_with_session` use human-readable BSON deserialization HOT 2
- Find() with filter works but find({}) to get all documents fails HOT 1
- The solution for balancing the load of read operations. HOT 1
- Infinite loop while parsing results from find({}, None) HOT 2
- RUST-1913 Compilation error when handling ErrorKind::GridFs HOT 1
- Find one options, projection method not working for inclusions. HOT 6
- How to serialize a hashmap into BSON? HOT 5
- Error: Kind: I/O error: Device or resource busy (os error 16) when using service.namespace.svc.cluster.local as host HOT 2
- Slow Build Times HOT 3
- Why aggregation methods return `Cursor<Document>` instead of `Cursor<T>`? HOT 5
- `.session(...)` builder func moves `&mut ClientSession` preventing it from being reused HOT 2
- Is there any way we can pass `tlsCertificateKeyFilePassword ` for x.509 authentication? HOT 3
- Add `Server` module HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mongo-rust-driver.