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 error_ext;
11#[cfg(windows)]
12mod logical_drive;
13#[cfg(windows)]
14mod net_resource;
15#[cfg(windows)]
16mod os_str_ext;
17#[cfg(windows)]
18mod path_ext;
19mod simple_path;
20#[cfg(windows)]
21mod unc_path;
22#[cfg(windows)]
23mod volume;
24
25pub use display::Display;
26#[cfg(windows)]
27pub(crate) use drive_path::DrivePath;
28#[cfg(windows)]
29pub(crate) use error_ext::ErrorExt;
30#[cfg(windows)]
31pub(crate) use logical_drive::LogicalDrive;
32#[cfg(windows)]
33pub(crate) use net_resource::NetResource;
34#[cfg(windows)]
35pub(crate) use os_str_ext::{OsStrExt, WinStrExt};
36#[cfg(windows)]
37pub(crate) use path_ext::PathExt;
38pub use simple_path::SimplePath;
39#[cfg(windows)]
40pub(crate) use unc_path::UncPath;
41#[cfg(windows)]
42pub(crate) use volume::Volumes;
43
44#[cfg(all(test, windows))]
45pub(crate) use volume::TEST_LOG_INIT;