#![deny(missing_docs)]
#![deny(missing_debug_implementations)]
#![cfg_attr(not(test), warn(unused_crate_dependencies))]
#![cfg_attr(test, deny(warnings))]
#![cfg_attr(docsrs, feature(doc_cfg))]
#[cfg(not(any(unix, windows)))]
compile_error!("walkthrough only supports Unix and Windows targets");
mod entry;
mod error;
mod iter;
mod sync;
#[cfg(feature = "async")]
pub mod r#async;
#[cfg(feature = "async")]
pub use r#async::{Async, AsyncDirEntry, AsyncWalkDir, AsyncWalker};
pub(crate) use entry::Ancestor;
pub use entry::DirEntry;
pub use error::{Error, ErrorKind, Result};
pub use iter::WalkDir;
pub use sync::{Sync, Walker};