Cargo Features

Polyglot has no features set by default.

[dependencies]
polyglot = { version = "0.2.1", features = ["json_fmt", "msgpack_fmt", "toml_fmt", "yaml_fmt"] }
json_fmt = serde_json
msgpack_fmt = rmp-serde
toml_fmt = toml
yaml_fmt = serde_yaml

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-serde msgpack_fmt?

Enables rmp-serde ^0.14.3

File formats

serde_json json_fmt?
toml toml_fmt?

Enables toml ^0.5.6

serde_yaml yaml_fmt?

Enables serde_yaml ^0.8