Cargo Features

babelfish = { version = "0.2.1", default-features = false, features = ["cbor", "json", "toml", "yaml"] }
default = cbor, json, toml, yaml

These default features are set whenever babelfish is added without default-features = false somewhere in the dependency tree.

cbor default = serde_cbor

Required by cbor2json, cbor2toml, cbor2yaml, json2cbor, toml2cbor and yaml2cbor binaries

json default = serde_json

Required by cbor2json, json2cbor, json2toml, json2yaml, toml2json and yaml2json binaries

toml default = serde_toml

Required by cbor2toml, json2toml, toml2cbor, toml2json, toml2yaml and yaml2toml binaries

yaml default = serde_yaml

Required by cbor2yaml, json2yaml, toml2yaml, yaml2cbor, yaml2json and yaml2toml binaries

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

serde_cbor cbor
serde_json json
serde_toml toml

Enables toml ^0.5

serde_yaml yaml

Enables serde_yaml ^0.8