Cargo Features
[dependencies]
mime-infer = { version = "3.0.0", default-features = false, features = ["rev-mappings"] }
- default = rev-mappings
-
The
rev-mappings
feature is set by default whenevermime-infer
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-infer::get_mime_extensions
,mime-infer::get_mime_extensions_str
,mime-infer::get_extensions
…