Crate singlefile_formats

Source
Expand description

This library provides a number of default FileFormat implementations for use within singlefile.

§Features

By default, no features are enabled.

Re-exports§

pub extern crate singlefile;

Modules§

bzipbzip
Defines a CompressionFormat for the bzip compression algorithm.
cbor_serdecbor-serde
Defines a FileFormat using the CBOR binary data format.
flateflate
Defines CompressionFormats for the DEFLATE, gzip and zlib compression algorithms.
json_serdejson-serde
Defines a FileFormat using the JSON data format.
toml_serdetoml-serde
Defines a FileFormat using the TOML data format.
xzxz
Defines a CompressionFormat for the LZMA/XZ compression algorithm.

Structs§

Compressed
Combines a FileFormat and a CompressionFormat, making the contents emitted by the format compressed before writing to disk, and decompressed before parsing.

Traits§

CompressionFormat
Defines a format for lossless compression of arbitrary data.
CompressionFormatLevels
Defines compression level presets for a CompressionFormat.