Skip to content

Commit

Permalink
feat: re-export rayon in the crate root.
Browse files Browse the repository at this point in the history
This makes creating a `ThreadPool` easier as it doesn't force us to
maintain our own `rayon` dependency.
  • Loading branch information
Byron committed Dec 15, 2022
1 parent be0bd21 commit b49e157
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ use std::sync::Arc;
use crate::core::{ReadDir, ReadDirSpec};

pub use crate::core::{DirEntry, DirEntryIter, Error};
pub use rayon;

/// Builder for walking a directory.
pub type WalkDir = WalkDirGeneric<((), ())>;
Expand Down

0 comments on commit b49e157

Please sign in to comment.