#charset #mime #http #media-type #encoding

charsets

An enum representing all charset names commonly used

3 unstable releases

Uses old Rust 2015

0.2.0 Sep 1, 2016
0.1.1 Oct 17, 2015
0.1.0 Aug 17, 2015

#6 in #media-types

25 downloads per month
Used in 4 crates

MIT license

7KB
142 lines

rust-charsets

Build Status Coverage Status MIT licensed

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.

Charset names can be parsed from string, formatted to string and compared. Unregistered charsets are represented useing an Unregistered variant.


lib.rs:

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.

Charset names can be parsed from string, formatted to string and compared. Charset names can be parsed from string, formatted to string and compared. Unregistered charsets are represented using an Unregistered variant.

No runtime deps