moon_pdk 0.0.6

A plugin development kit for creating moon WASM plugins.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
mod args;
mod extension;
mod platform;

pub use args::*;
pub use extension::*;
pub use moon_pdk_api::*;
pub use platform::*;
pub use warpgate_pdk::*;

/// Map a `miette` (or similar error) to an `extism` Error.
pub fn map_miette_error(error: impl std::fmt::Display) -> extism_pdk::Error {
    anyhow!("{error}")
}