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.

  • cbor-serde: Enables the [Cbor][crate::cbor_serde::Cbor] file format for use with serde types.
  • json-serde: Enables the [Json][crate::json_serde::Json] file format for use with serde types.
  • toml-serde: Enables the [Toml][crate::toml_serde::Toml] file format for use with serde types.
  • 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§

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 [FileFormat]s.