Crate wasmer_cache

Source
Expand description

The wasmer-cache crate provides the necessary abstractions to cache WebAssembly Modules easily.

Modulesยง

cache ๐Ÿ”’
The cache module provides the common data structures used by compiler backends to allow serializing compiled wasm code to a binary format. The binary format can be persisted, and loaded to allow skipping compilation and fast startup.
filesystem ๐Ÿ”’
hash ๐Ÿ”’

Structsยง

FileSystemCache
Representation of a directory that contains compiled wasm artifacts.
Hash
A hash used as a key when loading and storing modules in a crate::Cache.

Enumsยง

DeserializeError
The Deserialize error can occur when loading a compiled Module from a binary.
SerializeError
The Serialize error can occur when serializing a compiled Module into a binary.

Traitsยง

Cache
A generic cache for storing and loading compiled wasm modules.