Skip to main content

Module dependency_closure

Module dependency_closure 

Source
Expand description

Bounded identities for a source file and its declared resource closure.

Core owns the immutable value contract and canonical digest. Format crates own rooted filesystem access and provide only safe logical keys and byte identities to DependencyClosureBuilderV1.

Structs§

DependencyClosureBuilderV1
Incremental constructor used by format loaders after raw declarations are projected.
DependencyClosureIdentityV1
Domain-separated identity of one complete canonical closure record.
DependencyClosureReferenceV1
One source-order declaration-to-content mapping.
DependencyClosureV1
Immutable V1 closure bound to one primary input.
DependencyClosureWorkV1
Bounded capture work, including the N+1 stop witness.
DependencyResourceKeyV1
Safe, normalized, source-relative dependency key.
ExternalResourceIdentityV1
One distinct external logical key and the exact bytes captured once.
ResourceClosureBudgetV1
Immutable numeric limits that define dependency-closure V1.

Enums§

DependencyClosureCoverageReasonV1
Why the closure as a whole is not complete.
DependencyClosureCoverageV1
Complete, partial, or unavailable closure coverage.
DependencyClosureError
Invalid closure construction or source-fact binding invariant.
DependencyReferenceTargetV1
One declaration’s closure mapping.
DependencyResourcePurposeV1
Format-neutral consumer purpose derived from a source resource kind.
DependencyResourceRefusalReasonV1
Why a source-controlled locator was refused without opening it.
DependencyResourceUnavailableReasonV1
Why a safe declaration could not be assigned a content identity.
ResourceKeySyntaxV1
Format-specific lexical interpretation for a retained relative locator.

Constants§

DEPENDENCY_CLOSURE_BUDGET_V1_ID
Semantic identity of the immutable dependency-closure V1 budget.
DEPENDENCY_CLOSURE_V1_ID
Semantic identity of the dependency-closure V1 value contract.
DEPENDENCY_CLOSURE_V1_MAX_DEDUP_PROBES
Maximum alias/deduplication probes, one per inspected declaration.
DEPENDENCY_CLOSURE_V1_MAX_EXTERNAL_RESOURCES
Maximum distinct external logical keys captured by one closure.
DEPENDENCY_CLOSURE_V1_MAX_KEY_BYTES
Maximum UTF-8 bytes in a source locator or normalized logical key.
DEPENDENCY_CLOSURE_V1_MAX_NORMALIZATION_BYTES
Maximum aggregate source-locator bytes inspected during normalization.
DEPENDENCY_CLOSURE_V1_MAX_PATH_COMPONENTS
Maximum path components in one logical resource key.
DEPENDENCY_CLOSURE_V1_MAX_REFERENCES
Maximum source-resource declarations inspected by one closure capture.
DEPENDENCY_CLOSURE_V1_MAX_RESOURCE_BYTES
Maximum bytes read and hashed for one external resource.
DEPENDENCY_CLOSURE_V1_MAX_TOTAL_RESOURCE_BYTES
Maximum aggregate distinct external bytes read and hashed.