Expand description
The Rust Spin SDK.
Modules§
- http
- Sending and receiving HTTP requests.
- key_
value - Key/Value storage. Spin key-value persistent storage
- llm
- Large Language Model (Serverless AI) APIs
- mqtt
- MQTT message publishing.
- mysql
- MySQL relational database storage.
- pg
- Postgres relational database storage for Spin 2 and earlier. Applications that do not require
this backward compatibility should use the
pg4
module instead. - pg3
- Postgres relational database storage for Spin 3.3 and earlier. Applications that do not require
this backward compatibility should use the
pg4
module instead. - pg4
- Postgres relational database storage.
- redis
- Redis storage and message publishing.
- sqlite
- SQLite storage for Spin 2 and earlier. Applications that do not require
this backward compatibility should use the
sqlite3
module instead. - sqlite3
- SQLite storage.
- variables
- Component configuration variables.
Macros§
- http_
router - A macro to help with constructing a
Router
from method-pattern-handler triples.
Attribute Macros§
- http_
component - The entrypoint to an HTTP component.
- redis_
component - The entrypoint to a Spin Redis component.