# dtolnay/serde-yaml

Strongly typed YAML library for Rust

Repository: https://github.com/dtolnay/serde-yaml
Canonical: https://ross.abutalabs.com/products/serde-yaml
Language: Rust
License: Apache-2.0
License Family: permissive
Topics: serde, yaml, rust
Archived: true
Last push: 2024-03-25T00:50:35+00:00

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

## Adoption (not part of the score)
Stars 1020, forks 215 (observed 2026-08-28T04:03:15.579220+00:00)

## What it is
serde_yaml is a Rust library that implements the Serde serialization framework for the YAML data format, enabling strongly typed conversion between Rust structs/enums and YAML documents. The project is explicitly no longer maintained, and its final release (0.9.34) is marked as deprecated on crates.io.

## Use cases
- parse yaml files in rust
- serialize rust structs to yaml
- deserialize yaml config into typed rust structs
- serde yaml data format support
- convert rust objects to yaml string and back
- strongly typed yaml library for rust

## When to choose
- You are maintaining an existing Rust project that already depends on serde_yaml 0.9 and just need it to keep building.
- You want a mature, well-tested serde-based YAML (de)serialization implementation and are comfortable pinning a frozen 0.9 version.

## When to avoid
- You are starting a new Rust project - the crate is unmaintained and its crates.io release is explicitly marked deprecated, so a maintained fork or alternative is a better choice.
- You need ongoing bug fixes, security patches, or support for newer Rust compiler versions and YAML edge cases.
- You need non-serde YAML tooling such as manipulation of arbitrary untyped YAML documents.

## Facets
- artifact type: library
- maturity: abandoned
- function: serialization, yaml, parser
- domain: developer-tools, files, parsers
- platform: rust
- tags: serde, deserialization, config-files, deprecated, unmaintained

## Member repositories
- dtolnay/serde-yaml (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:15.579220+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-30T07:09:16.733039+00:00, confidence not recorded.
  - readme: https://github.com/dtolnay/serde-yaml (fetched 2026-08-28T04:03:15.579220+00:00, sha 02f410ac5ea9)
  - registry_crates: https://crates.io/api/v1/crates/serde-yaml (fetched 2026-08-29T13:09:12.952291+00:00, sha 1ed808676c65)
- Data as of 2026-08-30T08:39:29.467469+00:00.
