{"adoption": {"forks": 126, "observed_at": "2026-08-28T04:07:09.430964+00:00", "stars": 2670}, "canonical_url": "https://ross.abutalabs.com/products/moka", "card": {"archived": false, "artifact_type": "library", "description": "A high performance concurrent caching library for Rust", "domain": ["developer-tools", "performance", "backend"], "enriched": true, "function": ["caching"], "health_score": 98, "homepage": null, "language": "Rust", "license": "Apache-2.0", "license_family": "permissive", "maturity": "stable", "member_repos": ["moka-rs/moka"], "name": "moka-rs/moka", "platform": ["rust", "cross-platform"], "pushed_at": "2026-08-09T23:17:14+00:00", "repo": "moka-rs/moka", "stars": 2670, "tags": ["in-memory-cache", "concurrent", "caffeine-inspired", "lfu", "lru", "ttl", "async"], "topics": ["cache", "concurrent-data-structure"], "urls": [], "use_cases": ["cache expensive computation results in a Rust application", "add an in-memory cache with TTL expiration to my API server", "bound a shared hashmap by entry count or weighted size", "share a thread-safe cache across OS threads", "use an async-aware cache in a Tokio service", "improve cache hit ratio with LFU-based admission", "run callbacks when cache entries are evicted"], "what_it_is": "Moka is a fast, concurrent in-memory caching library for Rust, inspired by Java's Caffeine. It provides thread-safe synchronous and async caches with size bounding, TinyLFU admission/LRU eviction, TTL/TTI expiration, and eviction listeners.", "when_to_avoid": ["you need a distributed or shared cache across processes or machines (use Redis or similar)", "you need persistent or on-disk caching", "you are not working in Rust"], "when_to_choose": ["you need a high-performance concurrent cache in Rust with near-optimal hit ratios", "you want Caffeine-like eviction policies (TinyLFU admission, LRU eviction) in Rust", "you need both sync and async cache APIs with TTL, TTI, and per-entry expiration", "you need size-aware eviction or eviction listener callbacks"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/moka", "repo": "moka-rs/moka", "role": "main", "score": 93}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:07:09.430964+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T02:18:10.949160+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5dbde351d222602968b47d5caf012d0750a7443e2d07e2724cdfdc0d45558acd", "fetched_at": "2026-08-28T04:07:09.430964+00:00", "kind": "readme", "missing": false, "url": "https://github.com/moka-rs/moka"}, {"content_hash": "6622426cf6023cf3407714b3dff4b6f72281ba290dcb068f02ce9f0935687723", "fetched_at": "2026-08-29T10:00:44.580786+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/moka"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:07:09.430964+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T02:18:10.949160+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5dbde351d222602968b47d5caf012d0750a7443e2d07e2724cdfdc0d45558acd", "fetched_at": "2026-08-28T04:07:09.430964+00:00", "kind": "readme", "missing": false, "url": "https://github.com/moka-rs/moka"}, {"content_hash": "6622426cf6023cf3407714b3dff4b6f72281ba290dcb068f02ce9f0935687723", "fetched_at": "2026-08-29T10:00:44.580786+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/moka"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T02:18:10.949160+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5dbde351d222602968b47d5caf012d0750a7443e2d07e2724cdfdc0d45558acd", "fetched_at": "2026-08-28T04:07:09.430964+00:00", "kind": "readme", "missing": false, "url": "https://github.com/moka-rs/moka"}, {"content_hash": "6622426cf6023cf3407714b3dff4b6f72281ba290dcb068f02ce9f0935687723", "fetched_at": "2026-08-29T10:00:44.580786+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/moka"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:07:09.430964+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:07:09.430964+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:07:09.430964+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T02:18:10.949160+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5dbde351d222602968b47d5caf012d0750a7443e2d07e2724cdfdc0d45558acd", "fetched_at": "2026-08-28T04:07:09.430964+00:00", "kind": "readme", "missing": false, "url": "https://github.com/moka-rs/moka"}, {"content_hash": "6622426cf6023cf3407714b3dff4b6f72281ba290dcb068f02ce9f0935687723", "fetched_at": "2026-08-29T10:00:44.580786+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/moka"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:07:09.430964+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:07:09.430964+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T02:18:10.949160+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5dbde351d222602968b47d5caf012d0750a7443e2d07e2724cdfdc0d45558acd", "fetched_at": "2026-08-28T04:07:09.430964+00:00", "kind": "readme", "missing": false, "url": "https://github.com/moka-rs/moka"}, {"content_hash": "6622426cf6023cf3407714b3dff4b6f72281ba290dcb068f02ce9f0935687723", "fetched_at": "2026-08-29T10:00:44.580786+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/moka"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:07:09.430964+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:07:09.430964+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:07:09.430964+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T02:18:10.949160+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5dbde351d222602968b47d5caf012d0750a7443e2d07e2724cdfdc0d45558acd", "fetched_at": "2026-08-28T04:07:09.430964+00:00", "kind": "readme", "missing": false, "url": "https://github.com/moka-rs/moka"}, {"content_hash": "6622426cf6023cf3407714b3dff4b6f72281ba290dcb068f02ce9f0935687723", "fetched_at": "2026-08-29T10:00:44.580786+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/moka"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:07:09.430964+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:07:09.430964+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T02:18:10.949160+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5dbde351d222602968b47d5caf012d0750a7443e2d07e2724cdfdc0d45558acd", "fetched_at": "2026-08-28T04:07:09.430964+00:00", "kind": "readme", "missing": false, "url": "https://github.com/moka-rs/moka"}, {"content_hash": "6622426cf6023cf3407714b3dff4b6f72281ba290dcb068f02ce9f0935687723", "fetched_at": "2026-08-29T10:00:44.580786+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/moka"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T02:18:10.949160+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5dbde351d222602968b47d5caf012d0750a7443e2d07e2724cdfdc0d45558acd", "fetched_at": "2026-08-28T04:07:09.430964+00:00", "kind": "readme", "missing": false, "url": "https://github.com/moka-rs/moka"}, {"content_hash": "6622426cf6023cf3407714b3dff4b6f72281ba290dcb068f02ce9f0935687723", "fetched_at": "2026-08-29T10:00:44.580786+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/moka"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T02:18:10.949160+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5dbde351d222602968b47d5caf012d0750a7443e2d07e2724cdfdc0d45558acd", "fetched_at": "2026-08-28T04:07:09.430964+00:00", "kind": "readme", "missing": false, "url": "https://github.com/moka-rs/moka"}, {"content_hash": "6622426cf6023cf3407714b3dff4b6f72281ba290dcb068f02ce9f0935687723", "fetched_at": "2026-08-29T10:00:44.580786+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/moka"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T02:18:10.949160+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5dbde351d222602968b47d5caf012d0750a7443e2d07e2724cdfdc0d45558acd", "fetched_at": "2026-08-28T04:07:09.430964+00:00", "kind": "readme", "missing": false, "url": "https://github.com/moka-rs/moka"}, {"content_hash": "6622426cf6023cf3407714b3dff4b6f72281ba290dcb068f02ce9f0935687723", "fetched_at": "2026-08-29T10:00:44.580786+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/moka"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 96, "longevity": 100, "rhythm": 84}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 2341, "days_push": 24, "days_rel": 24, "gap_med": 34.5, "n_releases_24m": 5}, "score": 93, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}