1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
//! # Basic usage
//!
//! ```
//! extern crate diskus;
//!
//! use std::path::PathBuf;
//! use diskus::Walk;
//!
//! let num_threads = 4;
//! let root_directories = &[PathBuf::from(".")];
//! let walk = Walk::new(root_directories, num_threads);
//! let size_in_bytes = walk.run();
//! ```
extern crate crossbeam_channel;
extern crate humansize;
extern crate num_cpus;
extern crate rayon;
pub mod walk;
pub use walk::Walk;