Skip to main content

install

Function install 

Source
pub fn install(opts: InstallOptions) -> Result<InstalledHyperd, Error>
Expand description

Downloads (if needed), verifies, and installs a hyperd executable according to opts.

This function is blocking. It performs HTTP I/O, ZIP extraction, and filesystem operations on the calling thread; it has no dependency on tokio.

§Errors

Returns any Error variant produced by the phases it drives — platform detection, release resolution (TOML parsing or scraping), download, checksum verification, ZIP extraction, or filesystem operations under dest_root.