rename modules

This commit is contained in:
Aravinth Manivannan 2021-04-10 17:15:44 +05:30
parent 26d40b9993
commit edf8a3121b
Signed by: realaravinth
GPG key ID: AD9F0F08E855ED88
4 changed files with 10 additions and 7 deletions

View file

@ -19,8 +19,11 @@ path = "src/lib.rs"
[dependencies] [dependencies]
mime_guess = "2.0.3" mime_guess = "2.0.3"
mime = "0.3.16" mime = "0.3.16"
sha2 = "0.9.3" sha2 = "0.9.3"
derive_builder = "0.10.0" derive_builder = "0.10.0"
data-encoding = "2.3.2" data-encoding = "2.3.2"
walkdir = "2" walkdir = "2"

View file

@ -71,8 +71,8 @@ impl Files {
#[cfg(test)] #[cfg(test)]
mod tests { mod tests {
use crate::hash::tests::cleanup; use crate::processor::tests::cleanup;
use crate::hash::*; use crate::processor::*;
use super::*; use super::*;
use std::path::Path; use std::path::Path;

View file

@ -32,7 +32,7 @@
//! } //! }
//! ``` //! ```
pub mod hash; pub mod processor;
pub use hash::BusterBuilder; pub use processor::BusterBuilder;
pub mod map; pub mod filemap;
pub use map::Files; pub use filemap::Files;

View file

@ -12,7 +12,7 @@ use std::{fs, path::PathBuf};
use derive_builder::Builder; use derive_builder::Builder;
use walkdir::WalkDir; use walkdir::WalkDir;
use crate::map::Files; use crate::Files;
#[derive(Debug, Clone, Builder)] #[derive(Debug, Clone, Builder)]
pub struct Buster { pub struct Buster {