{"adoption": {"forks": 101, "observed_at": "2026-08-28T04:06:23.549874+00:00", "stars": 2186}, "canonical_url": "https://ross.abutalabs.com/products/async-trait", "card": {"archived": false, "artifact_type": "library", "description": "Type erasure for async trait methods", "domain": ["programming-languages", "developer-tools"], "enriched": true, "function": ["type-system", "concurrency", "developer-tools"], "health_score": 100, "homepage": null, "language": "Rust", "license": "Apache-2.0", "license_family": "permissive", "maturity": "stable", "member_repos": ["dtolnay/async-trait"], "name": "dtolnay/async-trait", "platform": ["rust", "cross-platform"], "pushed_at": "2026-08-25T03:37:21+00:00", "repo": "dtolnay/async-trait", "stars": 2186, "tags": ["async", "proc-macro", "dyn-trait", "attribute-macro", "rust", "algorithms"], "topics": [], "urls": [], "use_cases": ["use async fn in traits with Box<dyn Trait>", "make async trait methods dyn compatible", "store heterogeneous async trait objects in a Vec", "avoid 'trait is not dyn compatible' errors for async methods", "write async trait impls that work across Rust versions"], "what_it_is": "A Rust attribute macro crate that makes async functions in traits work with dyn Trait (dynamic dispatch) via type erasure. It bridges the gap left by Rust 1.75's native async fn in traits, which does not support dyn compatibility.", "when_to_avoid": ["you only need static dispatch of async trait methods (use native async fn in traits)", "you can use the built-in dyn-compatible alternatives in modern Rust"], "when_to_choose": ["you need dyn Trait with async trait methods", "you must support Rust versions older than 1.75", "you want boxed async trait objects in collections"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/async-trait", "repo": "dtolnay/async-trait", "role": "main", "score": 98}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:06:23.549874+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T02:47:54.267493+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c1dda26b003963c2fc110afe5bcc14aa8044dd7b724913f9cfdc99050551bff5", "fetched_at": "2026-08-28T04:06:23.549874+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dtolnay/async-trait"}, {"content_hash": "2b8a8139e15e8523bef65ed96ec42ebb8be90528bd2a37c5490ac4d1f2fbb71e", "fetched_at": "2026-08-29T10:28:05.740395+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/async-trait"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:06:23.549874+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T02:47:54.267493+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c1dda26b003963c2fc110afe5bcc14aa8044dd7b724913f9cfdc99050551bff5", "fetched_at": "2026-08-28T04:06:23.549874+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dtolnay/async-trait"}, {"content_hash": "2b8a8139e15e8523bef65ed96ec42ebb8be90528bd2a37c5490ac4d1f2fbb71e", "fetched_at": "2026-08-29T10:28:05.740395+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/async-trait"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T02:47:54.267493+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c1dda26b003963c2fc110afe5bcc14aa8044dd7b724913f9cfdc99050551bff5", "fetched_at": "2026-08-28T04:06:23.549874+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dtolnay/async-trait"}, {"content_hash": "2b8a8139e15e8523bef65ed96ec42ebb8be90528bd2a37c5490ac4d1f2fbb71e", "fetched_at": "2026-08-29T10:28:05.740395+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/async-trait"}], "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:23.549874+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:06:23.549874+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:06:23.549874+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T02:47:54.267493+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c1dda26b003963c2fc110afe5bcc14aa8044dd7b724913f9cfdc99050551bff5", "fetched_at": "2026-08-28T04:06:23.549874+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dtolnay/async-trait"}, {"content_hash": "2b8a8139e15e8523bef65ed96ec42ebb8be90528bd2a37c5490ac4d1f2fbb71e", "fetched_at": "2026-08-29T10:28:05.740395+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/async-trait"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:06:23.549874+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:06:23.549874+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T02:47:54.267493+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c1dda26b003963c2fc110afe5bcc14aa8044dd7b724913f9cfdc99050551bff5", "fetched_at": "2026-08-28T04:06:23.549874+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dtolnay/async-trait"}, {"content_hash": "2b8a8139e15e8523bef65ed96ec42ebb8be90528bd2a37c5490ac4d1f2fbb71e", "fetched_at": "2026-08-29T10:28:05.740395+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/async-trait"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:06:23.549874+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:06:23.549874+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:06:23.549874+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T02:47:54.267493+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c1dda26b003963c2fc110afe5bcc14aa8044dd7b724913f9cfdc99050551bff5", "fetched_at": "2026-08-28T04:06:23.549874+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dtolnay/async-trait"}, {"content_hash": "2b8a8139e15e8523bef65ed96ec42ebb8be90528bd2a37c5490ac4d1f2fbb71e", "fetched_at": "2026-08-29T10:28:05.740395+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/async-trait"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:06:23.549874+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:06:23.549874+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T02:47:54.267493+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c1dda26b003963c2fc110afe5bcc14aa8044dd7b724913f9cfdc99050551bff5", "fetched_at": "2026-08-28T04:06:23.549874+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dtolnay/async-trait"}, {"content_hash": "2b8a8139e15e8523bef65ed96ec42ebb8be90528bd2a37c5490ac4d1f2fbb71e", "fetched_at": "2026-08-29T10:28:05.740395+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/async-trait"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T02:47:54.267493+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c1dda26b003963c2fc110afe5bcc14aa8044dd7b724913f9cfdc99050551bff5", "fetched_at": "2026-08-28T04:06:23.549874+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dtolnay/async-trait"}, {"content_hash": "2b8a8139e15e8523bef65ed96ec42ebb8be90528bd2a37c5490ac4d1f2fbb71e", "fetched_at": "2026-08-29T10:28:05.740395+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/async-trait"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T02:47:54.267493+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c1dda26b003963c2fc110afe5bcc14aa8044dd7b724913f9cfdc99050551bff5", "fetched_at": "2026-08-28T04:06:23.549874+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dtolnay/async-trait"}, {"content_hash": "2b8a8139e15e8523bef65ed96ec42ebb8be90528bd2a37c5490ac4d1f2fbb71e", "fetched_at": "2026-08-29T10:28:05.740395+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/async-trait"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T02:47:54.267493+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c1dda26b003963c2fc110afe5bcc14aa8044dd7b724913f9cfdc99050551bff5", "fetched_at": "2026-08-28T04:06:23.549874+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dtolnay/async-trait"}, {"content_hash": "2b8a8139e15e8523bef65ed96ec42ebb8be90528bd2a37c5490ac4d1f2fbb71e", "fetched_at": "2026-08-29T10:28:05.740395+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/async-trait"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 99, "longevity": 100, "rhythm": 96}, "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": 2599, "days_push": 8, "days_rel": 25, "gap_med": 25, "n_releases_24m": 10}, "score": 98, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}