Expand description
Procedural macros for the Kit framework
This crate provides compile-time validated macros for:
- Inertia.js responses with component validation
- Named route redirects with route validation
- Service auto-registration
Macros§
- inertia_
response - Create an Inertia response with compile-time component validation
- redirect
- Create a redirect to a named route with compile-time validation
Attribute Macros§
- injectable
- Attribute macro to auto-register a concrete type as a singleton
- service
- Mark a trait as a service for the App container
Derive Macros§
- Inertia
Props - Derive macro for generating
Serializeimplementation for Inertia props