Skip to content

Commit

Permalink
feat: use new version of keepass-rs merge feature
Browse files Browse the repository at this point in the history
  • Loading branch information
louib committed Dec 29, 2023
1 parent bf20f51 commit 99ba4e6
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 30 deletions.
59 changes: 32 additions & 27 deletions Cargo.lock

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

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ anyhow = { version = "1" }

[dependencies.keepass]
git = "https://github.com/sseemayer/keepass-rs"
branch = "add_merge_feature"
branch = "add_merge_feature_refactor"
# path = "../keepass-rs"
features = ["save_kdbx4"]
features = ["save_kdbx4", "merge"]
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ fn main() -> Result<std::process::ExitCode> {
}
}?;

let merge_result = match destination_db.root.merge(&source_db.root) {
let merge_result = match destination_db.merge(&source_db) {
Ok(r) => r,
Err(e) => {
eprintln!("{}", e);
Expand Down

0 comments on commit 99ba4e6

Please sign in to comment.