Expand description
Foldit plugin SDK.
Owns the plugin protocol (plugin.proto compiled via prost), the
protocol types, and the Plugin trait. Exposes a cbindgen C-ABI for the
rosetta C++ bridge and pyo3 Python bindings for plugin authors.
Re-exports§
pub use error::PluginError;pub use error::Result;pub use plugin::AssemblyPayload;pub use plugin::Plugin;pub use protocol::DispatchContext;pub use protocol::ParamValue;pub use protocol::PollOutcome;pub use protocol::ResidueRef;
Modules§
- abi
- C ABI for native plugins.
- decode
- Proto-to-native conversion for the protocol types.
- error
- Error type for the plugin SDK surface.
- plugin
- The
Plugintrait: the contract every plugin implements. - proto
- Generated protocol messages.
- protocol
- Native-Rust mirrors of the
proto::pluginprotocol types used by thecrate::Plugintrait surface.