Skip to main content

Crate tauri_plugin_phyto

Crate tauri_plugin_phyto 

Source

Structs§

PendingCallbacks
Shared state for pending command callbacks. Wrapped in Arc so both the HTTP server thread and Tauri command can share it.
PhytoConfig
Configuration for the Phyto automation server.

Constants§

PROTOCOL_VERSION
Wire protocol version. Kept manually in lockstep with the PROTOCOL_VERSION constants in crates/phyto-core/src/protocol.rs and the TS packages. The driver fetches this via GET /info and exits cleanly on mismatch — see packages/driver-tauri/src/index.ts. Bump only on breaking wire-format changes.

Functions§

init
Initialize the Phyto plugin.