wasmer_backend_api::query

Function fetch_webc_package

Source
pub async fn fetch_webc_package(
    client: &WasmerClient,
    ident: &PackageIdent,
    default_registry: &Url,
) -> Result<Container, Error>
Expand description

Load a webc package from the registry.

NOTE: this uses the public URL instead of the download URL available through the API, and should not be used where possible.