Module rocket_contrib::msgpack

source ·
Expand description

Automatic MessagePack (de)serialization support.

See the MsgPack type for further details.


This module is only available when the msgpack feature is enabled. Enable it in Cargo.toml as follows:

version = "0.4.11"
default-features = false
features = ["msgpack"]


  • The MsgPack type: implements FromData and Responder, allowing you to easily consume and respond with MessagePack data.


  • Enum representing errors that can occur while decoding MessagePack data.