#lookup-tables #parser #table #spec #string #media #media-type

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

#21 in #media-type

Download history 57/week @ 2024-07-29 33/week @ 2024-08-05 27/week @ 2024-08-12 19/week @ 2024-08-19 53/week @ 2024-08-26 11/week @ 2024-09-02 31/week @ 2024-09-09 24/week @ 2024-09-16 62/week @ 2024-09-23 21/week @ 2024-09-30 4/week @ 2024-10-07 28/week @ 2024-10-14 13/week @ 2024-10-21 26/week @ 2024-10-28 25/week @ 2024-11-04 7/week @ 2024-11-11

77 downloads per month
Used in 11 crates (2 directly)

MIT/Apache

41KB
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.

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

~120KB