Rust
The Rust library uses traits and generics for type-safe block development. Handler closures return Result types, and macros reduce boilerplate for defining custom types.
Prerequisites🔗
- Rust stable toolchain
- Cargo package manager
- The Spade CLI installed (Installation guide)
Installation🔗
cargo add spadeQuickstart
Create your first Rust block step by step.
Read →Types
All available Spade types in the Rust library.
Read →Handler Functions
Writing Rust handlers with traits and closures.
Read →Manifest Generation
Generating block manifests with the Rust builder API.
Read →Examples
Complete worked examples of Rust blocks.
Read →