path-absolutize 3.1.1

A library for extending `Path` and `PathBuf` in order to get an absolute path and remove the containing dots.
Documentation
#[cfg(not(any(
    feature = "once_cell_cache",
    feature = "lazy_static_cache",
    feature = "unsafe_cache"
)))]
macro_rules! get_cwd {
    () => {
        std::env::current_dir()?
    };
}

#[cfg(any(feature = "once_cell_cache", feature = "lazy_static_cache"))]
macro_rules! get_cwd {
    () => {
        $crate::CWD.as_path()
    };
}

#[cfg(feature = "unsafe_cache")]
macro_rules! get_cwd {
    () => {
        unsafe { $crate::CWD.as_path() }
    };
}