-
Notifications
You must be signed in to change notification settings - Fork 76
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
Update sqlx to 0.7.2 #131
Update sqlx to 0.7.2 #131
Conversation
fa0d6a7
to
4907825
Compare
@pbzweihander I rebased your PR and did some chore since 0.7.2 was released. Do you think its good to go? |
pgmq-rs/Cargo.toml
Outdated
thiserror = "1.0.38" | ||
tokio = { version = "1", features = ["macros"] } | ||
tokio = { version = "1", features = ["macros", "rt-multi-thread"] } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this for running tests?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Without this feature in tokio, I get the following error: https://github.com/tembo-io/pgmq/actions/runs/6389164710/job/17340134252?pr=131
Is there a better solution?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couldn't compile the test.
---- src/lib.rs - PGMQueue::set_vt (line 873) stdout ----
error: The default runtime flavor is `multi_thread`, but the `rt-multi-thread` feature is disabled.
--> src/lib.rs:884:1
|
13 | #[tokio::main]
| ^^^^^^^^^^^^^^
|
= note: this error originates in the attribute macro `tokio::main` (in Nightly builds, run with -Z macro-backtrace for more info)
error: aborting due to previous error
I think it is good to go! |
No description provided.