Skip to content

Commit

Permalink
move backuplit into separate crate and repo
Browse files Browse the repository at this point in the history
  • Loading branch information
Kodylow committed Apr 6, 2024
1 parent 8473d03 commit ad0adeb
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 235 deletions.
32 changes: 18 additions & 14 deletions Cargo.lock

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

5 changes: 1 addition & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
[workspace]
members = [
"multimint",
"fedimint-clientd", "gc_fs_backup",
]
members = ["multimint", "fedimint-clientd"]
resolver = "2"
2 changes: 1 addition & 1 deletion fedimint-clientd/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ multimint = { path = "../multimint" }
axum-otel-metrics = "0.8.0"
inotify = "0.10.2"
google-cloud = { version = "0.2.1", features = ["storage"] }
gc_fs_backup = { path = "../gc_fs_backup" }
backuplit = "0.1.0"
6 changes: 3 additions & 3 deletions fedimint-clientd/src/utils.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use std::time::{Duration, SystemTime, UNIX_EPOCH};

use anyhow::{anyhow, Result};
use gc_fs_backup::{BackupTrigger, GcFsBackupBuilder};
use backuplit::{BackupTrigger, BackuplitBuilder};

use crate::Cli;

Expand Down Expand Up @@ -34,8 +34,8 @@ pub async fn start_backup_daemon(cli: &Cli) -> Result<(), anyhow::Error> {
}
_ => BackupTrigger::default(),
};
let backup = GcFsBackupBuilder::new()
.db_path(cli.db_path.clone())
let backup = BackuplitBuilder::new()
.dir_path(cli.db_path.clone())
.bucket_id(bucket_id)
.credential(credential)
.backup_name(name)
Expand Down
21 changes: 0 additions & 21 deletions gc_fs_backup/Cargo.toml

This file was deleted.

37 changes: 0 additions & 37 deletions gc_fs_backup/src/backup_worker.rs

This file was deleted.

155 changes: 0 additions & 155 deletions gc_fs_backup/src/lib.rs

This file was deleted.

0 comments on commit ad0adeb

Please sign in to comment.