This repository has been archived on 2023-03-24. You can view files and clone it, but cannot push or open issues or pull requests.
rust-charsets/README.md
2015-08-17 19:59:21 +02:00

15 lines
895 B
Markdown

# rust-charsets
[![Build Status](https://travis-ci.org/pyfisch/rust-charsets.svg?branch=master)](https://travis-ci.org/pyfisch/rust-charsets)
[![Coverage Status](https://coveralls.io/repos/pyfisch/rust-charsets/badge.svg)](https://coveralls.io/r/pyfisch/rust-charsets)
[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE)
[![crates.io](http://meritbadge.herokuapp.com/charsets)](https://crates.io/crates/charsets)
The documentation is located at http://pyfisch.github.io/rust-charsets/
The crate provides an enum representing all charset names used in Media Types
and HTTP header values. The list can be found at [the IANA Character Sets
registry](http://www.iana.org/assignments/character-sets/character-sets.xhtml).
Charset names can be parsed from string, formatted to string and compared.
Unregistered charsets are represented useing an `Unregistered` variant.