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 the [Cbor][crate::cbor_serde::Cbor] file format for use withserdetypes.json-serde: Enables the [Json][crate::json_serde::Json] file format for use withserdetypes.toml-serde: Enables the [Toml][crate::toml_serde::Toml] file format for use withserdetypes.bzip: Enables the [BZip2][crate::bzip::BZip2] compression format. See [CompressionFormat] for more info.flate: Enables the [Deflate][crate::flate::Deflate], [Gz][crate::flate::Gz], and [ZLib][crate::flate::ZLib] compression formats. See [CompressionFormat] for more info.xz: Enables the [Xz][crate::xz::Xz] compression format. See [CompressionFormat] for more info.
Re-exports§
pub extern crate singlefile;
Modules§
- compression
compression - Defines a compression format interface, and a
FileFormatwhich wraps anotherFileFormat, is generic over compression formats, and compresses the contents of the wrapped format. - data
- Provides a number of data formats as [
FileFormat]s.