Skip to main content

Crate strand_version_check

Crate strand_version_check 

Source
Expand description

Client for the strand-braid version-check service.

Both Strand Camera and Braid periodically ask https://version-check.strawlab.org/<product> whether a newer release is available. This crate centralizes that network call so each application only has to decide how to surface the result. The wire format is:

{ "available": "1.0.0-rc.3", "message": "...", "url": "https://..." }

All three fields are required; a response missing any of them fails to parse and is treated as “no update available”.

Structs§

AvailableVersion
A newer available version, as reported by the version-check server.
VersionChecker
Reusable client for the version-check service.