Skip to content

Commit e7bf2cc

Browse files
authored
chore: bump to v1.0.0-rc.2 (#34)
* chore: bump to v1.0.0-rc.2 * chore: update deps and exemptions
1 parent 8f58c22 commit e7bf2cc

7 files changed

Lines changed: 69 additions & 10 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
branches: [main, develop]
66
pull_request:
7+
workflow_call:
78

89
env:
910
CARGO_TERM_COLOR: always

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [1.0.0-rc.2] - 2026-01-10
11+
12+
- bump: to v1.0.0-rc.2 (#34)
13+
1014
### Changed
1115

1216
- feat: use DateTime abstraction from apalis-sql

Cargo.lock

Lines changed: 27 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ ulid = { version = "1", features = ["serde"] }
4444
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
4545
apalis = { version = "1.0.0-rc.2" }
4646
apalis-workflow = { version = "0.1.0-rc.2" }
47+
apalis-codec = { version = "0.1.0-rc.2", features = ["msgpack"]}
4748
futures-util = "0.3.31"
4849
chrono = "0.4"
4950

examples/codec.rs

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
use apalis::prelude::*;
2+
use apalis_codec::msgpack::MsgPackCodec;
3+
use apalis_sqlite::SqliteStorage;
4+
use sqlx::SqlitePool;
5+
6+
#[tokio::main]
7+
async fn main() {
8+
let pool = SqlitePool::connect(":memory:").await.unwrap();
9+
SqliteStorage::setup(&pool).await.unwrap();
10+
let mut backend = SqliteStorage::new(&pool).with_codec::<MsgPackCodec>();
11+
backend.push(42).await.unwrap();
12+
13+
async fn task(task: u32, worker: WorkerContext) -> Result<(), BoxDynError> {
14+
apalis_core::timer::sleep(std::time::Duration::from_secs(1)).await;
15+
assert_eq!(task, 42);
16+
worker.stop()?;
17+
Ok(())
18+
}
19+
let worker = WorkerBuilder::new("rango-tango")
20+
.backend(backend)
21+
.build(task);
22+
worker.run().await.unwrap();
23+
}

examples/dag.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
use apalis::prelude::*;
2+
use apalis_codec::msgpack::MsgPackCodec;
23
use apalis_sqlite::SqliteStorage;
34
use apalis_workflow::*;
45
use sqlx::SqlitePool;
@@ -28,7 +29,7 @@ async fn collector(
2829
async fn main() {
2930
let pool = SqlitePool::connect(":memory:").await.unwrap();
3031
SqliteStorage::setup(&pool).await.unwrap();
31-
let mut backend = SqliteStorage::new(&pool);
32+
let mut backend = SqliteStorage::new(&pool).with_codec::<MsgPackCodec>();
3233
backend.push_start(vec![42, 43, 44]).await.unwrap();
3334

3435
let dag_flow = DagFlow::new("user-etl-workflow");

supply-chain/config.toml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ version = "1.11.0"
128128
criteria = "safe-to-deploy"
129129

130130
[[exemptions.cc]]
131-
version = "1.2.51"
131+
version = "1.2.52"
132132
criteria = "safe-to-deploy"
133133

134134
[[exemptions.cfg-if]]
@@ -236,7 +236,7 @@ version = "2.3.0"
236236
criteria = "safe-to-deploy"
237237

238238
[[exemptions.find-msvc-tools]]
239-
version = "0.1.6"
239+
version = "0.1.7"
240240
criteria = "safe-to-deploy"
241241

242242
[[exemptions.fixedbitset]]
@@ -444,7 +444,7 @@ version = "1.5.0"
444444
criteria = "safe-to-deploy"
445445

446446
[[exemptions.libc]]
447-
version = "0.2.179"
447+
version = "0.2.180"
448448
criteria = "safe-to-deploy"
449449

450450
[[exemptions.libm]]
@@ -659,6 +659,14 @@ criteria = "safe-to-deploy"
659659
version = "0.17.14"
660660
criteria = "safe-to-deploy"
661661

662+
[[exemptions.rmp]]
663+
version = "0.8.15"
664+
criteria = "safe-to-deploy"
665+
666+
[[exemptions.rmp-serde]]
667+
version = "1.3.1"
668+
criteria = "safe-to-deploy"
669+
662670
[[exemptions.rsa]]
663671
version = "0.9.10"
664672
criteria = "safe-to-deploy"

0 commit comments

Comments
 (0)