Module tauri::api::version

source ·
Expand description

Compare two semantic versions.

Semantic Versioning is a guideline for how version numbers are assigned and incremented. The functions on this module are helpers around semver.

Functions

  • Compare two semver versions.
  • Check if the “second” semver is compatible with the “first”.
  • Check if a version is greater than the current.
  • Check if a the “other” version is a major bump from the “current”.
  • Check if a the “other” version is a minor bump from the “current”.
  • Check if a the “other” version is a patch bump from the “current”.