4 releases

0.1.3 Apr 26, 2020
0.1.2 Oct 3, 2018
0.1.1 Oct 3, 2018
0.1.0 Oct 3, 2018

#1235 in Filesystem

Download history 339/week @ 2025-09-14 293/week @ 2025-09-21 251/week @ 2025-09-28 269/week @ 2025-10-05 295/week @ 2025-10-12 464/week @ 2025-10-19 350/week @ 2025-10-26 401/week @ 2025-11-02 309/week @ 2025-11-09 348/week @ 2025-11-16 540/week @ 2025-11-23 399/week @ 2025-11-30 644/week @ 2025-12-07

1,967 downloads per month
Used in 7 crates (3 directly)

MIT license

10KB
229 lines

url_path

url_path Manipulate url paths without requiring the file to exist in the server or OS This is useful for manipulating location urls Example usage:

use url_path::UrlPath;

fn main(){
    let url_path1 = UrlPath::new("src/md/./../../README.md");
    let normalized_path1 = url_path1.normalize();
    assert_eq!("README.md", normalized_path1);

    let url_path2 = UrlPath::new("./README.md");
    let normalized_path2 = url_path2.normalize();
    assert_eq!("README.md", normalized_path2);
}

License: MIT

No runtime deps