Back to Eqiora docs Skip to main content

prepare_package_release_v1

Function prepare_package_release_v1 

pub fn prepare_package_release_v1(
    sources: AuthorPackageSourcesV1,
    dependencies: &[PackageReleaseV1],
) -> Result<PackageReleaseV1, PackagePreparationError>
Description

Derive one exact package release through the compiler-owned semantic path.

sources has already crossed the package crate’s bounded inventory and UTF-8 boundary. dependencies must contain exactly one release for every exact identity reachable from the author manifest. Their claimed semantic content is reconstructed from source, and no candidate root release is returned until every claim passes exact replay.

The returned value is the ordinary PackageReleaseV1 contract accepted by package stores and exact resolution. No author-supplied semantic payload enters this operation.

§Errors

Returns a typed source-contract, dependency-closure, compiler-diagnostic, or semantic-mismatch error. No partial release is returned.