Re-exports§
pub use crabkey_middleware as middleware;pub use crabkey_storage as storage;
Modules§
Structs§
- ApiResponse
- Unified API response wrapper.
- AppState
- Audit
Event - Cache
Entry - Credits
- Newtype for attaching credit cost to a response via extensions.
- Response
Meta - Metadata included in every API response.
- Usage
Entry - A single usage log entry to be recorded.
Enums§
- AppError
- Unified application error type.
- Cache
Error - LogError
- Store
Error - Errors returned by storage backends.
Traits§
- Audit
Logger - Cache
Store - Usage
Store - Trait for pluggable usage-tracking storage backends.
Attribute Macros§
- credits
- Attribute macro that injects
Credits(n)into the response extensions.