Cachelito Async Macros
Procedural macros for automatic async function caching.
This crate provides the #[cache_async] procedural macro used by cachelito-async. You typically don't need to use
this crate directly - use cachelito-async instead.
Usage
This crate is automatically included when you use cachelito-async:
use cache_async;
async
Features
- Generates efficient async caching code
- Supports FIFO and LRU eviction policies
- TTL (time-to-live) support
- Result type handling (only caches Ok values)
- Custom cache naming
Documentation
See the cachelito-async crate for complete documentation and examples.
License
Licensed under the Apache License, Version 2.0. See LICENSE for details.