<commit_before># tls-parser

[![Build Status](https://travis-ci.org/rusticata/tls-parser.svg?branch=master)](https://travis-ci.org/rusticata/tls-parser)

## Overview

tls-parser is a parser for the TLS protocol. The parser supports protocols SSLv3 to TLSv1.2 (in particular,
TLSv1.3 is not supported since not yet released, but support for draft 18 is implemented in the
`tls13` branch).

The parser is based on [nom](https://github.com/rusticata/tls-parser) (see nom's documentation for return and
error types).

The parser is published on `crates.io`.
To use it, add the following to your `Cargo.toml` file:<commit_msg>README: add badges, update comment on TLS 1.3<commit_after># tls-parser

[![LICENSE](https://img.shields.io/badge/License-LGPL%20v2.1-blue.svg)](LICENSE)
[![Build Status](https://travis-ci.org/rusticata/tls-parser.svg?branch=master)](https://travis-ci.org/rusticata/tls-parser)
[![Crates.io Version](https://img.shields.io/crates/v/tls-parser.svg)](https://crates.io/crates/tls-parser)

## Overview

tls-parser is a parser for the TLS protocol. The parser supports protocols SSLv3 to TLSv1.2 (in particular,
TLSv1.3 is supported and implemented as draft 18.

The parser is based on [nom](https://github.com/rusticata/tls-parser) (see nom's documentation for return and
error types).

The parser is published on `crates.io`.
To use it, add the following to your `Cargo.toml` file:
{'fraction_non_alphanumeric': 0.13357142857142856, 'fraction_numerical': 0.015714285714285715, 'mean_word_length': 4.813278008298755, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 9, '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': '6010050', 'n_tokens_mistral': 483, 'n_tokens_neox': 462, 'n_words': 140}