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.