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
88%
Actively maintained
1.2k
Updated ≤ 30 days
3.8M
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-09-23.

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.2k pushed in the last 30 days
RuView★ 95kactive

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

hyperswitch★ 44kactive

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

qdrant★ 35kactive

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/

rustfs★ 33kactive

🚀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.

cli★ 31kactive

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.

meetily★ 31kactive

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.

obscura★ 27kactive

The headless browser for AI agents and web scraping

⑂ 2.0k◎ 156
neon★ 23kactive

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

⑂ 1.1k◎ 562
OpenLogi★ 22kactive

⚡️A native, local-first alternative to Logitech Options+, written in Rust 🦀 — remap buttons, DPI, and SmartShift over HID++. No account, no telemetry.

⑂ 702◎ 587
← Browse all repos