#lookup-tables #parser #table #string #spec #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 104/week @ 2024-04-01 21/week @ 2024-04-08 42/week @ 2024-04-15 44/week @ 2024-04-22 32/week @ 2024-04-29 48/week @ 2024-05-06 38/week @ 2024-05-13 40/week @ 2024-05-20 41/week @ 2024-05-27 39/week @ 2024-06-03 38/week @ 2024-06-10 36/week @ 2024-06-17 30/week @ 2024-06-24 18/week @ 2024-07-08 56/week @ 2024-07-15

107 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