1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
#![warn(missing_docs)]
//! # mktemp
//!
//! `mktemp` is a thin wrapper around `libc`'s `mkstemps` and `mkdtemp`.
macro_rules! debug {
($($arg:tt)*) => {
if cfg!(debug_assertions) {
eprintln!("{f}:{l}:{c} {fmt}", f=file!(), l=line!(), c=column!(), fmt=format!($($arg)*));
}
}
}
mod temp_file;
pub use self::temp_file::TempFile;
mod temp_dir;
pub use self::temp_dir::TempDir;