chore: Update deps and adapt to rustic_core changes

This commit is contained in:
Alexander Weiss 2024-03-22 00:38:05 +01:00
parent 6fffaad1cc
commit 07f92d882e
4 changed files with 328 additions and 261 deletions

583
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -275,7 +275,7 @@ impl Configurable<RusticConfig> for EntryPoint {
fn get_repository(repo_opts: &AllRepositoryOptions) -> Result<Repository<ProgressOptions, ()>> {
let po = RUSTIC_APP.config().global.progress_options;
let backends = repo_opts.be.to_backends()?;
let repo = Repository::new_with_progress(&repo_opts.repo, backends, po)?;
let repo = Repository::new_with_progress(&repo_opts.repo, &backends, po)?;
Ok(repo)
}

View File

@ -181,7 +181,7 @@ impl BackupCmd {
let sources = match (self.cli_sources.is_empty(), config_opts.is_empty()) {
(false, _) => {
let item = PathList::from_strings(&self.cli_sources).sanitize()?;
let item = PathList::from_iter(&self.cli_sources).sanitize()?;
vec![item]
}
(true, false) => {

View File

@ -79,7 +79,7 @@ impl WebDavCmd {
let vfs = if let Some(snap) = &self.snapshot_path {
let node = repo.node_from_snapshot_path(snap, sn_filter)?;
Vfs::from_dirnode(node)
Vfs::from_dir_node(&node)
} else {
let snapshots = repo.get_matching_snapshots(sn_filter)?;
let (latest, identical) = if self.symlinks {