Skip to content
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

Merged
merged 5 commits into from
Oct 4, 2023
Merged

Update sqlx to 0.7.2 #131

merged 5 commits into from
Oct 4, 2023

Conversation

v0idpwn
Copy link
Collaborator

@v0idpwn v0idpwn commented Oct 1, 2023

No description provided.

@v0idpwn
Copy link
Collaborator Author

v0idpwn commented Oct 1, 2023

@pbzweihander I rebased your PR and did some chore since 0.7.2 was released. Do you think its good to go?

thiserror = "1.0.38"
tokio = { version = "1", features = ["macros"] }
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
Copy link
Member

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?

Copy link
Collaborator Author

@v0idpwn v0idpwn Oct 3, 2023

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?

Copy link
Collaborator Author

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

@pbzweihander
Copy link
Contributor

I think it is good to go!

@pbzweihander pbzweihander mentioned this pull request Oct 4, 2023
@v0idpwn v0idpwn enabled auto-merge (squash) October 4, 2023 16:30
@v0idpwn v0idpwn merged commit fb0f728 into main Oct 4, 2023
@v0idpwn v0idpwn deleted the chore/bump-sqlx branch October 4, 2023 16:42
This was referenced Oct 4, 2023
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.

4 participants