Skip to content

Commit fd4acd3

Browse files
authored
feat: workflow support (#9)
* minor pub on step * implemented workflow support * add docs * Bump to 1.0.0-alpha.2 * improve: examples * doc: add missing link
1 parent 00aa602 commit fd4acd3

27 files changed

Lines changed: 648 additions & 83 deletions

.github/workflows/docs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Documentation
22

33
on:
44
push:
5-
branches: [ main ]
5+
branches: [main]
66
pull_request:
7-
branches: [ main ]
7+
branches: [main]
88

99
env:
1010
CARGO_TERM_COLOR: always
@@ -31,6 +31,6 @@ jobs:
3131

3232
- name: Build documentation
3333
run: |
34-
cargo doc --all-features --no-deps --document-private-items
34+
cargo doc --features=migrate,tokio-comp,json --no-deps --document-private-items
3535
env:
3636
RUSTDOCFLAGS: "--cfg docsrs -Dwarnings"

.sqlx/query-1356c17313c5f3491e384d1667106a42fe6918792ae9bea8848a6ec1a3895a76.json

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

.sqlx/query-1cd760004a2341bbded38a4fa431eaa74232f6f6f3121c7086a0b138195e9b0d.json

Lines changed: 7 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.sqlx/query-40a420986a37c9db2fc35b161092d6063f186242ca1808cfae9d6477c7d8687b.json

Lines changed: 7 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.sqlx/query-61843a18bffdee192cd01f1537f0f03d75403970fc8347d0f017f04d746b2b98.json

Lines changed: 7 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.sqlx/query-a43052e877930a522d6a63789935653f4fe06d10361c555f8ade4b65589520bc.json

Lines changed: 7 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.sqlx/query-4ead10dafe0d2d024654403f289c4db57308e5cf88f44efaf23b05c585626465.json renamed to .sqlx/query-ae9b77d1f5b3f5125a37cdc29f6489b5f84003af0154b50166aaa6472863cd2d.json

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

.sqlx/query-d7aefe54cd7388c208fff5b946390f217b575f0ca464a5faddd0fe2d51793983.json

Lines changed: 7 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
## [Unreleased]
9+
10+
11+
### Added
12+
13+
- Workflow support
14+
15+
### Changed
16+
17+
- Moved from monorepo

Cargo.toml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "apalis-sqlite"
3-
version = "1.0.0-alpha.1"
3+
version = "1.0.0-alpha.2"
44
authors = ["Njuguna Mureithi <mureithinjuguna@gmail.com>"]
55
readme = "README.md"
66
edition = "2024"
@@ -29,7 +29,8 @@ serde_json = { version = "1" }
2929
apalis-core = { version = "1.0.0-alpha.4", default-features = false, features = [
3030
"sleep",
3131
"json",
32-
] }
32+
], git = "https://github.com/geofmureithi/apalis.git", branch = "chore/traits-expansion" }
33+
apalis-workflow = { version = "0.1.0-alpha.3", git = "https://github.com/geofmureithi/apalis.git", branch = "chore/traits-expansion" }
3334
log = "0.4.21"
3435
futures = "0.3.30"
3536
tokio = { version = "1", features = ["rt", "net"], optional = true }
@@ -45,10 +46,13 @@ bytes = "1.1.0"
4546

4647
[dev-dependencies]
4748
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
48-
apalis-core = { version = "1.0.0-alpha.4", features = ["test-utils"] }
49+
apalis-core = { version = "1.0.0-alpha.4", features = [
50+
"test-utils",
51+
], git = "https://github.com/geofmureithi/apalis.git", branch = "chore/traits-expansion" }
52+
apalis-workflow = { version = "0.1.0-alpha.2", git = "https://github.com/geofmureithi/apalis.git", branch = "chore/traits-expansion" }
4953
apalis-sqlite = { path = ".", features = ["migrate", "tokio-comp"] }
5054

5155
[package.metadata.docs.rs]
5256
# defines the configuration attribute `docsrs`
5357
rustdoc-args = ["--cfg", "docsrs"]
54-
all-features = true
58+
features = ["migrate", "tokio-comp", "json"]

0 commit comments

Comments
 (0)