{"id":15762432,"url":"https://github.com/williamvenner/fuzzypath","last_synced_at":"2025-04-21T04:31:48.078Z","repository":{"id":57632827,"uuid":"418204778","full_name":"WilliamVenner/fuzzypath","owner":"WilliamVenner","description":"🧹 Quick \u0026 dirty fuzzy path comparison","archived":false,"fork":false,"pushed_at":"2021-10-17T17:51:10.000Z","size":8,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-11T11:34:57.083Z","etag":null,"topics":["cmp","comparison","eq","fuzz","fuzzy","partialeq","path","pathbuf","rust"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/fuzzypath","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/WilliamVenner.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-10-17T17:24:55.000Z","updated_at":"2023-07-18T21:54:50.000Z","dependencies_parsed_at":"2022-08-31T13:20:51.287Z","dependency_job_id":null,"html_url":"https://github.com/WilliamVenner/fuzzypath","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WilliamVenner%2Ffuzzypath","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WilliamVenner%2Ffuzzypath/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WilliamVenner%2Ffuzzypath/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WilliamVenner%2Ffuzzypath/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WilliamVenner","download_url":"https://codeload.github.com/WilliamVenner/fuzzypath/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223849432,"owners_count":17213640,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cmp","comparison","eq","fuzz","fuzzy","partialeq","path","pathbuf","rust"],"created_at":"2024-10-04T11:09:09.213Z","updated_at":"2024-11-09T16:03:31.272Z","avatar_url":"https://github.com/WilliamVenner.png","language":"Rust","readme":"[![crates.io](https://img.shields.io/crates/v/fuzzypath.svg)](https://crates.io/crates/fuzzypath)\n\n[![docs.rs](https://docs.rs/fuzzypath/badge.svg)](https://docs.rs/fuzzypath)\n\n# 🧹 `fuzzypath`\n\nQuick \u0026 dirty fuzzy path comparison\n\n# Comparison rules\n\n* ✅ Case insensitive\n* ✅ Backslashes are normalized to forward slashes\n* ✅ Trailing slashes are removed, except for root slash (for absolute POSIX paths)\n* ✅ Repeating slashes are normalized to a single slash\n* ❌ Comparing a Windows path with a POSIX path will not work if either is absolute (Windows paths with a drive letter, POSIX paths with a preceeding slash)\n* ❌ Comparing a Windows UNC path will not work with any POSIX path\n* ❌ POSIX paths can contain backslashes in file names, but Windows paths cannot - these will be normalized to forward slashes and you will lose that information\n\n# Usage\n\nAdd `fuzzypath` to your Cargo.toml dependencies:\n\n```toml\n[dependencies]\nfuzzypath = \"1\"\n```\n\n# Serde\n\nTo enable Serde serialization and deserialization, use the crate feature `serde`\n\n```toml\n[dependencies]\nfuzzypath = { version = \"1\", features = [\"serde\"] }\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwilliamvenner%2Ffuzzypath","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwilliamvenner%2Ffuzzypath","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwilliamvenner%2Ffuzzypath/lists"}