{"adoption": {"forks": 124, "observed_at": "2026-08-28T04:06:12.201821+00:00", "stars": 2089}, "canonical_url": "https://ross.abutalabs.com/products/once_cell", "card": {"archived": false, "artifact_type": "library", "description": "Rust library for single assignment cells and lazy statics without macros", "domain": ["developer-tools", "programming-languages"], "enriched": true, "function": ["concurrency", "developer-tools"], "health_score": 63, "homepage": null, "language": "Rust", "license": "Apache-2.0", "license_family": "permissive", "maturity": "stable", "member_repos": ["matklad/once_cell"], "name": "matklad/once_cell", "platform": ["rust", "cross-platform"], "pushed_at": "2026-03-12T10:59:54+00:00", "repo": "matklad/once_cell", "stars": 2089, "tags": ["lazy-static", "single-assignment", "no-macros", "initialization"], "topics": ["rust", "lazy-evaluation"], "urls": [], "use_cases": ["initialize global static data lazily in Rust", "replace lazy_static! macro with plain code", "store a value that is assigned at most once", "share lazily-built HashMap or Mutex across threads", "defer expensive computation until first access"], "what_it_is": "A Rust library providing single assignment cells (OnceCell) and lazy initialization types (Lazy) without macros. It offers a macro-free alternative to lazy_static! with sync and unsync variants.", "when_to_avoid": ["you are on Rust 1.70+ and std's OnceCell/LazyLock suffice", "you need reassignment or interior mutability beyond single assignment", "you need async-aware lazy initialization (consider async_once_cell)"], "when_to_choose": ["you need lazy statics or single-assignment cells in Rust without macros", "you want a minimal, widely-adopted dependency for lazy initialization", "you need both thread-safe and single-threaded lazy cell variants"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/once_cell", "repo": "matklad/once_cell", "role": "main", "score": 64}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:06:12.201821+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T02:55:39.145396+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2331182c8b5a6971fd0d04a0ca711d5839e93b3de6b2003108940a8c93850aaf", "fetched_at": "2026-08-28T04:06:12.201821+00:00", "kind": "readme", "missing": false, "url": "https://github.com/matklad/once_cell"}, {"content_hash": "80c08459fb863a8dfbccdfe04c296c06f248be6a183271e38e9867901b0ed9fa", "fetched_at": "2026-08-29T10:35:24.190732+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/once_cell"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:06:12.201821+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T02:55:39.145396+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2331182c8b5a6971fd0d04a0ca711d5839e93b3de6b2003108940a8c93850aaf", "fetched_at": "2026-08-28T04:06:12.201821+00:00", "kind": "readme", "missing": false, "url": "https://github.com/matklad/once_cell"}, {"content_hash": "80c08459fb863a8dfbccdfe04c296c06f248be6a183271e38e9867901b0ed9fa", "fetched_at": "2026-08-29T10:35:24.190732+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/once_cell"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T02:55:39.145396+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2331182c8b5a6971fd0d04a0ca711d5839e93b3de6b2003108940a8c93850aaf", "fetched_at": "2026-08-28T04:06:12.201821+00:00", "kind": "readme", "missing": false, "url": "https://github.com/matklad/once_cell"}, {"content_hash": "80c08459fb863a8dfbccdfe04c296c06f248be6a183271e38e9867901b0ed9fa", "fetched_at": "2026-08-29T10:35:24.190732+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/once_cell"}], "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:06:12.201821+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:06:12.201821+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:06:12.201821+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T02:55:39.145396+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2331182c8b5a6971fd0d04a0ca711d5839e93b3de6b2003108940a8c93850aaf", "fetched_at": "2026-08-28T04:06:12.201821+00:00", "kind": "readme", "missing": false, "url": "https://github.com/matklad/once_cell"}, {"content_hash": "80c08459fb863a8dfbccdfe04c296c06f248be6a183271e38e9867901b0ed9fa", "fetched_at": "2026-08-29T10:35:24.190732+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/once_cell"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:06:12.201821+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:06:12.201821+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T02:55:39.145396+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2331182c8b5a6971fd0d04a0ca711d5839e93b3de6b2003108940a8c93850aaf", "fetched_at": "2026-08-28T04:06:12.201821+00:00", "kind": "readme", "missing": false, "url": "https://github.com/matklad/once_cell"}, {"content_hash": "80c08459fb863a8dfbccdfe04c296c06f248be6a183271e38e9867901b0ed9fa", "fetched_at": "2026-08-29T10:35:24.190732+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/once_cell"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:06:12.201821+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:06:12.201821+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:06:12.201821+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T02:55:39.145396+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2331182c8b5a6971fd0d04a0ca711d5839e93b3de6b2003108940a8c93850aaf", "fetched_at": "2026-08-28T04:06:12.201821+00:00", "kind": "readme", "missing": false, "url": "https://github.com/matklad/once_cell"}, {"content_hash": "80c08459fb863a8dfbccdfe04c296c06f248be6a183271e38e9867901b0ed9fa", "fetched_at": "2026-08-29T10:35:24.190732+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/once_cell"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:06:12.201821+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:06:12.201821+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T02:55:39.145396+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2331182c8b5a6971fd0d04a0ca711d5839e93b3de6b2003108940a8c93850aaf", "fetched_at": "2026-08-28T04:06:12.201821+00:00", "kind": "readme", "missing": false, "url": "https://github.com/matklad/once_cell"}, {"content_hash": "80c08459fb863a8dfbccdfe04c296c06f248be6a183271e38e9867901b0ed9fa", "fetched_at": "2026-08-29T10:35:24.190732+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/once_cell"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T02:55:39.145396+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2331182c8b5a6971fd0d04a0ca711d5839e93b3de6b2003108940a8c93850aaf", "fetched_at": "2026-08-28T04:06:12.201821+00:00", "kind": "readme", "missing": false, "url": "https://github.com/matklad/once_cell"}, {"content_hash": "80c08459fb863a8dfbccdfe04c296c06f248be6a183271e38e9867901b0ed9fa", "fetched_at": "2026-08-29T10:35:24.190732+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/once_cell"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T02:55:39.145396+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2331182c8b5a6971fd0d04a0ca711d5839e93b3de6b2003108940a8c93850aaf", "fetched_at": "2026-08-28T04:06:12.201821+00:00", "kind": "readme", "missing": false, "url": "https://github.com/matklad/once_cell"}, {"content_hash": "80c08459fb863a8dfbccdfe04c296c06f248be6a183271e38e9867901b0ed9fa", "fetched_at": "2026-08-29T10:35:24.190732+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/once_cell"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T02:55:39.145396+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2331182c8b5a6971fd0d04a0ca711d5839e93b3de6b2003108940a8c93850aaf", "fetched_at": "2026-08-28T04:06:12.201821+00:00", "kind": "readme", "missing": false, "url": "https://github.com/matklad/once_cell"}, {"content_hash": "80c08459fb863a8dfbccdfe04c296c06f248be6a183271e38e9867901b0ed9fa", "fetched_at": "2026-08-29T10:35:24.190732+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/once_cell"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 71, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["no_releases"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 2954, "days_push": 174, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 64, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}