Cargo Features
serde_amqp has no features set by default.
[dependencies]
serde_amqp = { version = "0.5.9", 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.
optional = true
- serde_amqp_derive derive?
-
- serde_json json?
- chrono chrono-preview?
-
With default features
- uuid implicit feature
- time implicit feature