-
Notifications
You must be signed in to change notification settings - Fork 41
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
Using basic example #81
Comments
I assume you figured it out but if not you would need |
Hey, thanks for the follow-up! I apologize about the complete lack of response. And yes, that is correct. The basic example in the readme is compiled and tested. Maybe you forgot to include the StreamExt trait during copy/paste? |
@thedodd Any chance of updating Tokio? Would be nice since rocket can handle Async things now |
@somehowchris hey, that's a good idea. Will do. |
@thedodd ever considered (or will you consider) to get synk, depenadabot or renovate? To get dependency updates and for security reasons |
Definitely, though in this case it wouldn't make any difference. The only reason I haven't already done so is due to time constraints, not because I was unaware of the Tokio updates and such Wither was one of my first open source Rust projects ... and I personally do not use it much any more, only because I don't use MongoDB much anymore. So I definitely rely upon the community for update requests and the like. I would love to have someone else actively using the project to join as a co-maintainer, which would be a boon to everyone involved. |
@somehowchris as it turns out, we are blocked on upgrading to Tokio 1.0 until the underlying MongoDB crate updates. Wither is just a lightweight dependency on top of the |
Note that |
Hi, could you consider me as a co-mantainer? I work fulltime but in my spare time I'd like to keep this project alive, I believe it is one of the best Rust database projects! |
@simoneromano96 I definitely need to get some other folks involved in keeping this project alive. I'll send you an invite! |
Hi, I would create a feature in wither to use the mongo client beta, WDYT? |
Hey man,
I love the effort and the crate, but I seem to have a bit of trouble getting the basic things running.
I started using it with rocket the web framework since it will support tokio with 0.5.0, but the find method seems to run into a few compile issues.
To my knowledge, this is basically the same as your basic example, but it should just output the first one (if there is any).
This is the code I call before.
I have defined the model as followed
Am I missing something out? I have also tried to run your exact example, but that neither worked
The text was updated successfully, but these errors were encountered: