#format #singlefile #singlefile-formats

singlefile-formats

Default file format implementations for singlefile

5 releases

new 0.3.1 May 1, 2025
0.3.0 Apr 28, 2025
0.2.2 Sep 11, 2024
0.2.1 Jan 10, 2024
0.2.0 Dec 5, 2023

#475 in Compression

Download history 4/week @ 2025-02-01 2/week @ 2025-02-08 1/week @ 2025-02-15 186/week @ 2025-04-26

186 downloads per month

MIT/Apache

115KB
2K SLoC

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.

SingleFile Formats

Crate Documentation

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 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.
  • flate: Enables the Deflate, Gz, and ZLib compression formats.
  • xz: Enables the Xz compression format.

Dependencies

~2–12MB
~158K SLoC