fuzzypath 2.0.0

Quick & dirty fuzzy path comparison
Documentation
  • Coverage
  • 100%
    5 out of 5 items documented0 out of 4 items with examples
  • Size
  • Source code size: 10.44 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.71 MB This is the summed size of all files generated by rustdoc for all configured targets
  • ร˜ build duration
  • this release: 9s Average build duration of successful builds.
  • all releases: 9s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • WilliamVenner/fuzzypath
    3 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • WilliamVenner

crates.io

docs.rs

๐Ÿงน fuzzypath

Quick & dirty fuzzy path comparison

Comparison rules

  • โœ… Case insensitive
  • โœ… Backslashes are normalized to forward slashes
  • โœ… Trailing slashes are removed, except for root slash (for absolute POSIX paths)
  • โœ… Repeating slashes are normalized to a single slash
  • โŒ 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)
  • โŒ Comparing a Windows UNC path will not work with any POSIX path
  • โŒ 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

Usage

Add fuzzypath to your Cargo.toml dependencies:

[dependencies]

fuzzypath = "1"

Serde

To enable Serde serialization and deserialization, use the crate feature serde

[dependencies]

fuzzypath = { version = "1", features = ["serde"] }