#apalis

apalis-codec

Codec utilities for using various serialization formats in apalis

4 releases

Uses new Rust 2024

new 0.1.0-rc.4 Feb 10, 2026
0.1.0-rc.3 Jan 30, 2026
0.1.0-rc.2 Jan 7, 2026
0.1.0-rc.1 Dec 24, 2025

#1617 in Encoding

Download history 499/week @ 2025-12-23 229/week @ 2025-12-30 649/week @ 2026-01-06 609/week @ 2026-01-13 774/week @ 2026-01-20 1397/week @ 2026-01-27 1575/week @ 2026-02-03

4,490 downloads per month
Used in 8 crates (6 directly)

MIT/Apache

380KB
7K SLoC

Utility codecs for apalis

Supports different encoding and decoding strategies for task arguments and results.


apalis-codec

A codec utility crate for apalis backends

Overview

apalis-codec provides serialization and deserialization utilities for encoding and decoding job payloads in apalis. It handles the conversion of task data to and from various formats for reliable storage and transmission.

Features

  • Multiple codec support (JSON, MessagePack, etc.)
  • Type-safe serialization
  • Error handling for codec operations
  • Integration with all apalis backends with codec support via BackendExt

Usage

Add this to your Cargo.toml:

[dependencies]
apalis-codec = { version = "0.1", features = ["msgpack"] }

License

Licensed under the same terms as the apalis project.

Dependencies

~0.8–1.7MB
~33K SLoC