Skip to main content

Module update

Module update 

Source
Expand description

Optional self-update check against a ProGet Universal Package feed.

All functions are no-ops (return None / Ok(())) when the PROGET_BASE_URL env var is unset or the request fails, so the caller never needs to handle update-check failures as hard errors.

Constants§

PKG_VERSION
The version of this build. At runtime, prefers TSAFE_CLI_VERSION (set by the CLI binary before launching the TUI) so the UI always shows the installed binary version rather than the tsafe-core crate version.

Functions§

check_for_update
Query ProGet for the latest Universal Package version (white-label; configure feed/package via env).
display_version
Resolve the effective binary version for display: CLI version if injected, otherwise the compiled-in tsafe-core version.