Expand description
This library provides a number of default FileFormat implementations
for use within singlefile.
§Features
By default, no features are enabled.
cbor-serde: Enables theCborfile format for use withserdetypes.json-serde: Enables theJsonfile format for use withserdetypes.toml-serde: Enables theTomlfile format for use withserdetypes.bzip: Enables theBZip2compression format. SeeCompressionFormatfor more info.flate: Enables theDeflate,Gz, andZLibcompression formats. SeeCompressionFormatfor more info.xz: Enables theXzcompression format. SeeCompressionFormatfor more info.
Re-exports§
pub extern crate singlefile;
Modules§
- bzip
bzip - Defines a
CompressionFormatfor the bzip compression algorithm. - cbor_
serde cbor-serde - Defines a
FileFormatusing the CBOR binary data format. - flate
flate - Defines
CompressionFormats for the DEFLATE, gzip and zlib compression algorithms. - json_
serde json-serde - Defines a
FileFormatusing the JSON data format. - toml_
serde toml-serde - Defines a
FileFormatusing the TOML data format. - xz
xz - Defines a
CompressionFormatfor the LZMA/XZ compression algorithm.
Structs§
- Compressed
- Combines a
FileFormatand aCompressionFormat, making the contents emitted by the format compressed before writing to disk, and decompressed before parsing.
Traits§
- Compression
Format - Defines a format for lossless compression of arbitrary data.
- Compression
Format Levels - Defines compression level presets for a
CompressionFormat.