1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#![doc = include_str!("../README.md")]

#[doc = include_str!("../README.md")]
#[cfg(doctest)]
pub struct ReadmeDoctests;

#[macro_use]
mod common;
mod convert;
pub mod native;
pub mod unix;
pub mod windows;

mod private {
    /// Used to mark traits as sealed to prevent implements from others outside of this crate
    pub trait Sealed {}
}

pub use common::{
    Ancestors, Component, Components, Display, Encoding, Iter, ParseError, Path, PathBuf,
    StripPrefixError, Utf8Ancestors, Utf8Component, Utf8Components, Utf8Encoding, Utf8Iter,
    Utf8Path, Utf8PathBuf,
};
pub use convert::TryAsRef;
pub use native::{NativePath, NativePathBuf, Utf8NativePath, Utf8NativePathBuf};
pub use unix::{
    UnixEncoding, UnixPath, UnixPathBuf, Utf8UnixEncoding, Utf8UnixPath, Utf8UnixPathBuf,
};
pub use windows::{
    Utf8WindowsEncoding, Utf8WindowsPath, Utf8WindowsPathBuf, WindowsEncoding, WindowsPath,
    WindowsPathBuf,
};