mime_typed

Crates.iomime_typed
lib.rsmime_typed
version0.1.7
sourcesrc
created_at2022-07-14 07:37:01.054115
updated_at2022-07-18 04:52:17.689811
descriptionMore types for `mime` crate
homepage
repositoryhttps://github.com/JohnScience/mime_typed
max_upload_size
id625504
size15,792
Dmitrii - Demenev (JohnScience)

documentation

https://docs.rs/mime_typed

README

crates.io crates.io

More types for mime

What is mime library?

At the moment of writing, mime is the most widely used MIME types library on crates.io with over 39.4M all-time downloads and over 5.5M recent downloads.

Its notable dependents are

Even though mime

  1. doesn't have a README.md on crates.io;
  2. hasn't been updated for two years
  3. doesn't support all MIME types listed in RFC 6838 by IETF;
  4. has last published version at https://github.com/hyperium/mime/tree/e3e7444ca607ff87cd1475455c26876b936af77a instead of latest commit;

it is nonetheless a reasonably well documented library that has been proven to be well suitable for many projects by its use.

What does mime_typed bring to the table?

This library allows writing code generic over MIME types easier and has opt-in support for mime. With mime_support feature enabled, traits obtain new functions for returning instances of mime library types.

With evcxr_support feature, the crate also offers support for evcxr Rust kernel for Jupyter Notebook.

The types offered by library are zero-sized.

Opt-in support for other projects may be considered as well.

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Commit count: 11

cargo fmt