Crate spin_sdk

source ·
Expand description

The Rust Spin SDK.

Modules

Implementation of the spin config interface.
Helpers for building Spin HTTP components. These are convenience helpers, and the types in this module are based on the http crate.
Implementation of the Spin MySQL database interface. Conversions between Rust, WIT and MySQL types.
Outbound HTTP request functionality.
Implementation of the spin postgres db interface. Conversions between Rust, WIT and Postgres types.
Implementation of the spin redis interface.

Attribute Macros

The entrypoint to a Spin HTTP component written in Rust.
Generates the entrypoint to a Spin Redis component written in Rust.