Cargo Features

singlefile-formats has no features set by default.

[dependencies]
singlefile-formats = { version = "0.2.2", features = ["cbor-serde", "json-serde", "toml-serde", "bzip", "flate", "xz"] }
cbor-serde

formats

Enables ciborium and serde

Affects singlefile-formats::cbor_serde

json-serde

Enables serde and serde_json

Affects singlefile-formats::json_serde

toml-serde

Enables serde and toml

Affects singlefile-formats::toml_serde

bzip

compression

Enables bzip2

Affects singlefile-formats::bzip

flate

Enables flate2

Affects singlefile-formats::flate

xz

Enables xz2

Affects singlefile-formats::xz