{"id":58570,"library":"normpath","title":"Normpath","description":"More reliable path manipulation for Rust.","status":"active","version":"1.5.1","language":"rust","source_language":null,"source_url":"https://github.com/dylni/normpath","tags":["path","normalization","filesystem","cross-platform"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nnormpath = \"1.5.1\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add normpath","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"PathExt","correct":"use normpath::PathExt;"}],"quickstart":{"code":"use normpath::PathExt;\nuse std::path::Path;\n\nfn main() {\n    let path = Path::new(\"./foo/../bar\");\n    let normalized = path.normalize().unwrap();\n    println!(\"Normalized: {:?}\", normalized);\n}","lang":"rust","description":"Normalizes a file path by resolving `.` and `..` components."},"warnings":[{"fix":"Test on the target platform and consider using `normpath::BasePath` for cross-platform consistency.","message":"On Windows, normalization may behave differently due to path prefixes.","severity":"gotcha","affected_versions":">=1.0.0"}],"env_vars":null,"search_vec":"'cross':12 'cross-platform':11 'filesystem':10 'manipul':5 'normal':9 'normpath':1 'path':4,8 'platform':13 'reliabl':3 'rust':7","created_at":"2026-06-16T16:28:35.468498+00:00","updated_at":"2026-06-16T16:28:35.468498+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/dylni/normpath","github":"https://github.com/dylni/normpath","docs":"https://docs.rs/normpath/","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}}