async-trait
Cargov0.1.92Type erasure for async trait methods
Not recommended for new projects
No — async-trait should not be adopted for new projects. No license declared — you have no explicit right to use this code.
- ?Adoption: grade ?, Not reported by this registry.
No download data reported for this package yet.
- AMaintenance: grade A, Excellent.
Last published 33 days ago. 10 releases in the last 2 years.
- AWeight: grade A, Excellent.
Zero runtime dependencies.
- BSupply chain: grade B, Good.
This package has a single maintainer (bus factor of 1).
- FLicense: grade F, Failing.
No license declared — you have no explicit right to use this code.
Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.
Install cost
What you actually take on by adding async-trait to a project.
Runtime packages this one declares itself.
Distinct packages in the full runtime tree, deduplicated the way a package manager would.
Unpacked size of this package plus its entire runtime tree.
Longest resolved dependency chain below this package.
Compatibility
- Rust edition
- No constraint declared
async-trait vs the alternatives
Packages solving a similar problem in the cargo ecosystem, compared on the signals that drive an adoption decision.
Release history
9 releases in the last two years, typically about 25 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 0.1.92latest | 1 month ago | — | MIT OR Apache-2.0 |
| 0.1.91 | 1 month ago | — | MIT OR Apache-2.0 |
| 0.1.90 | 1 month ago | — | MIT OR Apache-2.0 |
| 0.1.89 | 1 year ago | — | MIT OR Apache-2.0 |
| 0.1.88 | 1 year ago | — | MIT OR Apache-2.0 |
| 0.1.87 | 1 year ago | — | MIT OR Apache-2.0 |
| 0.1.86 | 1 year ago | — | MIT OR Apache-2.0 |
| 0.1.85 | 1 year ago | — | MIT OR Apache-2.0 |
| 0.1.84 | 1 year ago | — | MIT OR Apache-2.0 |
| 0.1.83 | 1 year ago | — | MIT OR Apache-2.0 |
| 0.1.82 | 2 years ago | — | MIT OR Apache-2.0 |
| 0.1.81 | 2 years ago | — | MIT OR Apache-2.0 |
| 0.1.80 | 2 years ago | — | MIT OR Apache-2.0 |
| 0.1.79 | 2 years ago | — | MIT OR Apache-2.0 |
| 0.1.78 | 2 years ago | — | MIT OR Apache-2.0 |
Overview
async-trait is an Cargo package that type erasure for async trait methods. The latest version is 0.1.92.
Who should use it
Teams working in the Cargo ecosystem who need type erasure for async trait methods and value a focused solution.
When not to use it
Consider an alternative if you need to or if a more actively-maintained option better fits your Cargo stack.
Pros
- Zero runtime dependencies — minimal footprint.
Cons
- No license detected — review usage terms before adopting.
Auto-generated from collected registry metadata. No external claims are inferred.
Maintainers
Keywords
Frequently asked questions
Should I use async-trait?
No — async-trait should not be adopted for new projects. No license declared — you have no explicit right to use this code.
How do I install async-trait?
Run `cargo add async-trait` to add async-trait to your Cargo project.
What license is async-trait released under?
No license was detected in async-trait's metadata; review the repository before use.
Is async-trait still maintained?
The most recent release of async-trait (v0.1.92) was published 1 month ago.