#path #utf-8 #semantics #restrictions #string-friendly

utf8path

utf8path provides a String-friendly path type

1 unstable release

0.1.0 Apr 22, 2024

#7 in #semantics

Download history 149/week @ 2024-04-21 6/week @ 2024-04-28

155 downloads per month

Apache-2.0

31KB
849 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