{"id":57674,"library":"headers","title":"Headers","description":"Typed HTTP headers for Rust, providing strongly-typed header types.","status":"active","version":"0.4.1","language":"rust","source_language":null,"source_url":"https://github.com/hyperium/headers","tags":["http","headers","web","types"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nheaders = \"0.4.1\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add headers","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"HeaderMap","correct":"use headers::HeaderMap;"}],"quickstart":{"code":"use headers::HeaderMap;\n\nfn main() {\n    let mut headers = HeaderMap::new();\n    headers.insert(\"Content-Type\", \"text/html\".parse().unwrap());\n    println!(\"Headers: {:?}\", headers);\n}","lang":"rust","description":"Creates a HeaderMap and inserts a Content-Type header."},"warnings":[],"env_vars":null,"search_vec":"'header':1,4,11,14 'http':3,13 'provid':7 'rust':6 'strong':9 'strongly-typ':8 'type':2,10,12,16 'web':15","created_at":"2026-06-16T15:53:16.109815+00:00","updated_at":"2026-06-16T15:53:16.109815+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://hyper.rs","github":"https://github.com/hyperium/headers","docs":"https://docs.rs/headers/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["networking"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-16","next_check":"2026-12-13","install_tag":null}}