Skip to content
Merged
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
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sqlxmq"
version = "0.5.0"
version = "0.6.0"
authors = ["Diggory Blake <[email protected]>"]
edition = "2018"
license = "MIT OR Apache-2.0"
Expand All @@ -15,7 +15,7 @@ members = ["sqlxmq_macros", "sqlxmq_stress"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
sqlx = { version = "0.7.1", features = ["postgres", "chrono", "uuid"] }
sqlx = { version = "0.8", features = ["postgres", "chrono", "uuid"] }
tokio = { version = "1.8.3", features = ["full"] }
dotenvy = "0.15.3"
chrono = "0.4.19"
Expand Down
4 changes: 2 additions & 2 deletions sqlxmq_stress/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ edition = "2018"
[dependencies]
sqlxmq = { path = ".." }
tokio = { version = "1.4.0", features = ["full"] }
dotenvy = "0.15.3"
sqlx = "0.6.0"
dotenvy = "0.15"
sqlx = "0.8"
serde = "1.0.125"
lazy_static = "1.4.0"
futures = "0.3.13"
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,8 @@ mod tests {
use tokio::sync::{Mutex, MutexGuard};
use tokio::task;

// field 0 is never read, but its drop is important
#[allow(dead_code)]
struct TestGuard<T>(MutexGuard<'static, ()>, T);

impl<T> Deref for TestGuard<T> {
Expand Down
2 changes: 1 addition & 1 deletion src/registry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ impl JobRegistry {

/// The default error handler implementation, which simply logs the error.
pub fn default_error_handler(name: &str, error: BoxedError) {
log::error!("Job `{}` failed: {}", name, error);
log::error!("Job `{}` failed: {:?}", name, error);
}

#[doc(hidden)]
Expand Down
Loading