Skip to content

Update to latest mongodb driver and add tests #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Oct 5, 2020

Conversation

No9
Copy link
Collaborator

@No9 No9 commented Oct 2, 2020

Hey All
std-async 1.6 support has landed in mongodb driver https://github.com/mongodb/mongo-rust-driver/releases/tag/v1.1.1
This PR bumps the dependency in the Cargo.toml and also fixes #1 (edit)
It also adds some documentation for the connect and from_client calls and adds integration tests for them as well.
The integration tests depend on a running mongo instance so I have removed windows and macos from the matrix in the ci.yml action so it could use supercharge/mongodb-github-action@1.3.0
There may be a way to do it where it's possible to keep macos and windows but my actions knowledge couldn't stretch to it.

Hope you find this useful.

Copy link
Member

@yoshuawuyts yoshuawuyts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh this is great; thanks so much!

@yoshuawuyts yoshuawuyts merged commit 18f7d36 into http-rs:master Oct 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Mongodb 1.0.0 depends on async-std 1.5; tide depends on async-std 1.6
2 participants