Skip to main content

simple_path/
lib.rs

1//! Please see the [README] for a high-level overview,
2//! and the [`SimplePath`] struct for the detailed features.
3//!
4//! [README]: https://github.com/kojiishi/simple-path
5
6mod display;
7#[cfg(windows)]
8mod drive_path;
9#[cfg(windows)]
10mod logical_drive;
11#[cfg(windows)]
12mod net_resource;
13#[cfg(windows)]
14mod os_str_ext;
15#[cfg(windows)]
16mod path_ext;
17mod simple_path;
18#[cfg(windows)]
19mod unc_path;
20#[cfg(windows)]
21mod volume;
22
23pub use display::Display;
24#[cfg(windows)]
25pub(crate) use drive_path::DrivePath;
26#[cfg(windows)]
27pub(crate) use logical_drive::LogicalDrive;
28#[cfg(windows)]
29pub(crate) use net_resource::NetResource;
30#[cfg(windows)]
31pub(crate) use os_str_ext::{OsStrExt, WinStrExt};
32#[cfg(windows)]
33pub(crate) use path_ext::PathExt;
34pub use simple_path::SimplePath;
35#[cfg(windows)]
36pub(crate) use unc_path::UncPath;
37#[cfg(windows)]
38pub(crate) use volume::Volumes;
39
40#[cfg(all(test, windows))]
41pub(crate) use volume::TEST_LOG_INIT;