Skip to main content

Module wasi_config

Module wasi_config 

Source
Expand description

Runtime configuration plugin for WebAssembly components.

This plugin implements the wasi:config/runtime@0.2.0-draft interface, providing components with access to configuration data and environment variables at runtime. It allows components to retrieve configuration values without requiring them to be compiled into the component.

§Features

  • Access to environment variables
  • Configuration key-value pairs
  • Runtime configuration updates
  • Component isolation of configuration data

§Usage

Components can use this plugin through the standard WASI config interface to retrieve configuration values that are set by the host environment.

Structs§

RuntimeConfig
Runtime configuration plugin that provides access to configuration data.