{"id":57257,"library":"memchr","title":"memchr","description":"Provides extremely fast (uses SIMD on x86_64, aarch64 and wasm32) routines for 1, 2 or 3 byte search and single substring search.","status":"active","version":"2.8.2","language":"rust","source_language":null,"source_url":"https://github.com/BurntSushi/memchr","tags":["search","byte","simd","performance"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nmemchr = \"2.8.2\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add memchr","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"memchr","correct":"use memchr::memchr;"}],"quickstart":{"code":"use memchr::memchr;\n\nfn main() {\n    let haystack = b\"hello world\";\n    if let Some(pos) = memchr(b'w', haystack) {\n        println!(\"Found 'w' at position {}\", pos);\n    }\n}","lang":"rust","description":"Minimal example finding the first occurrence of a byte in a byte slice."},"warnings":[],"env_vars":null,"search_vec":"'1':15 '2':16 '3':18 '64':9 'aarch64':10 'byte':19,26 'extrem':3 'fast':4 'memchr':1 'perform':28 'provid':2 'routin':13 'search':20,24,25 'simd':6,27 'singl':22 'substr':23 'use':5 'wasm32':12 'x86':8","created_at":"2026-06-16T15:35:00.098250+00:00","updated_at":"2026-06-16T15:35:00.098250+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/BurntSushi/memchr","github":"https://github.com/BurntSushi/memchr","docs":"https://docs.rs/memchr/","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}}