Expand description
HTTP (via curl) download of release archives + SHA-256 verification.
Downloads the hyperd release archive to a temp file and verifies its
SHA-256 digest.
The download itself is performed by a curl subprocess rather than an
in-process HTTP client — see the inline comment on
crate::download::download_and_verify for the reason.
Functions§
- download_
and_ verify - Downloads
urltodestviacurland, ifexpected_sha256is supplied, verifies that the downloaded bytes match.