Expand description
This library provides a number of default FileFormat
implementations
for use within singlefile
.
§Features
By default, no features are enabled.
bincode
: Enables theBincode
file format.bincode-serde
: Enables theBincodeSerde
file format for use withserde
types.cbor-serde
: Enables theCbor
file format for use withserde
types.json-serde
: Enables theJson
file format for use withserde
types.toml-serde
: Enables theToml
file format for use withserde
types.bzip
: Enables theBZip2
compression format. SeeCompressionFormat
for more info.bzip-rust
: Enables thelibbz2-rs-sys
feature forbzip2
.flate
: Enables theDeflate
,Gz
, andZLib
compression formats. SeeCompressionFormat
for more info.xz
: Enables theXz
compression format. SeeCompressionFormat
for more info.
Re-exports§
pub extern crate singlefile;
Modules§
- compression
compression
- Defines a compression format interface, and a
FileFormat
which 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.