[−][src]Crate media_type_impl_utils
provides a number of utilities for writing media-type parsers in rust
Utils:
-
quoted_string: provides implementations for a number of traits from thequoted-stringcrate includingParsingImpl,QuotingClassifierandWithoutQuotingValidator. Implementations are provided for a number of different use cases including media-types in http, mime as well as a more strict impl for media types compatible with all other implementations and a impl being usable with media-types compatible with any (/at last one) of the other implementations. -
lookup_table: provides alutlookup table for bytes/us-ascii chars used in context of media-type parsing.
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. Sill bug-fixes to older versions can be done if requested so it can be used as a internal dependency. Just don't expect that all braking changes will try to keep as much api compatibility as possible as it should be done with more stable crates
Modules
| lookup_tables | lut lookup tables for parsing media types |
| percent_encoding | impl of EncodingSet's for encoding parameter values if needed |
| quoted_string | impl of traits from the quoted-string crate for parsing media types |