Crate

serde

Framework for serializing and deserializing Rust data structures.

What it is

Serde provides a generic serialization framework through Serialize and Deserialize traits and a derive macro. Any data structure annotated with #[derive(Serialize, Deserialize)] can be converted to and from any supported format — JSON, TOML, YAML, MessagePack, bincode, and more — without writing format-specific code.

Why it is commonly used

Used in virtually every Rust project that touches data interchange: HTTP APIs, configuration files, database records, CLI tools, and network protocols. Format-specific crates like serde_json and toml build on serde's data model, making it the single serialization layer across the entire ecosystem.

1.4k
Repositories
7.5M
Total stars
2.0k
Active
1.8k
Owners
Browse 2288 repositories using serde in Repos →
Often used with
Used by these organizations
50 of 2.3k repositories · ranked by stars
claw-code193kactive

An agent-managed museum exhibit, built in Rust with Gajae-Code / LazyCodex — developed and maintained with no human intervention.

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

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
rustlings63kactive

:crab: Small exercises to get you used to reading and writing Rust code!

⑂ 11k38
rtk60kactive

CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust binary, zero dependencies

⑂ 3.7k1.1k
starship58kactive

☄🌌️ The minimal, blazing-fast, and infinitely customizable prompt for any shell!

⑂ 2.5k1.0k
typst54kactive

A markup-based typesetting system that is powerful and easy to learn.

⑂ 1.6k1.2k
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

sniffnet39kactive

Comfortably monitor your Internet traffic 🕵️‍♂️

⑂ 1.6k66
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.

← Browse all repos