Skip to main content

Crate kcode_k1_rust_bootstrap_archive

Crate kcode_k1_rust_bootstrap_archive 

Source
Expand description

§Loom Rust bootstrap archive

This package owns the deliberately simple, file-only ZIP used for the one-time Loom Rust migration. write and read accept only package directories with this exact shape:

packages/<logical-name>/Cargo.toml
packages/<logical-name>/Documentation.md
packages/<logical-name>/src/lib.rs

There is no manifest, format version, root declaration, package inventory, dependency inventory, completion flag, validation result, failure record, rewrite record, digest, or hash. Package identity and dependency meaning remain in the archived Cargo.toml bytes.

write rejects duplicate or invalid logical directories and writes only the three source files. read rejects directory entries, duplicate entries, invalid package directories, missing files, extra files, and non-UTF-8 source. It returns the exact three UTF-8 files grouped by ZIP directory. An empty archive is structurally readable so that the importer can report the semantic failure in its own log.

The ZIP is trusted same-machine migration input. The package performs no Cargo parsing or execution, dependency resolution, authority assignment, publication, logging, retry, deployment, hashing, or completeness assertion.

Structs§

Archive
Package

Functions§

read
write