SDK for building Broccoli online judge WASM plugins (backend).
| Feature | Default | Description |
|---|---|---|
guest |
off | Enables host function wrappers (db, evaluator, host) and the WasmHost runtime for use inside WASM plugins |
Without guest, only shared types, traits, and error definitions are available
(useful for host-side code that needs the same type definitions).
Add the dependency with the guest feature in your plugin's Cargo.toml:
[dependencies]
broccoli-server-sdk = { version = "0.1", features = ["guest"] }Then import the prelude:
use broccoli_server_sdk::prelude::*;MIT