From 00030fb6775b940ab38b4da205917bd81d777f84 Mon Sep 17 00:00:00 2001 From: jamesk Date: Mon, 8 Apr 2024 18:35:39 -0400 Subject: [PATCH] rename Fasching --- Cargo.toml | 2 +- src/comparemode.rs | 4 ++-- src/createmode.rs | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 6bc54c7..4b6fff8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,7 +11,7 @@ readme = "README.md" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -Fasching = "0.2.3" +filesystem-hashing = "0.2.4" clap = { version = "4.5.4", features = ["derive"] } whoami = "1.5.1" anyhow = "1.0.81" diff --git a/src/comparemode.rs b/src/comparemode.rs index 8a1a3c5..521cacb 100644 --- a/src/comparemode.rs +++ b/src/comparemode.rs @@ -1,6 +1,6 @@ use anyhow::Error; -use Fasching::snapshot::{Snapshot, SnapshotChangeType, SnapshotCompareResult}; -use Fasching::{compare_snapshots, import_snapshot}; +use filesystem_hashing::snapshot::{Snapshot, SnapshotChangeType, SnapshotCompareResult}; +use filesystem_hashing::{compare_snapshots, import_snapshot}; use crate::options::Arguments; pub struct CompareMode { diff --git a/src/createmode.rs b/src/createmode.rs index 410e4e7..02dd145 100644 --- a/src/createmode.rs +++ b/src/createmode.rs @@ -1,9 +1,9 @@ use std::process::exit; use std::sync::{Arc, Mutex}; use anyhow::Error; -use Fasching::hasher::HashType::BLAKE3; -use Fasching::snapshot::Snapshot; -use Fasching::{create_snapshot, export_snapshot}; +use filesystem_hashing::hasher::HashType::BLAKE3; +use filesystem_hashing::snapshot::Snapshot; +use filesystem_hashing::{create_snapshot, export_snapshot}; pub struct CreateMode { snapshot_path: String,