You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to give a heads up: MIME database API has been merged into Crystal's standard library and will probably be included in the next release. See crystal-lang/crystal#5765 for details.
I guess this could make this shard mostly obsolete, typical use cases should be covered by the stdlib implementation.
There are some differences: it doesn't read a JSON file but the mime.types format (which commonly used by MIME applications). And it doesn't ship with a copy of this database by default, relying on a list provided by the operating system.
These differences are IMO not very relevant. It's quite trivial to switch to mime.types format (this is the de-facto standard anyway) and bake the file into the binary (if required).
The text was updated successfully, but these errors were encountered:
I want to give a heads up:
MIME
database API has been merged into Crystal's standard library and will probably be included in the next release. See crystal-lang/crystal#5765 for details.I guess this could make this shard mostly obsolete, typical use cases should be covered by the stdlib implementation.
There are some differences: it doesn't read a JSON file but the
mime.types
format (which commonly used by MIME applications). And it doesn't ship with a copy of this database by default, relying on a list provided by the operating system.These differences are IMO not very relevant. It's quite trivial to switch to
mime.types
format (this is the de-facto standard anyway) and bake the file into the binary (if required).The text was updated successfully, but these errors were encountered: