coriolinus / accept-header

3 stars 1 forks source link

Don't depend on `mime` crate #3

Closed maxcountryman closed 6 months ago

maxcountryman commented 6 months ago

It seems like mime is "rotting" and it's unclear if this will change in the future. Meanwhile, alternatives like mediatype already exist. Perhaps this crate should proactively drop mime and build on more modern foundations.

coriolinus commented 6 months ago

I'd be happy to look at a pr implementing this change.

On Tue, Apr 23, 2024, 19:46 Max Countryman @.***> wrote:

It seems like mime is "rotting" https://github.com/hyperium/mime/issues/153 and it's unclear if this will change in the future. Meanwhile, alternatives like mediatype https://github.com/picoHz/mediatype already exist. Perhaps this crate should proactively drop mime and build on more modern foundations.

— Reply to this email directly, view it on GitHub https://github.com/coriolinus/accept-header/issues/3, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB3V4TVXEH4G5ARMQJALDFDY62M67AVCNFSM6AAAAABGVMSFMGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGI2TSNBSHA3DIOI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

maxcountryman commented 6 months ago

It ultimately made more sense to implement this as its own crate.