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

fix(deps): update rust crate sqlx to 0.8.0 #380

Merged
merged 5 commits into from
Jul 25, 2024
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
10 changes: 7 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
[workspace.package]
edition = "2021"
repository = "https://github.com/geofmureithi/apalis"

[package]
name = "apalis"
version = "0.6.0-rc.4"
authors = ["Geoffrey Mureithi <mureithinjuguna@gmail.com>"]
description = "Simple, extensible multithreaded background job processing for Rust"
repository = "https://github.com/geofmureithi/apalis"
edition.workspace = true
repository.workspace = true
documentation = "https://docs.rs/apalis"
readme = "README.md"
license = "MIT OR Apache-2.0"
keywords = ["job", "task", "scheduler", "worker", "cron"]
categories = ["database"]
edition = "2021"

[lib]
bench = false
Expand Down Expand Up @@ -85,7 +89,7 @@ redis = { version = "0.25.3", default-features = false, features = [
] }

[dev-dependencies.sqlx]
version = "0.7.4"
version = "0.8.0"
default-features = false
features = ["chrono", "mysql", "sqlite", "postgres"]

Expand Down
2 changes: 1 addition & 1 deletion examples/sqlite/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ default-features = false
version = "0.1"

[dependencies.sqlx]
version = "0.7.0"
version = "0.8"
default-features = false
features = ["sqlite"]
3 changes: 2 additions & 1 deletion packages/apalis-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
name = "apalis-core"
version = "0.6.0-rc.4"
authors = ["Njuguna Mureithi <mureithinjuguna@gmail.com>"]
edition = "2021"
edition.workspace = true
repository.workspace = true
license = "MIT"
description = "Core for apalis: simple, extensible multithreaded background processing for Rust"
categories = ["concurrency"]
Expand Down
2 changes: 1 addition & 1 deletion packages/apalis-core/src/data.rs
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ impl Extensions {
self.map.as_ref().map_or(true, |map| map.is_empty())
}

/// Get the numer of extensions available.
/// Get the number of extensions available.
///
/// # Example
///
Expand Down
3 changes: 2 additions & 1 deletion packages/apalis-cron/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
[package]
name = "apalis-cron"
version = "0.6.0-rc.4"
edition = "2021"
edition.workspace = true
repository.workspace = true
authors = ["Njuguna Mureithi <mureithinjuguna@gmail.com>"]
license = "MIT"
description = "A simple yet extensible library for cron-like job scheduling for rust."
Expand Down
3 changes: 2 additions & 1 deletion packages/apalis-redis/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
name = "apalis-redis"
version = "0.6.0-rc.4"
authors = ["Njuguna Mureithi <mureithinjuguna@gmail.com>"]
edition = "2021"
edition.workspace = true
repository.workspace = true
readme = "../../README.md"

license = "MIT"
Expand Down
5 changes: 3 additions & 2 deletions packages/apalis-sql/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
name = "apalis-sql"
version = "0.6.0-rc.4"
authors = ["Njuguna Mureithi <mureithinjuguna@gmail.com>"]
edition = "2021"
edition.workspace = true
repository.workspace = true
readme = "../../README.md"

license = "MIT"
Expand All @@ -18,7 +19,7 @@ async-std-comp = ["async-std", "sqlx/runtime-async-std-rustls"]
tokio-comp = ["tokio", "sqlx/runtime-tokio-rustls"]

[dependencies.sqlx]
version = "0.7.4"
version = "0.8.0"
default-features = false
features = ["chrono"]

Expand Down
2 changes: 1 addition & 1 deletion packages/apalis-sql/src/sqlite.rs
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ impl<T> SqliteStorage<T> {
tx.commit().await?;
Ok(())
}

/// Add jobs that failed back to the queue if there are still remaining attemps
pub async fn reenqueue_failed(&mut self) -> Result<(), sqlx::Error> {
let job_type = self.config.namespace.clone();
Expand Down
Loading