Crate

async-trait

Async functions in Rust traits via a proc-macro.

What it is

async-trait provides a #[async_trait] attribute macro that enables async fn in trait definitions. Before native async-in-traits were stabilized in Rust 1.75, this was the only way to define async methods in traits, using Box<dyn Future> internally.

Why it is commonly used

Historically ubiquitous in async Rust codebases for defining async interfaces. Still widely used in codebases that need object-safe async dispatch or that target Rust editions before async trait stabilization.

1.4k
Repositories
91%
Actively maintained
1.3k
Updated ≤ 30 days
3.7M
Total stars
1.2k
Owners

Counted from the Cargo.toml manifests of the 1.4k indexed repositories that declare async-trait as a dependency — not download counts. Dependency data last verified 2026-08-13.

Browse 1398 repositories using async-trait in Repos →
Often used with

Crates that show up unusually often in async-trait projects. The most distinctive pairings rank first — crates these projects use far more than the average indexed Rust project does, not just crates that are popular everywhere. Each percentage is the share of async-trait projects that also use it.

Used by these organizations
50 of 1.4k repositories · ranked by stars · 1.3k pushed in the last 30 days
RuView90kactive

π RuView turns commodity WiFi signals into real-time spatial intelligence, vital sign monitoring, and presence detection — all without a single pixel of video.

hyperswitch43kactive

Open source, composable payments platform | PCI compliant | SaaS and Self-host options | Enables connectivity to multiple payment, payout, fraud, vault and tokenization providers | Uplifts authorization with intelligent routing and revenue recovery | Reduce payment processing costs with cost observability | Reduces payment ops with reconciliation

qdrant34kactive

Qdrant - High-performance, massive-scale Vector Database and Vector Search Engine for the next generation of AI. Also available in the cloud https://cloud.qdrant.io/

rustfs31kactive

🚀2.3x faster than MinIO for 4KB object payloads. RustFS is an open-source, S3-compatible high-performance object storage system supporting migration and coexistence with other S3-compatible platforms such as MinIO and Ceph.

cli30kactive

Google Workspace CLI — one command-line tool for Drive, Gmail, Calendar, Sheets, Docs, Chat, Admin, and more. Dynamically built from Google Discovery Service. Includes AI agent skills.

meetily29kmaintenance

Privacy first, AI meeting assistant with 4x faster Parakeet/Whisper live transcription, speaker diarization, and Ollama summarization built on Rust. 100% local processing. no cloud required. Meetily (Meetly Ai - https://meetily.ai) is the #1 Self-hosted, Open-source Ai meeting note taker for macOS & Windows.

neon23kmaintenance

Neon: Serverless Postgres. We separated storage and compute to offer autoscaling, code-like database branching, and scale to zero.

⑂ 1.1k552
obscura21kactive

The headless browser for AI agents and web scraping

⑂ 1.5k70
← Browse all repos