# serde-rs/serde

Serialization framework for Rust

Repository: https://github.com/serde-rs/serde
Canonical: https://ross.abutalabs.com/products/serde
Homepage: https://serde.rs/
Language: Rust
License: Apache-2.0
License Family: permissive
Topics: rust, serde, derive, no-std
Last push: 2026-08-25T03:53:14+00:00

## Health v2 (maintenance only)
Score: 97/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 93, longevity 100
- inputs: {"age_days": 4676, "days_push": 8, "days_rel": 46, "gap_med": 5, "n_releases_24m": 20}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 10784, forks 936 (observed 2026-08-28T04:10:44.277637+00:00)

## What it is
Serde is Rust's standard serialization and deserialization framework, built on the trait system with compile-time derive macros instead of runtime reflection. It lets any data structure be converted to and from any supported data format such as JSON, YAML, TOML, CBOR, or MessagePack with near-handwritten performance.

## Use cases
- serialize rust structs to json
- deserialize api responses into typed structs
- parse configuration files like toml or yaml into rust types
- convert data structures to compact binary formats for embedded systems
- generate serialize and deserialize implementations automatically with derive macros
- exchange data between rust services over http apis

## When to choose
- you need efficient, type-safe serialization in Rust without reflection overhead
- you want one data model that works across many formats (JSON, YAML, TOML, CBOR, etc.)
- you are targeting no_std or embedded environments and need a compact format like Postcard
- you want compile-time generated implementations via #[derive(Serialize, Deserialize)]

## When to avoid
- you are not working in Rust
- you need runtime-flexible serialization of dynamically typed data with schema evolution
- you need a format Serde has no community crate for

## Facets
- artifact type: library
- maturity: stable
- function: serialization, parser, developer-tools
- domain: developer-tools, web-development, apis, embedded-systems
- platform: rust, cross-platform, embedded, wasm
- tags: derive-macros, no-std, json, yaml, toml, messagepack, trait-based

## Member repositories
- serde-rs/serde (main) score 97

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:44.277637+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:17:51.978929+00:00, confidence not recorded.
  - readme: https://github.com/serde-rs/serde (fetched 2026-08-28T04:10:44.277637+00:00, sha e3c296bb000a)
  - homepage: https://serde.rs/ (fetched 2026-08-29T08:16:44.381714+00:00, sha f749f9c0a4a1)
  - registry_crates: https://crates.io/api/v1/crates/serde (fetched 2026-08-29T08:16:44.390966+00:00, sha 844ae638af50)
- Data as of 2026-08-30T08:39:29.467469+00:00.
