{"id":57239,"library":"rustc-hash","title":"rustc-hash","description":"A speedy, non-cryptographic hashing algorithm used by rustc.","status":"active","version":"2.1.2","language":"rust","source_language":null,"source_url":"https://github.com/rust-lang/rustc-hash","tags":["hash","performance","non-cryptographic"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nrustc-hash = \"2.1.2\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add rustc-hash","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"FxHashMap","correct":"use rustc_hash::FxHashMap;"}],"quickstart":{"code":"use rustc_hash::FxHashMap;\n\nlet mut map = FxHashMap::default();\nmap.insert(\"key\", 42);\nprintln!(\"Value: {}\", map[\"key\"]);","lang":"rust","description":"Create a fast hash map using the Fx hasher."},"warnings":[{"fix":"Use a cryptographic hash like SHA-256 for security-sensitive applications","message":"Not suitable for cryptographic purposes","severity":"gotcha","affected_versions":">=2.0.0"}],"env_vars":null,"search_vec":"'algorithm':10 'cryptograph':8,18 'hash':3,9,14 'non':7,17 'non-cryptograph':6,16 'perform':15 'rustc':2,13 'rustc-hash':1 'speedi':5 'use':11","created_at":"2026-06-16T15:34:11.338959+00:00","updated_at":"2026-06-16T15:34:11.338959+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/rust-lang/rustc-hash","github":"https://github.com/rust-lang/rustc-hash","docs":"https://docs.rs/rustc-hash/","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-16","next_check":"2026-12-13","install_tag":null}}