-
Notifications
You must be signed in to change notification settings - Fork 20
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
Use v3 with Tide? #24
Comments
This is a known issue and will be fixed in the next tide release |
Thanks, I thought it might be a roadmap thing when I saw the commits putting things behind an async-std feature. What is a better forum than here next time I see something like this that might just be WIP? |
This is a totally reasonable place to file an issue. When I bumped async-session, I expected tide would be having more frequent releases, but there hasn't been a tide release in quite a while. Hopefully there will be one soon, and there is reason to expect that this may be the case. |
@jgreenbaum could you elaborate on how exactly to do this? I'm quite new to Tide and Rust in general and I've just run into this issue.
Edit: Finally actually figured it out - I just cloned async-sqlx-session, fixed the version of async-session, and used Thanks for the tip to downgrade async-session. |
The workaround I use is to specify version 0.3.0 explicitly in my Cargo.toml:
|
Converting this issue to a discussion, as it is relevant to this crate but there is nothing further we can do here (tide needs a new release but is currently minimally maintained) |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
It seems that the removal of async-std in v3 has broken the use of async-session with tide. If you try a simple tide program like the one in the async-mongodb-session/examples but with async-sqlx-session v0.4.0 you get build errors like
the trait `SessionStore` is not implemented for `SqliteSessionStore`
Moving async-sqlx-session back to async-session v2.0.1 from v3.0.0 makes the build error go away. I think this is a bug in async-session not async-sqlx-session because moving async-mongodb-session to async-session v3.0.0 from v2.0.1 results in the same build errors but for MongodbSessionStore, and I just don't see anything else in the latest async-sqlx-session that seems like it could be the cause.
Thoughts? Anything more I can do to help troubleshoot?
The text was updated successfully, but these errors were encountered: