#media #impl #utils #type #parser #media-type #table #string #spec #lookup

deprecated media-type-impl-utils

utils for writing media-type parsers (char lookup table, Quted String Spec, ...)

2 releases

Uses old Rust 2015

0.3.1-unstable Oct 11, 2019
0.3.0-unstable Nov 23, 2018
Download history 61/week @ 2023-01-31 13/week @ 2023-02-07 43/week @ 2023-02-14 60/week @ 2023-02-21 28/week @ 2023-02-28 28/week @ 2023-03-07 25/week @ 2023-03-14 20/week @ 2023-03-21 28/week @ 2023-03-28 14/week @ 2023-04-04 20/week @ 2023-04-11 3/week @ 2023-04-18 36/week @ 2023-04-25 21/week @ 2023-05-02 15/week @ 2023-05-09 14/week @ 2023-05-16

88 downloads per month
Used in 8 crates (via mail-internals)


750 lines

media-type-impl-utils Crates.io media-type-impl-utils License Build Status

Utilities for implementing media type parsers. This is mainly used by the media-type crate but some of the grammar parts also apply to other parts (e.g. quoted-strings in some mail headers) so it can be usefull to be able to reuse them.

Note: Currently is crate is rather unstable. It will still keep to semver but changing to a newer (braking) version might induce large api changes.


Licensed under either of

at your option.


Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Change Log

  • 0.2.1

    • Added percent_encoding module providing percent-encoding EncodingSet implementations for Http and Mime tokens.
  • 0.3.0

    • use quoted-string v0.6
    • renamed crate
    • implement Default for 0-sized type provider structs