rename modules
This commit is contained in:
parent
26d40b9993
commit
edf8a3121b
4 changed files with 10 additions and 7 deletions
|
@ -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"
|
||||||
|
|
||||||
|
|
|
@ -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;
|
|
@ -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;
|
||||||
|
|
|
@ -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 {
|
Loading…
Reference in a new issue