broccoli-server-sdk
SDK for building Broccoli online judge WASM plugins (backend).
Feature flags
| 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).
Usage
Add the dependency with the guest feature in your plugin's Cargo.toml:
[]
= { = "0.1", = ["guest"] }
Then import the prelude:
use *;
License
MIT