Expand description
Procedural macros for Rango: the Model derive that turns a struct into a stored row, plus the
form, input, template, and main attribute macros that wire serde, Askama, and tokio.
Attribute Macros§
- form
- Derives
DeserializeandDefaultfor a form struct, usingrango::serde. - input
- Derives only
Deserializefor an input struct, usingrango::serde. - main
- Runs an
async fn mainon a multi-threaded tokio runtime with all features enabled. - template
- Derives
Templatevia Askama, forwarding the attribute arguments unchanged.
Derive Macros§
- Model
- Implements
Modelfor a struct, mapping each field to a column.