{"id":65521,"library":"new-mime-guess","title":"new mime guess","description":"Associates MIME types with file extensions, providing a simple lookup interface.","status":"active","version":"4.0.4","language":"rust","source_language":null,"source_url":"https://github.com/Lynnesbian/mime_guess","tags":["mime","file-extension","lookup","utility"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nnew_mime_guess = \"4.0.4\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add new_mime_guess","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"from_ext","correct":"use new_mime_guess::from_ext;"}],"quickstart":{"code":"use new_mime_guess::from_ext;\n\nfn main() {\n    let mime = from_ext(\"html\").unwrap_or_else(|| \"application/octet-stream\".parse().unwrap());\n    println!(\"MIME type: {}\", mime);\n}","lang":"rust","description":"Looks up the MIME type for a file extension."},"warnings":[{"fix":"Check for newer alternatives like `mime_guess2`.","message":"This crate is a fork of the unmaintained `mime_guess`; may have limited updates.","severity":"gotcha","affected_versions":">=4.0.0"}],"env_vars":null,"search_vec":"'associ':4 'extens':9,18 'file':8,17 'file-extens':16 'guess':3 'interfac':14 'lookup':13,19 'mime':2,5,15 'new':1 'provid':10 'simpl':12 'type':6 'util':20","created_at":"2026-06-17T17:11:37.255896+00:00","updated_at":"2026-06-17T17:11:37.255896+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/Lynnesbian/mime_guess","github":"https://github.com/Lynnesbian/mime_guess","docs":"https://docs.rs/new_mime_guess/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}