{"adoption": {"forks": 78, "observed_at": "2026-08-28T04:07:44.459853+00:00", "stars": 3126}, "canonical_url": "https://ross.abutalabs.com/products/cargo-expand", "card": {"archived": false, "artifact_type": "cli-tool", "description": "Subcommand to show result of macro expansion", "domain": ["developer-tools", "programming-languages"], "enriched": true, "function": ["developer-tools", "compiler", "documentation"], "health_score": 99, "homepage": null, "language": "Rust", "license": "Apache-2.0", "license_family": "permissive", "maturity": "stable", "member_repos": ["dtolnay/cargo-expand"], "name": "dtolnay/cargo-expand", "platform": ["cli", "rust", "cross-platform"], "pushed_at": "2026-08-19T03:50:18+00:00", "repo": "dtolnay/cargo-expand", "stars": 3126, "tags": ["cargo-subcommand", "rust-macros", "macro-expansion", "debugging", "command-line"], "topics": ["cargo"], "urls": [], "use_cases": ["debug why a Rust macro isn't working", "see what #[derive] generates for my struct", "inspect expanded proc macro output", "understand what code a macro produces", "troubleshoot macro expansion in Rust"], "what_it_is": "A Cargo subcommand that prints the result of macro and #[derive] expansion for a Rust crate, wrapping the verbose `cargo rustc -- -Zunpretty=expanded` compiler command. It optionally formats the expanded output with rustfmt for readability.", "when_to_avoid": ["you don't work with Rust or Cargo", "you need a general-purpose Rust debugger rather than macro inspection"], "when_to_choose": ["you're developing or debugging Rust macros or proc macros", "you need to see the fully expanded code the compiler sees", "you want formatted, readable expansion output"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/cargo-expand", "repo": "dtolnay/cargo-expand", "role": "main", "score": 98}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:07:44.459853+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T07:26:22.249818+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "140c5cb03d10aedc95c63e1a071f5794f0de1762d20c3720d9a7ebeb9e1e0cc9", "fetched_at": "2026-08-28T04:07:44.459853+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dtolnay/cargo-expand"}, {"content_hash": "fbb89abeed241bad314bdf8ac2a45fa76c7cc5a58cb0e7e6d333111fb5b28d29", "fetched_at": "2026-08-29T09:41:17.039549+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/cargo-expand"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:07:44.459853+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T07:26:22.249818+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "140c5cb03d10aedc95c63e1a071f5794f0de1762d20c3720d9a7ebeb9e1e0cc9", "fetched_at": "2026-08-28T04:07:44.459853+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dtolnay/cargo-expand"}, {"content_hash": "fbb89abeed241bad314bdf8ac2a45fa76c7cc5a58cb0e7e6d333111fb5b28d29", "fetched_at": "2026-08-29T09:41:17.039549+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/cargo-expand"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T07:26:22.249818+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "140c5cb03d10aedc95c63e1a071f5794f0de1762d20c3720d9a7ebeb9e1e0cc9", "fetched_at": "2026-08-28T04:07:44.459853+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dtolnay/cargo-expand"}, {"content_hash": "fbb89abeed241bad314bdf8ac2a45fa76c7cc5a58cb0e7e6d333111fb5b28d29", "fetched_at": "2026-08-29T09:41:17.039549+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/cargo-expand"}], "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:44.459853+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:07:44.459853+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:07:44.459853+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T07:26:22.249818+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "140c5cb03d10aedc95c63e1a071f5794f0de1762d20c3720d9a7ebeb9e1e0cc9", "fetched_at": "2026-08-28T04:07:44.459853+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dtolnay/cargo-expand"}, {"content_hash": "fbb89abeed241bad314bdf8ac2a45fa76c7cc5a58cb0e7e6d333111fb5b28d29", "fetched_at": "2026-08-29T09:41:17.039549+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/cargo-expand"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:07:44.459853+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:07:44.459853+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T07:26:22.249818+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "140c5cb03d10aedc95c63e1a071f5794f0de1762d20c3720d9a7ebeb9e1e0cc9", "fetched_at": "2026-08-28T04:07:44.459853+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dtolnay/cargo-expand"}, {"content_hash": "fbb89abeed241bad314bdf8ac2a45fa76c7cc5a58cb0e7e6d333111fb5b28d29", "fetched_at": "2026-08-29T09:41:17.039549+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/cargo-expand"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:07:44.459853+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:07:44.459853+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:07:44.459853+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T07:26:22.249818+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "140c5cb03d10aedc95c63e1a071f5794f0de1762d20c3720d9a7ebeb9e1e0cc9", "fetched_at": "2026-08-28T04:07:44.459853+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dtolnay/cargo-expand"}, {"content_hash": "fbb89abeed241bad314bdf8ac2a45fa76c7cc5a58cb0e7e6d333111fb5b28d29", "fetched_at": "2026-08-29T09:41:17.039549+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/cargo-expand"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:07:44.459853+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:07:44.459853+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T07:26:22.249818+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "140c5cb03d10aedc95c63e1a071f5794f0de1762d20c3720d9a7ebeb9e1e0cc9", "fetched_at": "2026-08-28T04:07:44.459853+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dtolnay/cargo-expand"}, {"content_hash": "fbb89abeed241bad314bdf8ac2a45fa76c7cc5a58cb0e7e6d333111fb5b28d29", "fetched_at": "2026-08-29T09:41:17.039549+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/cargo-expand"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T07:26:22.249818+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "140c5cb03d10aedc95c63e1a071f5794f0de1762d20c3720d9a7ebeb9e1e0cc9", "fetched_at": "2026-08-28T04:07:44.459853+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dtolnay/cargo-expand"}, {"content_hash": "fbb89abeed241bad314bdf8ac2a45fa76c7cc5a58cb0e7e6d333111fb5b28d29", "fetched_at": "2026-08-29T09:41:17.039549+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/cargo-expand"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T07:26:22.249818+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "140c5cb03d10aedc95c63e1a071f5794f0de1762d20c3720d9a7ebeb9e1e0cc9", "fetched_at": "2026-08-28T04:07:44.459853+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dtolnay/cargo-expand"}, {"content_hash": "fbb89abeed241bad314bdf8ac2a45fa76c7cc5a58cb0e7e6d333111fb5b28d29", "fetched_at": "2026-08-29T09:41:17.039549+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/cargo-expand"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T07:26:22.249818+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "140c5cb03d10aedc95c63e1a071f5794f0de1762d20c3720d9a7ebeb9e1e0cc9", "fetched_at": "2026-08-28T04:07:44.459853+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dtolnay/cargo-expand"}, {"content_hash": "fbb89abeed241bad314bdf8ac2a45fa76c7cc5a58cb0e7e6d333111fb5b28d29", "fetched_at": "2026-08-29T09:41:17.039549+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/cargo-expand"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 98, "longevity": 100, "rhythm": 98}, "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": 3741, "days_push": 14, "days_rel": 14, "gap_med": 10.0, "n_releases_24m": 35}, "score": 98, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}