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.graphqlRe-exports§
pub use crate::config::format_graphql;pub use crate::config::WasmerConfig;pub use crate::package::Package;
Modules§
Structs§
- Bindings
- A library that exposes bindings to a Wasmer package.
- Bindings
Generator - The generator used to create
Bindings. - Package
Download Info - Registry
Client - API client for the Wasmer registry.
Enums§
Statics§
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