Cargo Features

Transit has no features set by default.

[dependencies]
transit = { version = "0.3.0", features = ["msgpack_serialization", "json_serialization"] }
msgpack_serialization = rmp, rmp-serde
json_serialization = serde_json

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.

rmp msgpack_serialization?
rmp-serde msgpack_serialization?
serde_json json_serialization?