Crate spring_macros

Source
Expand description

spring-rs

Attribute Macros§

auto_config
Auto config
cache
#[cache] - Transparent Redis-based caching for async functions.
cron
Syntax
delete
Syntax
fix_delay
Syntax
fix_rate
Syntax
get
Syntax
head
Syntax
middlewares
Applies middleware layers to all route handlers within a module.
nest
Prepends a path prefix to all handlers using routing macros inside the attached module.
one_shot
Syntax
options
Syntax
patch
Syntax
post
Syntax
put
Syntax
route
Creates resource handler, allowing multiple HTTP method guards.
routes
Creates resource handler, allowing multiple HTTP methods and paths.
stream_listener
stream macro
trace
Syntax

Derive Macros§

Configurable
Configurable
Service
Injectable Servcie