{"id":57087,"library":"anyhow","title":"Anyhow","description":"Flexible concrete Error type built on std::error::Error.","status":"active","version":"1.0.102","language":"rust","source_language":null,"source_url":"https://github.com/dtolnay/anyhow","tags":["error","result","convenience"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nanyhow = \"1.0.102\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add anyhow","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"Result","correct":"use anyhow::Result;"}],"quickstart":{"code":"use anyhow::Result;\n\nfn main() -> Result<()> {\n    let x: i32 = \"42\".parse()?;\n    println!(\"{}\", x);\n    Ok(())\n}","lang":"rust","description":"Uses anyhow::Result to propagate errors with minimal boilerplate."},"warnings":[{"fix":"Use thiserror for library error types and anyhow only in application code.","message":"Anyhow is not suitable for library APIs where callers need to match on specific error types.","severity":"gotcha","affected_versions":">=1.0.0"}],"env_vars":null,"search_vec":"'anyhow':1 'built':6 'concret':3 'conveni':13 'error':4,9,10,11 'flexibl':2 'result':12 'std':8 'type':5","created_at":"2026-06-16T15:27:39.825898+00:00","updated_at":"2026-06-16T15:27:39.825898+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/dtolnay/anyhow","github":"https://github.com/dtolnay/anyhow","docs":"https://docs.rs/anyhow/","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}}