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.

486
Repositories
3.2M
Total stars
764
Active
697
Owners
Browse 818 repositories using async-trait in Repos →
Often used with
Used by these organizations
50 of 818 repositories · ranked by stars
rustdesk116kactive

An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.

zed85kactive

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

RuView72kactive

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

⑂ 9.6k193
goose48kactive

an open source, extensible AI agent that goes beyond code suggestions - install, execute, edit, and test with any LLM

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

qdrant32kactive

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/

zeroclaw32kactive

Fast, small, and fully autonomous AI personal assistant infrastructure, any OS, any platform — deploy anywhere, swap anything 🦀

jj30kactive

A Git-compatible VCS that is both simple and powerful

⑂ 1.1k1.1k
rustfs29kactive

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

cli27kactive

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.

wezterm27kactive

A GPU-accelerated cross-platform terminal emulator and multiplexer written by @wez and implemented in Rust

⑂ 1.5k1.7k
nautilus_trader23kactive

Production-grade Rust-native trading engine with deterministic event-driven architecture

turso19kactive

Turso is an in-process SQL database, compatible with SQLite.

⑂ 1.0k695
relay19kactive

Relay is a JavaScript framework for building data-driven React applications.

⑂ 1.9k842
wasmtime18kactive

A lightweight WebAssembly runtime that is fast, secure, and standards-compliant

⑂ 1.7k840
← Browse all repos