7 releases (breaking)

0.6.0 Oct 1, 2024
0.5.1 Sep 9, 2024
0.4.0 Aug 24, 2024
0.3.0 Aug 19, 2024
0.1.0 Apr 22, 2024

#403 in Filesystem

Download history 2/week @ 2024-07-03 3/week @ 2024-07-24 1/week @ 2024-07-31 237/week @ 2024-08-14 241/week @ 2024-08-21 34/week @ 2024-08-28 246/week @ 2024-09-04 61/week @ 2024-09-11 25/week @ 2024-09-18 99/week @ 2024-09-25 72/week @ 2024-10-02

287 downloads per month
Used in 8 crates (7 directly)

Apache-2.0

32KB
900 lines

utf8path

utf8path provides a Path object that is guaranteed to be convertible to and from UTF8 with sane semantics. Further restrictions, such as those imposed by the filesystem/kernel, are not enforced by this library.

Status

New. This library is new, so it will likely see changes in the near future as it sees more use.

Scope

This library provides the Path object with sane dirname and basename methods.

Warts

The implementations provided don't use the components method. Ideally, we could use them, but it was easier to manually juggle path separations.

Documentation

The latest documentation is always available at docs.rs.

No runtime deps