Module framework

Module framework 

Source
Expand description

Tuffite Framework Distribution discovery, validation, and Cargo linking.

Structs§

Distribution
FileEntry
Manifest
Resolver
Resolves a local Framework Distribution and, by default, downloads a missing version-matched GitHub Release asset into the user cache.

Constants§

AUTO_DOWNLOAD_ENV
Enables or disables automatic download on a cache miss.
CACHE_ENV
Root of Tuffite’s versioned Framework cache.
DIR_ENV
Exact developer-managed Distribution; never downloaded into or replaced.
DOWNLOAD_DIR_ENV
Exact destination for an automatically downloaded Distribution.
ENV_VARS
Environment variables that affect Framework resolution in a Cargo build script.
FRAMEWORK_ENV
Framework checkout used to discover locally packaged native output.
MANIFEST_FILE
PROGRESS_ENV
Enables or disables transfer progress messages for automatic downloads.
RELEASE_TAG_ENV
REPOSITORY_ENV
TARGET_ENV
Explicit Framework Rust target triple.

Functions§

cache_root
host_target
progress_enabled
Returns whether Framework transfers should report progress according to the process environment. Progress is enabled when the variable is absent.
release_asset_name
resolve
Resolves the Framework using environment overrides and automatic download.