Crate spring_macros

Crate spring_macros 

Source
Expand description

spring-rs

Attribute Macros§

api_route
Creates openapi resource handler.
api_routes
Creates openapi resource handler.
auto_config
Auto config
cache
#[cache] - Transparent Redis-based caching for async functions.
cron
Syntax
delete
Syntax
delete_api
Syntax
fix_delay
Syntax
fix_rate
Syntax
get
Syntax
get_api
Syntax
head
Syntax
head_api
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
options_api
Syntax
patch
Syntax
patch_api
Syntax
post
Syntax
post_api
Syntax
put
Syntax
put_api
Syntax
route
Creates resource handler.
routes
Creates resource handler.
stream_listener
stream macro
trace
Syntax
trace_api
Syntax

Derive Macros§

Configurable
Configurable
Service
Injectable Servcie