web-static-pack-common

Crates.ioweb-static-pack-common
lib.rsweb-static-pack-common
version0.5.0-beta.2
sourcesrc
created_at2024-07-05 20:14:50.349828
updated_at2024-07-06 17:10:59.401852
descriptionCommon types for web-static-pack and web-static-pack-packer crates.
homepagehttps://github.com/peku33/web-static-pack
repositoryhttps://github.com/peku33/web-static-pack
max_upload_size
id1293194
size8,742
Paweł Kubrak (peku33)

documentation

README

web-static-pack-common

Common crate, containing types shared between web-static-pack and web-static-pack-packer.

For a project documentation, examples, etc. see web-static-pack.

The root type of this crate is [pack::Pack]. It's a collection (a hashmap) of files [file::File] distinguished by [pack_path::PackPath] (a custom type for path including some sanity checks).

web-static-pack uses [rkyv] for serialization. Each module provides a rust native type, used during pack building, ex. [pack::Pack] and [rkyv] macro-generated zero-copy loadable (aka. mmapable) representation, eg. [pack::PackArchived], used by loader.

Note

There are also things called Resolver (eg. [pack::PackResolver]), that are needed internally by [rkyv], but are not used directly in this project. They should be hidden from docs.

License: MIT

Commit count: 33

cargo fmt