Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ rustls = ["sqlx/runtime-async-std-rustls"]

[dependencies]
async-std = "1"
sqlx = "0.5"
sqlx = "0.8.6"

Choose a reason for hiding this comment

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

critical

Updating sqlx from 0.5 to 0.8.6 is a major version bump. This likely introduces significant breaking changes to the sqlx API that are not fully addressed in this pull request, potentially leading to build failures or runtime issues. Please ensure all necessary code adaptations for the new sqlx version are included.

Copy link
Author

Choose a reason for hiding this comment

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

The code builds and the tests pass.


[dependencies.tracing_crate]
version = "0.1"
Expand Down
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@
//! use tide_sqlx::SQLxMiddleware;
//! use tide_sqlx::SQLxRequestExt;
//!
//! let mut connect_opts = PgConnectOptions::new();
//! connect_opts.log_statements(LevelFilter::Debug);
//! let connect_opts = PgConnectOptions::new()
//! .log_statements(LevelFilter::Debug);
//!
//! let pg_pool = PgPoolOptions::new()
//! .max_connections(5)
Expand Down