Skip to content

Commit

Permalink
bump: to 0.6.0-rc.4 (#377)
Browse files Browse the repository at this point in the history
  • Loading branch information
geofmureithi authored Jul 19, 2024
1 parent 04f4987 commit 6d2a1e2
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 12 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "apalis"
version = "0.6.0-rc.3"
version = "0.6.0-rc.4"
authors = ["Geoffrey Mureithi <[email protected]>"]
description = "Simple, extensible multithreaded background job processing for Rust"
repository = "https://github.com/geofmureithi/apalis"
Expand Down Expand Up @@ -54,7 +54,7 @@ layers = [
docsrs = ["document-features"]

[dependencies.apalis-core]
version = "0.6.0-rc.3"
version = "0.6.0-rc.4"
default-features = false
path = "./packages/apalis-core"

Expand Down
2 changes: 1 addition & 1 deletion packages/apalis-core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "apalis-core"
version = "0.6.0-rc.3"
version = "0.6.0-rc.4"
authors = ["Njuguna Mureithi <[email protected]>"]
edition = "2021"
license = "MIT"
Expand Down
1 change: 0 additions & 1 deletion packages/apalis-core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,6 @@ impl crate::executor::Executor for TestExecutor {
pub mod test_utils {
use crate::error::BoxDynError;
use crate::request::Request;
use crate::storage::Storage;
use crate::task::task_id::TaskId;
use crate::worker::WorkerId;
use crate::Backend;
Expand Down
4 changes: 2 additions & 2 deletions packages/apalis-cron/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "apalis-cron"
version = "0.6.0-rc.3"
version = "0.6.0-rc.4"
edition = "2021"
authors = ["Njuguna Mureithi <[email protected]>"]
license = "MIT"
Expand All @@ -9,7 +9,7 @@ description = "A simple yet extensible library for cron-like job scheduling for
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
apalis-core = { path = "../../packages/apalis-core", version = "0.6.0-rc.3", default-features = false, features = [
apalis-core = { path = "../../packages/apalis-core", version = "0.6.0-rc.4", default-features = false, features = [
"sleep",
] }
cron = "0.12.1"
Expand Down
2 changes: 1 addition & 1 deletion packages/apalis-cron/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
//! let worker = WorkerBuilder::new("morning-cereal")
//! .layer(RetryLayer::new(RetryPolicy::retries(5)))
//! .data(FakeService)
//! .stream(CronStream::new(schedule).into_stream())
//! .backend(CronStream::new(schedule))
//! .build_fn(send_reminder);
//! Monitor::<TokioExecutor>::new()
//! .register(worker)
Expand Down
4 changes: 2 additions & 2 deletions packages/apalis-redis/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "apalis-redis"
version = "0.6.0-rc.3"
version = "0.6.0-rc.4"
authors = ["Njuguna Mureithi <[email protected]>"]
edition = "2021"
readme = "../../README.md"
Expand All @@ -11,7 +11,7 @@ description = "Redis Storage for apalis: use Redis for background jobs and messa
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
apalis-core = { path = "../../packages/apalis-core", version = "0.6.0-rc.3", default-features = false, features = [
apalis-core = { path = "../../packages/apalis-core", version = "0.6.0-rc.4", default-features = false, features = [
"sleep",
"json",
] }
Expand Down
4 changes: 2 additions & 2 deletions packages/apalis-sql/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "apalis-sql"
version = "0.6.0-rc.3"
version = "0.6.0-rc.4"
authors = ["Njuguna Mureithi <[email protected]>"]
edition = "2021"
readme = "../../README.md"
Expand All @@ -25,7 +25,7 @@ features = ["chrono"]
[dependencies]
serde = { version = "1", features = ["derive"] }
serde_json = "1"
apalis-core = { path = "../../packages/apalis-core", version = "0.6.0-rc.3", default-features = false, features = [
apalis-core = { path = "../../packages/apalis-core", version = "0.6.0-rc.4", default-features = false, features = [
"sleep",
"json",
] }
Expand Down
1 change: 0 additions & 1 deletion packages/apalis-sql/src/from_row.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ impl<'r, T: Decode<'r, sqlx::Postgres> + Type<sqlx::Postgres>>
fn from_row(row: &'r sqlx::postgres::PgRow) -> Result<Self, sqlx::Error> {
use sqlx::Row;
use std::str::FromStr;
type Timestamp = i64;

let job: T = row.try_get("job")?;
let id: TaskId =
Expand Down

0 comments on commit 6d2a1e2

Please sign in to comment.