Crate wasmer_registry

Source
Expand description

High-level interactions with the Wasmer backend.

The GraphQL schema can be updated by running make in the Wasmer repo’s root directory.

$ make update-graphql-schema
curl -sSfL https://registry.wasmer.io/graphql/schema.graphql > lib/registry/graphql/schema.graphql

Re-exports§

pub use crate::config::format_graphql;
pub use crate::config::WasmerConfig;
pub use crate::package::Package;

Modules§

api
config
graphql
interface
login
package
publish
subscriptions
types
utils
wasmer_env

Structs§

Bindings
A library that exposes bindings to a Wasmer package.
BindingsGenerator
The generator used to create Bindings.
PackageDownloadInfo
RegistryClient
API client for the Wasmer registry.

Enums§

GetIfPackageHasNewVersionResult
ProgrammingLanguage
QueryPackageError

Statics§

GLOBAL_CONFIG_FILE_NAME
PACKAGE_TOML_FALLBACK_NAME
PACKAGE_TOML_FILE_NAME

Functions§

download_and_unpack_targz
Whether the top-level directory should be stripped
get_all_available_registries
get_checkouts_dir
get_webc_dir
list_bindings
List all bindings associated with a particular package.
query_command_from_registry
query_package_from_registry
Returns the download info of the packages, on error returns all the available packages i.e. ((“foo/python”, “wasmer.io”), (“bar/python” “wasmer.io”)))
test_if_registry_present
try_unpack_targz
Convenience function that will unpack .tar.gz files and .tar.bz files to a target directory (does NOT remove the original .tar.gz)
unpack_sans_parent
unpack_with_parent
whoami