Cargo Features

[dependencies]
mime_guess2 = { version = "2.0.5", default-features = false, features = ["rev-mappings"] }
default = rev-mappings

The rev-mappings feature is set by default whenever mime_guess2 is added without default-features = false somewhere in the dependency tree.

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_guess2::get_mime_extensions, mime_guess2::get_mime_extensions_str, mime_guess2::get_extensions