Crate moon_pdk_test_utils
source ·Modules§
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. - Information about the host environment (the current runtime).
- Information about the current moon workspace.
Enums§
- Architecture of the host environment.
- Target where host logs should be written to.
- Operating system of the host environment.
- A container for WASI virtual paths that can also keep a reference to the original real path.
Functions§
Type Aliases§
- Represents any result (using
anyhow
).