Cargo Features
[dependencies]
mime_guess = { version = "2.0.5", default-features = false, features = ["rev-mappings"] }
- default = rev-mappings
-
The
rev-mappings
feature is set by default whenevermime_guess
is added without
somewhere in the dependency tree.default-features = false - rev-mappings default
-
generate reverse-mappings for lookup of extensions by MIME type default-on but can be turned off for smaller generated code
Affects
impl_bin_search::get_extensions
,mime_guess::get_mime_extensions
,mime_guess::get_mime_extensions_str
,mime_guess::get_extensions
…