Rust Cache Libraries

Cache libraries for Rust

GitHub Star Comparison

Rust Cache Libraries GitHub Star Comparison
NoNameGitHub StarsDescriptionTrendLicenseTypeOfficial Site
1Mini-Redis⭐ 4.5kRedis implementation for Tokio learning. Designed for educational purposes but also functions as lightweight Redis serverImportant resource for Rust/Tokio learning in 2025. Increasing utilization for prototyping and embedded useMITEducational RedisOfficial
2redis-rs⭐ 4.0kOfficial Redis client for Rust. Comprehensive solution supporting async, connection pooling, and Redis ClusterStandard for distributed caching in Rust in 2025. Expanding adoption through integration with Tokio ecosystemBSD-3-ClauseRedis ClientOfficial
3Moka⭐ 2.2kHigh-performance concurrent cache library for Rust. Inspired by Caffeine library, provides TinyLFU, async support, and Tokio integrationAbsolute king of Rust cache libraries in 2025. Established position through adoption by crates.io and other major projectsApache-2.0High-Performance CacheOfficial
4Mini-Moka⭐ 137Lightweight version of Moka cache library. Provides LFU/LRU policies and full concurrency for simple use casesPopular as lightweight alternative to Moka in 2025. Important choice for resource-constrained applicationsApache-2.0Lightweight CacheOfficial
5cached-Provides function memoization and caching structures. Comprehensive Rust caching support with procedural macros, async support, and Redis integrationExpanding adoption as feature-rich caching solution in 2025. Differentiated by Redis integration and macro APIMITMemoization CacheOfficial
6LocalLRU-High-speed LRU cache based on thread-local storage. Lock-free design providing excellent performance during high iteration scenariosGaining attention in scenarios requiring ultra-high performance in 2025. Chosen for performance exceeding Moka beyond 1 million iterationsMITThread-Local CacheOfficial