5 releases

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

#2577 in Parser implementations

Download history 4/week @ 2025-05-17

254 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–13MB
~172K SLoC