#media #impl #utils #type #types #string #char #table #lookup #spec

media-type-impl-utils

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

1 unstable release

0.3.0-unstable Nov 23, 2018
Download history 6/week @ 2018-11-23

1 downloads per month
Used in 6 crates (1 directly)

MIT/Apache

40KB
734 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.

License

Licensed under either of

at your option.

Contribution

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

Dependencies

~112KB