Cargo Features

[dependencies]
apalis-codec = { version = "0.1.0-rc.4", default-features = false, features = ["json", "bincode", "msgpack"] }
default = json

The json feature is set by default whenever apalis-codec is added without default-features = false somewhere in the dependency tree.

json default

Enable serde_json support

Enables serde and serde_json, serde of apalis-core

Affects apalis-codec::json

bincode

Enable bincode support

Enables bincode ^2.0.1 and thiserror

Affects apalis-codec::bincode

msgpack

Enable MessagePack support

Enables rmp-serde, serde, and thiserror, serde of apalis-core

Affects apalis-codec::msgpack