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

#366 in Filesystem

Download history 1/week @ 2024-08-01 249/week @ 2024-08-15 233/week @ 2024-08-22 31/week @ 2024-08-29 250/week @ 2024-09-05 61/week @ 2024-09-12 24/week @ 2024-09-19 121/week @ 2024-09-26 72/week @ 2024-10-03 25/week @ 2024-10-10 29/week @ 2024-10-17 43/week @ 2024-10-24 35/week @ 2024-10-31 20/week @ 2024-11-07 208/week @ 2024-11-14

312 downloads per month
Used in 11 crates (10 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