feat: update version handling and dependencies for improved versionchecks #29
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.

This pull request introduces improvements to how the application determines and displays its build version, and refines the update checking logic to more accurately compare versions. These changes enhance the reliability of update notifications and ensure that the correct version information is shown in the UI.
Versioning improvements:
BUILD_VERSIONtopsst-core/src/lib.rsthat uses theRELEASE_VERSIONenvironment variable if available, falling back toCARGO_PKG_VERSIONotherwise, ensuring more accurate version reporting.psst-gui/src/ui/preferences.rsto displaypsst_core::BUILD_VERSIONinstead of the static package version, so the user always sees the actual build version.Update checking logic enhancements:
CURRENT_VERSIONinpsst-gui/src/data/update_checker.rsto referencepsst_core::BUILD_VERSION, aligning update checks with the displayed version.UpdateInfo::is_newer_version()to use semantic versioning when possible, falling back to string comparison for date-based versions, making update detection more robust.semvercrate to dependencies and imported it inpsst-gui/src/data/update_checker.rsto support semantic version parsing and comparison. [1] [2]