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.

  • bincode: Enables the Bincode file format.
  • bincode-serde: Enables the BincodeSerde file format for use with serde types.
  • cbor-serde: Enables the Cbor file format for use with serde types.
  • json-serde: Enables the Json file format for use with serde types.
  • toml-serde: Enables the Toml file format for use with serde types.
  • bzip: Enables the BZip2 compression format. See CompressionFormat for more info.
  • bzip-rust: Enables the libbz2-rs-sys feature for bzip2.
  • flate: Enables the Deflate, Gz, and ZLib compression formats. See CompressionFormat for more info.
  • xz: Enables the Xz compression format. See CompressionFormat for more info.

Re-exports§

pub extern crate singlefile;

Modules§

compressioncompression
Defines a compression format interface, and a FileFormat which wraps another FileFormat, is generic over compression formats, and compresses the contents of the wrapped format.
data
Provides a number of data formats as FileFormats.