Cargo Features

serde_amqp has no features set by default.

[dependencies]
serde_amqp = { version = "0.10.0", features = ["derive", "extensions", "json", "chrono-preview", "uuid", "time"] }
derive = serde_amqp_derive

Affects serde_amqp::macros

extensions

Affects serde_amqp::extensions

json = serde_json

Provide conversion from json::Value to amqp::Value and the value will use deserialize any instead of deserialize enum which has some hacky impl for amqp

chrono-preview = chrono

A temporary feature flag that removes use of deprecated API from chorono until next breaking release

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

serde_amqp_derive derive?

Enables serde_amqp_derive

derive

serde_json json?

Enables serde_json

Optinal dependencies

chrono chrono-preview?
uuid implicit feature

Enables uuid

uuid:

A library to generate and parse UUIDs

time implicit feature