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

#525 in Text processing

Download history 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 89/week @ 2024-10-02 32/week @ 2024-10-09 25/week @ 2024-10-16 47/week @ 2024-10-23 33/week @ 2024-10-30 23/week @ 2024-11-06 148/week @ 2024-11-13 108/week @ 2024-11-20 32/week @ 2024-11-27 113/week @ 2024-12-04

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