Crates.io | web-static-pack-common |
lib.rs | web-static-pack-common |
version | |
source | src |
created_at | 2024-07-05 20:14:50.349828+00 |
updated_at | 2025-01-07 18:34:42.645666+00 |
description | Common types for web-static-pack and web-static-pack-packer crates. |
homepage | https://github.com/peku33/web-static-pack |
repository | https://github.com/peku33/web-static-pack |
max_upload_size | |
id | 1293194 |
Cargo.toml error: | TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
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.
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