Skip to main content

Crate eggpack_core

Crate eggpack_core 

Source
Expand description

Producer-side release planning and finalized artifact evidence.

Re-exports§

pub use digest::*;

Modules§

digest
The single producer-side file-digest authority.

Structs§

BoundCommand
Exact source command associated with a logical output.
BuildAttempt
Result of a single bounded build attempt.
BuildBinding
A Cargo package and binary target explicitly bound to a logical contract slot.
BuildBindingsV1
Strict producer-side BuildBindings schema version 1.
BuildCancellation
Cloneable caller cancellation flag for bounded builder work.
BuildError
Failure from producer build planning or execution.
CandidateArtifact
Candidate bytes produced for a declared logical output.
CandidateSmokeBinding
One fixed-argument smoke invocation for an exact logical candidate.
CommandSpec
Explicit shell-free process command. Executable and argv are separate OS arguments.
CoreError
Manifest construction failure. Paths and file contents are intentionally omitted.
FinalizationRequest
Identity and target evidence aggregated into one local release.
FinalizationTargetInput
One target’s exact build and qualification evidence to finalize.
FinalizedRelease
Completed local output root and manifest, returned only after complete validation.
FinalizedReleaseInput
Caller-supplied identity and finalized file inventory for one release.
FinalizedTargetInput
Explicit mapping of one target’s expanded contract filenames to local finalized files.
HostRequirement
Provider-neutral OS/architecture capability required of a host.
InterpreterCommandSpec
Explicit shell-free interpreter command for a bounded consumer-validator run.
PackConfig
Strict PackConfig v1 document.
PlannedTarget
One selected target’s canonical policy and contract-derived artifact form.
ProcessEvidence
Bounded process evidence with no environment dump.
QualificationBindingsV1
Strict producer-side qualification bindings schema version 1.
QualificationError
Qualification binding validation or execution setup error.
QualificationEvidence
Complete bounded evidence for one release target qualification attempt.
QualificationProcessEvidence
One bounded process result without output contents or environment values.
QualificationRequest
All explicit producer-side inputs required to qualify one planned target.
QualificationRuntime
Bounded QEMU runtime input. The executable and flags are fixed by the target mapping.
QualifiedCandidateEvidence
Exact candidate byte and structural identity observed for qualification.
ReleasePlan
Canonically ordered pure release planning result.
TargetPolicy
One target policy in PackConfig v1.
TargetQualificationBinding
Qualification settings for one canonical planned target.
ToolchainRequirement
Explicit compiler/toolchain requirements; no version is inferred from the host.

Enums§

ArchiveEncoding
Explicit archive encoding accepted by the local finalizer.
BuildStrategy
Explicit finite build strategy. Planning never executes either strategy.
CandidateArchitecture
Supported executable CPU architectures.
CandidateFormat
Supported executable file formats checked structurally.
CommandOutcome
Command exit classification.
CompatibilityFloor
Explicit compatibility floor for produced binaries.
ExactTagSafetyError
Why an exact release tag was refused for safety reasons.
FloorApplicabilityError
Why a declared compatibility floor does not apply to a target.
FloorUnverifiedReason
Why a declared compatibility floor could not be independently verified.
FloorVerificationStatus
The verification status of a declared compatibility floor.
HostArch
Host CPU architecture family.
HostOs
Host operating system family.
LogicalOutputSelector
Contract logical location for one Cargo-produced executable.
PlannedAssetForm
Contract-derived release artifact form.
Qualification
Qualification classification stored as intent, not proof.
QualificationFailure
Bounded reason for failed qualification.
QualificationMethod
Actual qualification method, distinct from requested policy.
QualificationStatus
Typed qualification outcome; a built candidate can never imply Passed by itself.
Sha256Error
Why a SHA-256 hex digest string was refused.
SupportTier
Support and release gating tier.

Functions§

build_manifest
Build and hash a complete schema-v1 manifest from explicitly supplied files.
cargo_command
Construct the only supported Cargo command for a planned logical output.
discover_candidate
Resolve and validate exactly the Cargo release output path.
execute_target
Execute one target using explicit bindings, private target storage, and exact output discovery.
execute_target_cancellable
Execute a target with explicit caller cancellation and bounded cleanup.
finalize_release
Finalize candidate bytes under an initially absent, caller-selected private directory.
floor_status_admissible
Whether a floor verification status is admissible for a declared floor and build strategy.
host_matches_target
Whether a host requirement matches a canonical target triple.
planned_floor_status
The floor verification status a plan states for its declared floor.
private_target_dir
Establish a caller-owned absolute work root and a unique target directory.
qualify_target
Execute M003 qualification using actual local host facts.
run_bounded_cancellable
Run a process with a deadline and caller cancellation, cleaning up its process group.
run_git_bounded
Run a bounded git process group that must echo exactly expected on stdout.
run_git_tag_bounded
Verify an exact local tag peels to the expected commit using bounded git.
run_interpreter_bounded
Run a bounded consumer-validator interpreter process group.
validate_exact_tag_safety
Whether an exact release tag is safe to handle.
validate_floor_applicability
Whether the declared compatibility floor applies to a target triple and a build strategy.
validate_policy
Validate one target policy against its canonical target triple.
validate_sha256_hex
Validate one SHA-256 hex digest against the canonical acceptance set.