diff --git a/.github/workflows/cd.yaml b/.github/workflows/cd.yaml index f4b3043e..9831dd02 100644 --- a/.github/workflows/cd.yaml +++ b/.github/workflows/cd.yaml @@ -1,6 +1,6 @@ on: push: - tags: ['v*'] + tags: ["v*"] name: Continuous delivery permissions: @@ -42,16 +42,26 @@ jobs: with: command: publish args: ${{ env.PUBLISH_OPTS }} -p apalis-core - - name: publish apalis-workflow + - name: publish apalis-sql uses: actions-rs/cargo@v1 with: command: publish - args: ${{ env.PUBLISH_OPTS }} -p apalis-workflow - - name: publish apalis-sql + args: ${{ env.PUBLISH_OPTS }} -p apalis-sql + - name: publish apalis-codec uses: actions-rs/cargo@v1 with: command: publish - args: ${{ env.PUBLISH_OPTS }} -p apalis-sql + args: ${{ env.PUBLISH_OPTS }} -p apalis-codec + - name: publish apalis-file-storage + uses: actions-rs/cargo@v1 + with: + command: publish + args: ${{ env.PUBLISH_OPTS }} -p apalis-file-storage + - name: publish apalis-workflow + uses: actions-rs/cargo@v1 + with: + command: publish + args: ${{ env.PUBLISH_OPTS }} -p apalis-workflow - name: publish apalis uses: actions-rs/cargo@v1 with: diff --git a/CHANGELOG.md b/CHANGELOG.md index 4b7b3ae1..35334855 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ All notable changes to this project are documented in this file. ## [Unreleased] +- **chore**: chore: prep codec and filestorage crates ([#653](https://github.com/geofmureithi/apalis/pull/653)) - **chore**: bump: introducing rc.1 ([#646](https://github.com/geofmureithi/apalis/pull/646)) - **chore**: feat: refactor and granulize traits ([#586](https://github.com/geofmureithi/apalis/pull/586)) - **refactor**: refactor: crates, workflow and BackendExt ([#623](https://github.com/geofmureithi/apalis/pull/623)) diff --git a/Cargo.lock b/Cargo.lock index bd474341..735c8f71 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1683,12 +1683,6 @@ dependencies = [ "windows-link", ] -[[package]] -name = "paste" -version = "1.0.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a" - [[package]] name = "percent-encoding" version = "2.3.2" @@ -2016,22 +2010,19 @@ dependencies = [ [[package]] name = "rmp" -version = "0.8.14" +version = "0.8.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "228ed7c16fa39782c3b3468e974aec2795e9089153cd08ee2e9aefb3613334c4" +checksum = "4ba8be72d372b2c9b35542551678538b562e7cf86c3315773cae48dfbfe7790c" dependencies = [ - "byteorder", "num-traits", - "paste", ] [[package]] name = "rmp-serde" -version = "1.3.0" +version = "1.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "52e599a477cf9840e92f2cde9a7189e67b42c57532749bf90aea6ec10facd4db" +checksum = "72f81bee8c8ef9b577d1681a70ebbc962c232461e397b22c208c43c04b67a155" dependencies = [ - "byteorder", "rmp", "serde", ] @@ -2378,15 +2369,15 @@ dependencies = [ [[package]] name = "serde_json" -version = "1.0.146" +version = "1.0.147" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "217ca874ae0207aac254aa02c957ded05585a90892cc8d87f9e5fa49669dadd8" +checksum = "6af14725505314343e673e9ecb7cd7e8a36aa9791eb936235a3567cc31447ae4" dependencies = [ "itoa", "memchr", - "ryu", "serde", "serde_core", + "zmij", ] [[package]] @@ -2528,9 +2519,9 @@ dependencies = [ [[package]] name = "tempfile" -version = "3.23.0" +version = "3.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2d31c77bdf42a745371d260a26ca7163f1e0924b64afa0b688e61b5a9fa02f16" +checksum = "655da9c7eb6305c55742045d5a8d2037996d61d8de95806335c7c86ce0f82e9c" dependencies = [ "fastrand", "getrandom 0.3.4", @@ -3461,3 +3452,9 @@ dependencies = [ "quote", "syn", ] + +[[package]] +name = "zmij" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9e404bcd8afdaf006e529269d3e85a743f9480c3cef60034d77860d02964f3ba" diff --git a/supply-chain/config.toml b/supply-chain/config.toml index fd8b3d64..6ef357c7 100644 --- a/supply-chain/config.toml +++ b/supply-chain/config.toml @@ -632,10 +632,6 @@ criteria = "safe-to-deploy" version = "0.9.12" criteria = "safe-to-deploy" -[[exemptions.paste]] -version = "1.0.15" -criteria = "safe-to-deploy" - [[exemptions.percent-encoding]] version = "2.3.2" criteria = "safe-to-deploy" @@ -753,11 +749,11 @@ version = "0.17.14" criteria = "safe-to-deploy" [[exemptions.rmp]] -version = "0.8.14" +version = "0.8.15" criteria = "safe-to-deploy" [[exemptions.rmp-serde]] -version = "1.3.0" +version = "1.3.1" criteria = "safe-to-deploy" [[exemptions.rustc-demangle]] @@ -877,7 +873,7 @@ version = "1.0.228" criteria = "safe-to-deploy" [[exemptions.serde_json]] -version = "1.0.146" +version = "1.0.147" criteria = "safe-to-deploy" [[exemptions.serde_urlencoded]] @@ -941,7 +937,7 @@ version = "0.13.2" criteria = "safe-to-deploy" [[exemptions.tempfile]] -version = "3.23.0" +version = "3.24.0" criteria = "safe-to-deploy" [[exemptions.termcolor]] @@ -1319,3 +1315,7 @@ criteria = "safe-to-deploy" [[exemptions.zerovec-derive]] version = "0.11.2" criteria = "safe-to-deploy" + +[[exemptions.zmij]] +version = "0.1.7" +criteria = "safe-to-deploy" diff --git a/utils/apalis-codec/Cargo.toml b/utils/apalis-codec/Cargo.toml index 867ed7dc..0fdc3a7c 100644 --- a/utils/apalis-codec/Cargo.toml +++ b/utils/apalis-codec/Cargo.toml @@ -4,12 +4,22 @@ version = "0.1.0-rc.1" rust-version.workspace = true edition.workspace = true repository.workspace = true +license = "MIT OR Apache-2.0" +description = "Codec utilities for using various serialization formats in apalis" +authors = ["Njuguna Mureithi "] +homepage = "https://github.com/apalis-dev/apalis" +documentation = "https://docs.rs/apalis-codec" +readme = "README.md" +keywords = ["apalis", "codec", "job", "serde", "rust"] +categories = ["encoding", "parsing", "serialization", "concurrency"] [features] default = ["json"] ## Enable serde_json support json = ["apalis-core/serde", "dep:serde", "dep:serde_json"] +## Enable bincode support bincode = ["dep:bincode", "dep:thiserror"] +## Enable MessagePack support msgpack = ["dep:rmp-serde", "dep:serde", "apalis-core/serde", "dep:thiserror"] [dependencies] @@ -17,7 +27,7 @@ apalis-core = { path = "../../apalis-core", version = "1.0.0-rc.1", default-feat serde = { version = "1.0", features = ["derive"], optional = true } serde_json = { version = "1", optional = true } bincode = { version = "2.0.1", optional = true } -rmp-serde = { version = "1.3.0", optional = true } +rmp-serde = { version = "1.3.1", optional = true } thiserror = { version = "2.0.0", optional = true } [lints] diff --git a/utils/apalis-file-storage/Cargo.toml b/utils/apalis-file-storage/Cargo.toml index cd5b0818..f8e4062b 100644 --- a/utils/apalis-file-storage/Cargo.toml +++ b/utils/apalis-file-storage/Cargo.toml @@ -8,6 +8,11 @@ authors = ["Njuguna Mureithi "] license = "MIT" description = "A test-friendly single process file-based storage backend for apalis" publish = true +documentation = "https://docs.rs/apalis-file-storage" +homepage = "https://github.com/apalis-dev/apalis" +readme = "README.md" +keywords = ["apalis", "file", "storage", "backend", "rust"] +categories = ["database", "filesystem", "asynchronous", "data-structures"] [lib]