8 releases
0.1.7 | Nov 22, 2024 |
---|---|
0.1.6 | Oct 9, 2024 |
#195 in Procedural macros
25 downloads per month
1MB
22K
SLoC
Mime2
MIME types that are more up to date than mime.
How to update
Update all the CSVs from https://www.iana.org/assignments/media-types/media-types.xhtml.
application.csv
: https://www.iana.org/assignments/media-types/application.csvfont.csv
: https://www.iana.org/assignments/media-types/font.csvhaptics.csv
: https://www.iana.org/assignments/media-types/haptics.csvimage.csv
: https://www.iana.org/assignments/media-types/image.csvmessage.csv
: https://www.iana.org/assignments/media-types/message.csvmodel.csv
: https://www.iana.org/assignments/media-types/model.csvmultipart.csv
: https://www.iana.org/assignments/media-types/multipart.csvtext.csv
: https://www.iana.org/assignments/media-types/text.csvvideo.csv
: https://www.iana.org/assignments/media-types/video.csv
Why is manually updating required?
If you attempt to do a simple get reqwest on the url you receive:
Status 403 Forbidden: User-Agent required. Contact iana@iana.org with questions.
Attempting circumvent this are presently out of scope.
Dependencies
~5–310KB