Skip to content

Commit

Permalink
Merge branch 'main' into fix/create-directories
Browse files Browse the repository at this point in the history
  • Loading branch information
simonsan authored Nov 17, 2024
2 parents 0583d0a + c6722b0 commit 1443a6b
Show file tree
Hide file tree
Showing 10 changed files with 22 additions and 393 deletions.
7 changes: 7 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions crates/core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ scrypt = { version = "0.11.0", default-features = false, features = ["std"] } #
binrw = "0.14.0"
hex = { version = "0.4.3", features = ["serde"] }
integer-sqrt = "0.1.5"
rustic_cdc = "0.3.1"
serde = { version = "1.0.210" }
serde-aux = "4.5.0"
serde_derive = "1.0.210"
Expand Down
5 changes: 3 additions & 2 deletions crates/core/src/archiver/file_archiver.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
use std::io::Read;

use rustic_cdc::Rabin64;

use crate::{
archiver::{
parent::{ItemWithParent, ParentResult},
Expand All @@ -15,7 +17,6 @@ use crate::{
packer::{Packer, PackerStats},
BlobId, BlobType, DataId,
},
cdc::rolling_hash::Rabin64,
chunker::ChunkIter,
crypto::hasher::hash,
error::{ErrorKind, RusticError, RusticResult},
Expand Down Expand Up @@ -73,7 +74,7 @@ impl<'a, BE: DecryptWriteBackend, I: ReadGlobalIndex> FileArchiver<'a, BE, I> {
index.total_size(BlobType::Data),
)?;

let rabin = Rabin64::new_with_polynom(6, poly);
let rabin = Rabin64::new_with_polynom(6, &poly);

Ok(Self {
index,
Expand Down
2 changes: 0 additions & 2 deletions crates/core/src/cdc.rs

This file was deleted.

21 changes: 0 additions & 21 deletions crates/core/src/cdc/LICENSE.txt

This file was deleted.

73 changes: 0 additions & 73 deletions crates/core/src/cdc/README.md

This file was deleted.

59 changes: 0 additions & 59 deletions crates/core/src/cdc/polynom.rs

This file was deleted.

Loading

0 comments on commit 1443a6b

Please sign in to comment.