use Lazy instead of OnceCell for MIMEDB

This commit is contained in:
Lynne Megido 2021-09-24 23:57:01 +10:00
parent c2e6738f6b
commit 6718f879f7
Signed by: lynnesbian
GPG Key ID: F0A184B5213D9F90

View File

@ -17,6 +17,7 @@ files module, removed string module, etc.
headings that (pointlessly?) previously divided the changelog into v0.3, v0.2, and v0.1
- A few minor grammar tweaks and reorganisations
- Replaced [`cached`] dependency with a simple HashMap-backed store
- Use [`once_cell`]'s `Lazy` instead of its `OnceCell` for the `MIMEDB` const
## v0.3.6 - 2021-08-16
### Other
@ -250,6 +251,7 @@ Initial commit!
[`infer`]: https://crates.io/crates/infer
[`mime_guess`]: https://crates.io/crates/mime_guess
[`new_mime_guess`]: https://crates.io/crates/new_mime_guess
[`once_cell`]: https://crates.io/crates/once_cell
[`snailquote`]: https://crates.io/crates/snailquote
[`structopt`]: https://crates.io/crates/structopt
[`xdg-mime`]: https://crates.io/crates/xdg-mime