Expand description
§nwnrs-nwpkg
nwnrs-nwpkg defines the typed nwproject.toml and nwproject.lock behavior
used by the workspace packaging tools.
It owns:
- the supported
nwprojectkind taxonomy - serde-backed TOML manifest read/write behavior
- JSON lockfile read/write behavior
- repack optimization helpers such as source snapshots and original-file reuse
The crate depends on nwnrs-types for NWN-specific archive/resource vocabulary
such as ResRef, ERF versions, KEY/BIF versions, checksum helpers, and
compression algorithms.
Structs§
- ErfPack
Metadata - KeyPack
Metadata - Project
Manifest - Typed
nwproject.tomlcontents. - Resource
Pack Metadata
Enums§
- Project
Kind - Supported
nwprojectoutput kinds. - Project
Layout - High-level packaging layout implied by one project kind.
Constants§
- PROJECT_
LOCK_ FILENAME - Canonical
nwproject.lockfilename. - PROJECT_
MANIFEST_ FILENAME - Canonical
nwproject.tomlfilename.
Functions§
- copy_
original_ key_ set - is_
project_ control_ file - read_
erf_ pack_ metadata - read_
key_ pack_ metadata - read_
project_ manifest - read_
resource_ pack_ metadata - resolve_
existing_ key_ bif_ path - should_
copy_ original_ erf - should_
copy_ original_ key - should_
copy_ original_ resource - write_
erf_ pack_ metadata - write_
key_ pack_ metadata - write_
new_ erf_ pack_ metadata - write_
new_ key_ pack_ metadata - write_
new_ resource_ pack_ metadata - write_
project_ manifest - write_
resource_ pack_ metadata