<commit_before>Serde YAML Serialization Library
================================

[![Build Status](https://api.travis-ci.org/dtolnay/serde-yaml.svg?branch=master)](https://travis-ci.org/dtolnay/serde-yaml)
[![Latest Version](https://img.shields.io/crates/v/serde_yaml.svg)](https://crates.io/crates/serde_yaml)
[![Rust Documentation](https://img.shields.io/crates/v/serde_yaml.svg?label=rustdoc)](https://dtolnay.github.io/serde-yaml/serde_yaml/)

This crate is a Rust library for using the [Serde](https://github.com/serde-rs/serde)
serialization framework with data in [YAML](http://yaml.org) file format. This
library does not reimplement a YAML parser; it uses [yaml-rust](https://github.com/chyh1990/yaml-rust)
which is a pure Rust YAML 1.2 implementation.

Installation
============

Version 0.2.x of this crate works with 0.7.x of Serde. Both can be found on
[crates.io](https://crates.io/crates/serde_yaml) with a `Cargo.toml` like:

```toml
[dependencies]
serde = "^0.7"
serde_yaml = "^0.2"
```<commit_msg>Link to release notes<commit_after>Serde YAML Serialization Library
================================

[![Build Status](https://api.travis-ci.org/dtolnay/serde-yaml.svg?branch=master)](https://travis-ci.org/dtolnay/serde-yaml)
[![Latest Version](https://img.shields.io/crates/v/serde_yaml.svg)](https://crates.io/crates/serde_yaml)
[![Rust Documentation](https://img.shields.io/crates/v/serde_yaml.svg?label=rustdoc)](https://dtolnay.github.io/serde-yaml/serde_yaml/)

This crate is a Rust library for using the [Serde](https://github.com/serde-rs/serde)
serialization framework with data in [YAML](http://yaml.org) file format. This
library does not reimplement a YAML parser; it uses [yaml-rust](https://github.com/chyh1990/yaml-rust)
which is a pure Rust YAML 1.2 implementation.

Installation
============

Version 0.2.x of this crate works with 0.7.x of Serde. Both can be found on
[crates.io](https://crates.io/crates/serde_yaml) with a `Cargo.toml` like:

```toml
[dependencies]
serde = "^0.7"
serde_yaml = "^0.2"
```

Release notes are available under [GitHub releases](https://github.com/dtolnay/serde-yaml/releases).
{'fraction_non_alphanumeric': 0.19485981308411215, 'fraction_numerical': 0.013084112149532711, 'mean_word_length': 5.260233918128655, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 19, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3326941', 'n_tokens_mistral': 780, 'n_tokens_neox': 752, 'n_words': 158}