Crate silpkg

Source
Expand description

silpkg is a library for interacting with SIL PKG files

§Features

This library separates parsing/modification logic from IO by using coroutines and aims to support many ways of interfacing with the base logic module. Currently only a synchronous interface is implemented in sync.

  • Sync
    • reading PKG files
    • reading uncompressed entries
    • adding uncompressed entries
    • reading deflate compressed entries
    • adding deflate compressed entries
    • creating new PKG files
  • Slice
  • Async

§Quick start

To open an existing archive use Pkg::parse. To create a new archive use Pkg::create. For information on how to interact with archives look around in Pkg.

Re-exports§

Modules§

  • Defines all the errors used by this library.
  • syncstd
    A synchronous interface for reading and writing PKG archives.

Structs§

  • When compressing data, the compression level can be specified by a value in this struct.
  • Flags that change the way entries are written.

Enums§