Skip to main content

Crate enwiro_sdk

Crate enwiro_sdk 

Source
Expand description

Shared SDK for enwiro plugin authors (cookbooks, adapters, bridges).

Owns the cross-component contracts and infrastructure that core and plugins both depend on: logging setup, the gear schema and on-disk conventions, and any future plugin-protocol types.

Re-exports§

pub use cookbook::CookbookMetadata;
pub use cookbook::CookbookPayload;
pub use cookbook::Recipe;
pub use logging::init_logging;

Modules§

adapter
Wire types for the core->adapter activate protocol.
client
config
Layered config loader for cookbook plugins.
cookbook
Wire-protocol types emitted by cookbook plugins and consumed by the host.
fs
garnish
Garnishes: parallel-to-cookbook extensions. Each Garnish looks at an env and, when applicable, contributes a Gear payload. Many can apply to one env simultaneously.
gear
listen
logging
plugin
process
Description of an external process for enwiro to spawn.
rpc
Shared JSON-RPC contract between enwiro-daemon and its clients (enw, cookbooks, future external apps).
status
Environment status types - the canonical schema for the status field of per-env meta.json, AND the payload of the status_changed cookbook->daemon wire event (#302).