mime
mime copied to clipboard
MIMEs in Rust
Hi. I noticed that currently there was no actively maintained mime-type parsing library for Rust so I made a new `mediatype` crate designed for the latest Rust ecosystem. This is...
As defined in http://www.iana.org/assignments/media-types/media-types.xhtml
The application type for cbor should be ``application/cbor`` as defined in https://www.rfc-editor.org/rfc/rfc7049.html#section-7.3 and https://www.iana.org/assignments/media-types/media-types.xhtml#application .
This crate is an important piece of the Rust ecosystem and I think it could benefit from some additional maintainer love. I realize that everyone is probably very busy and...
Resolves https://github.com/hyperium/mime/issues/131.
``` error: to use a constant of type `Mime` in a pattern, `Mime` must be annotated with `#[derive(PartialEq, Eq)]` ```
This PR is very similar to #128 and can replace it, because it also implements/derives Eq+PartialEq traits for more (I think all) public types. Reasons for this are the same...
With Hyper on its way to 1.0, perhaps it's time to start discussing where this crate is at in relation to its own eventual 1.0 release, as well as create...
As specified in the TOML spec: https://github.com/toml-lang/toml/blob/master/toml.md#mime-type Signed-off-by: Matt Butcher
closes #98