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ยง

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

Enumsยง

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

Traitsยง

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