cap_std_ext/
lib.rs

1// See https://doc.rust-lang.org/rustc/lints/listing/allowed-by-default.html
2#![deny(missing_docs)]
3#![doc = include_str!("../README.md")]
4#![deny(missing_debug_implementations)]
5#![forbid(unused_must_use)]
6#![deny(unsafe_code)]
7#![cfg_attr(feature = "dox", feature(doc_cfg))]
8
9// Re-export our dependencies
10pub use cap_primitives;
11#[cfg(feature = "fs_utf8")]
12pub use cap_std::fs_utf8::camino;
13pub use cap_tempfile;
14pub use cap_tempfile::cap_std;
15
16#[cfg(not(windows))]
17pub mod cmdext;
18pub mod dirext;
19
20#[cfg(any(target_os = "android", target_os = "linux"))]
21mod rootdir;
22pub use rootdir::*;
23
24/// Prelude, intended for glob import.
25pub mod prelude {
26    #[cfg(not(windows))]
27    pub use super::cmdext::CapStdExtCommandExt;
28    pub use super::dirext::CapStdExtDirExt;
29    #[cfg(feature = "fs_utf8")]
30    pub use super::dirext::CapStdExtDirExtUtf8;
31}