{"id":58720,"library":"onig","title":"onig","description":"Rust bindings for the Oniguruma regular expression library.","status":"active","version":"6.5.3","language":"rust","source_language":null,"source_url":"https://github.com/iwillspeak/rust-onig","tags":["regex","oniguruma","bindings","text-processing"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nonig = \"6.5.3\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add onig","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"Regex","correct":"use onig::Regex;"}],"quickstart":{"code":"use onig::Regex;\n\nfn main() {\n    let regex = Regex::new(r\"\\d+\").unwrap();\n    let result = regex.find(\"123abc\").unwrap();\n    println!(\"Match at: {:?}\", result);\n}","lang":"rust","description":"Compiles and uses a regular expression to find digits."},"warnings":[{"fix":"Install libonig-dev (Linux) or use the bundled feature (onig_sys).","message":"Requires the Oniguruma C library to be installed on the system.","severity":"gotcha","affected_versions":"*"}],"env_vars":null,"search_vec":"'bind':3,12 'express':8 'librari':9 'onig':1 'oniguruma':6,11 'process':15 'regex':10 'regular':7 'rust':2 'text':14 'text-process':13","created_at":"2026-06-16T16:35:49.315121+00:00","updated_at":"2026-06-16T16:35:49.315121+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/iwillspeak/rust-onig","github":"https://github.com/iwillspeak/rust-onig","docs":"https://docs.rs/onig/","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}}