III SDK for Rust
Rust SDK for the III Engine.
Installation
Add the crate to your Cargo.toml:
[]
= { = "../path/to/iii" }
Usage
use III;
use json;
async
Features
- WebSocket-based communication with III Engine
- Function registration and invocation
- Trigger registration and trigger type handling
- Context-aware logging (
get_context().logger) - Async/await support with automatic reconnection
Notes
III::connectstarts a background task and handles reconnection automatically.- The engine protocol currently supports
registertriggertypebut does not include anunregistertriggertypemessage;unregister_trigger_typeonly removes local handlers.