Crate moon_pdk_api
source ·Re-exports§
pub use crate::MoonContext;
Macros§
- Construct an ad-hoc error from a string or existing non-
anyhow
error value. - Wrap an enum with common derives and serde required attributes.
- Wrap a struct with common derives and serde required attributes.
- Apply default attributes for configuration based structs. Will assume that all keys are in camel case.
Structs§
- Represents an empty input.
- Input passed to the
exec_command
host function. - Output returned from the
exec_command
host function. - Input passed to the
execute_extension
function. - A GitHub release locator.
- Information about the host environment (the current runtime).
- Input passed to the
host_log
host function. - Information about the current moon workspace.
- Input passed to the
sync_project
function. - Input passed to the
sync_workspace
function. - Information about the current testing environment.
Enums§
- Architecture of the system environment.
- Libc being used in the system environment.
- Target where host logs should be written to.
- Operating system of the current environment.
- Strategies for locating plugins.
- A container for WASI virtual paths that can also keep a reference to the original real path.
Type Aliases§
- Represents any result (using
anyhow
).