{"adoption": {"forks": 125, "observed_at": "2026-08-28T04:06:07.833628+00:00", "stars": 2034}, "canonical_url": "https://ross.abutalabs.com/products/lazy-staticrs", "card": {"archived": false, "artifact_type": "library", "description": "A small macro for defining lazy evaluated static variables in Rust.", "domain": ["programming-languages", "developer-tools"], "enriched": true, "function": ["concurrency", "developer-tools"], "health_score": 22, "homepage": null, "language": "Rust", "license": "Apache-2.0", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["rust-lang-nursery/lazy-static.rs"], "name": "rust-lang-nursery/lazy-static.rs", "platform": ["rust", "cross-platform"], "pushed_at": "2025-01-29T15:31:06+00:00", "repo": "rust-lang-nursery/lazy-static.rs", "stars": 2034, "tags": ["lazy-evaluation", "static-variables", "macro", "rust-crate", "singletons"], "topics": [], "urls": [], "use_cases": ["define lazily initialized static variables in rust", "create global hashmap or vector singletons in rust", "initialize statics with non-const function calls", "avoid unsafe static initialization in rust", "share lazily computed configuration across a rust program"], "what_it_is": "A Rust macro crate for declaring lazily evaluated static variables that require runtime initialization, such as heap-allocated collections or non-const computations. It is largely superseded by std::sync::LazyLock in the Rust standard library.", "when_to_avoid": ["you target modern Rust where std::sync::LazyLock covers the same need without a dependency", "you need async lazy initialization", "you want actively developed features beyond lazy statics"], "when_to_choose": ["you need lazy statics on rustc versions older than 1.80 without LazyLock", "you prefer a macro-based API for declaring statics", "you maintain legacy code already using lazy_static"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/lazy-staticrs", "repo": "rust-lang-nursery/lazy-static.rs", "role": "main", "score": 25}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:06:07.833628+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T02:59:25.262794+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d7c6f9e52cf780f02e2d2fb5b82404e65572c431b9d2d09fb850de1b745d0a09", "fetched_at": "2026-08-28T04:06:07.833628+00:00", "kind": "readme", "missing": false, "url": "https://github.com/rust-lang-nursery/lazy-static.rs"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:06:07.833628+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T02:59:25.262794+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d7c6f9e52cf780f02e2d2fb5b82404e65572c431b9d2d09fb850de1b745d0a09", "fetched_at": "2026-08-28T04:06:07.833628+00:00", "kind": "readme", "missing": false, "url": "https://github.com/rust-lang-nursery/lazy-static.rs"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T02:59:25.262794+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d7c6f9e52cf780f02e2d2fb5b82404e65572c431b9d2d09fb850de1b745d0a09", "fetched_at": "2026-08-28T04:06:07.833628+00:00", "kind": "readme", "missing": false, "url": "https://github.com/rust-lang-nursery/lazy-static.rs"}], "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:07.833628+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:06:07.833628+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:06:07.833628+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T02:59:25.262794+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d7c6f9e52cf780f02e2d2fb5b82404e65572c431b9d2d09fb850de1b745d0a09", "fetched_at": "2026-08-28T04:06:07.833628+00:00", "kind": "readme", "missing": false, "url": "https://github.com/rust-lang-nursery/lazy-static.rs"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:06:07.833628+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:06:07.833628+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T02:59:25.262794+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d7c6f9e52cf780f02e2d2fb5b82404e65572c431b9d2d09fb850de1b745d0a09", "fetched_at": "2026-08-28T04:06:07.833628+00:00", "kind": "readme", "missing": false, "url": "https://github.com/rust-lang-nursery/lazy-static.rs"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:06:07.833628+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:06:07.833628+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:06:07.833628+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T02:59:25.262794+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d7c6f9e52cf780f02e2d2fb5b82404e65572c431b9d2d09fb850de1b745d0a09", "fetched_at": "2026-08-28T04:06:07.833628+00:00", "kind": "readme", "missing": false, "url": "https://github.com/rust-lang-nursery/lazy-static.rs"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:06:07.833628+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:06:07.833628+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T02:59:25.262794+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d7c6f9e52cf780f02e2d2fb5b82404e65572c431b9d2d09fb850de1b745d0a09", "fetched_at": "2026-08-28T04:06:07.833628+00:00", "kind": "readme", "missing": false, "url": "https://github.com/rust-lang-nursery/lazy-static.rs"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T02:59:25.262794+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d7c6f9e52cf780f02e2d2fb5b82404e65572c431b9d2d09fb850de1b745d0a09", "fetched_at": "2026-08-28T04:06:07.833628+00:00", "kind": "readme", "missing": false, "url": "https://github.com/rust-lang-nursery/lazy-static.rs"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T02:59:25.262794+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d7c6f9e52cf780f02e2d2fb5b82404e65572c431b9d2d09fb850de1b745d0a09", "fetched_at": "2026-08-28T04:06:07.833628+00:00", "kind": "readme", "missing": false, "url": "https://github.com/rust-lang-nursery/lazy-static.rs"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T02:59:25.262794+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d7c6f9e52cf780f02e2d2fb5b82404e65572c431b9d2d09fb850de1b745d0a09", "fetched_at": "2026-08-28T04:06:07.833628+00:00", "kind": "readme", "missing": false, "url": "https://github.com/rust-lang-nursery/lazy-static.rs"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 4, "longevity": 100, "rhythm": 8}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 4453, "days_push": 581, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 25, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}