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
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches: [main, develop]
pull_request:
workflow_call:

env:
CARGO_TERM_COLOR: always
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [1.0.0-rc.2] - 2026-01-10

- bump: to v1.0.0-rc.2 (#34)

### Changed

- feat: use DateTime abstraction from apalis-sql
Expand Down
33 changes: 27 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ ulid = { version = "1", features = ["serde"] }
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
apalis = { version = "1.0.0-rc.2" }
apalis-workflow = { version = "0.1.0-rc.2" }
apalis-codec = { version = "0.1.0-rc.2", features = ["msgpack"]}
futures-util = "0.3.31"
chrono = "0.4"

Expand Down
23 changes: 23 additions & 0 deletions examples/codec.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
use apalis::prelude::*;
use apalis_codec::msgpack::MsgPackCodec;
use apalis_sqlite::SqliteStorage;
use sqlx::SqlitePool;

#[tokio::main]
async fn main() {
let pool = SqlitePool::connect(":memory:").await.unwrap();
SqliteStorage::setup(&pool).await.unwrap();
let mut backend = SqliteStorage::new(&pool).with_codec::<MsgPackCodec>();
backend.push(42).await.unwrap();

async fn task(task: u32, worker: WorkerContext) -> Result<(), BoxDynError> {
apalis_core::timer::sleep(std::time::Duration::from_secs(1)).await;
assert_eq!(task, 42);
worker.stop()?;
Ok(())
}
let worker = WorkerBuilder::new("rango-tango")
.backend(backend)
.build(task);
worker.run().await.unwrap();
}
3 changes: 2 additions & 1 deletion examples/dag.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
use apalis::prelude::*;
use apalis_codec::msgpack::MsgPackCodec;
use apalis_sqlite::SqliteStorage;
use apalis_workflow::*;
use sqlx::SqlitePool;
Expand Down Expand Up @@ -28,7 +29,7 @@ async fn collector(
async fn main() {
let pool = SqlitePool::connect(":memory:").await.unwrap();
SqliteStorage::setup(&pool).await.unwrap();
let mut backend = SqliteStorage::new(&pool);
let mut backend = SqliteStorage::new(&pool).with_codec::<MsgPackCodec>();
backend.push_start(vec![42, 43, 44]).await.unwrap();

let dag_flow = DagFlow::new("user-etl-workflow");
Expand Down
14 changes: 11 additions & 3 deletions supply-chain/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ version = "1.11.0"
criteria = "safe-to-deploy"

[[exemptions.cc]]
version = "1.2.51"
version = "1.2.52"
criteria = "safe-to-deploy"

[[exemptions.cfg-if]]
Expand Down Expand Up @@ -236,7 +236,7 @@ version = "2.3.0"
criteria = "safe-to-deploy"

[[exemptions.find-msvc-tools]]
version = "0.1.6"
version = "0.1.7"
criteria = "safe-to-deploy"

[[exemptions.fixedbitset]]
Expand Down Expand Up @@ -444,7 +444,7 @@ version = "1.5.0"
criteria = "safe-to-deploy"

[[exemptions.libc]]
version = "0.2.179"
version = "0.2.180"
criteria = "safe-to-deploy"

[[exemptions.libm]]
Expand Down Expand Up @@ -659,6 +659,14 @@ criteria = "safe-to-deploy"
version = "0.17.14"
criteria = "safe-to-deploy"

[[exemptions.rmp]]
version = "0.8.15"
criteria = "safe-to-deploy"

[[exemptions.rmp-serde]]
version = "1.3.1"
criteria = "safe-to-deploy"

[[exemptions.rsa]]
version = "0.9.10"
criteria = "safe-to-deploy"
Expand Down
Loading