Crate

thiserror

Derive macros for ergonomic custom error types.

What it is

thiserror provides a #[derive(Error)] macro that generates std::error::Error implementations for custom error types. Enum variants take #[error("...")] display strings with field interpolation and #[from] attributes for automatic From conversions.

Why it is commonly used

The standard way to define error types in library crates. Typically paired with anyhow: thiserror for typed library-level errors that callers can match on, anyhow for application-level error propagation where the type does not matter.

912
Repositories
5.2M
Total stars
1.3k
Active
1.2k
Owners
Browse 1492 repositories using thiserror in Repos →
Often used with
Used by these organizations
50 of 1.5k repositories · ranked by stars
rustdesk116kactive

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

cc-switch95kactive

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Gemini CLI & Hermes Agent. Only official website: ccswitch.io

bun93kactive

Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one

⑂ 4.7k7.0k
zed85kactive

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

union74kactive

The trust-minimized, zero-knowledge bridging protocol, designed for censorship resistance, extremely high security, and usage in decentralized finance.

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
openinterpreter64kactive

A lightweight coding agent for open models like Deepseek, Kimi, and Qwen

⑂ 5.6k270
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

firecracker35kactive

Secure and fast microVMs for serverless computing.

⑂ 2.4k89
comprehensive-rust33kactive

This is the Rust course used by the Android team at Google. It provides you the material to quickly teach Rust.

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 🦀

iced31kactive

A cross-platform GUI library for Rust, inspired by Elm

⑂ 1.6k445
Antigravity-Manager30kactive

Professional Antigravity Account Manager & Switcher. One-click seamless account switching for Antigravity Tools. Built with Tauri v2 + React (Rust).专业的 Antigravity 账号管理与切换工具。为 Antigravity 提供一键无缝账号切换功能。

⑂ 3.2k1.7k
jj30kactive

A Git-compatible VCS that is both simple and powerful

⑂ 1.1k1.1k
egui29kactive

egui: an easy-to-use immediate mode GUI in Rust that runs on both web and native

⑂ 2.0k1.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.

← Browse all repos