{"id":75995,"library":"csf","title":"CSF","description":"A library for compressed static functions (maps) using perfect hashing and value compression.","status":"active","version":"0.1.14","language":"rust","source_language":null,"source_url":"https://github.com/beling/bsuccinct-rs","tags":["compression","perfect-hashing","static-functions","maps"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\ncsf = \"0.1.14\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add csf","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"CompressedStaticFunction","correct":"use csf::CompressedStaticFunction;"}],"quickstart":{"code":"use csf::CompressedStaticFunction;\n\nfn main() {\n    let csf = CompressedStaticFunction::new(&[(1, \"a\"), (2, \"b\")]);\n    println!(\"{:?}\", csf.get(&1));\n}","lang":"rust","description":"Creates a compressed static function from key-value pairs and queries it."},"warnings":[],"env_vars":null,"search_vec":"'compress':5,14,15 'csf':1 'function':7,21 'hash':11,18 'librari':3 'map':8,22 'perfect':10,17 'perfect-hash':16 'static':6,20 'static-funct':19 'use':9 'valu':13","created_at":"2026-06-17T19:23:28.252490+00:00","updated_at":"2026-06-17T19:23:28.252490+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/beling/bsuccinct-rs","github":"https://github.com/beling/bsuccinct-rs","docs":"https://docs.rs/csf/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility","other"],"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}}