From 9558fec211299fa51f1df72e32e75e4ba0365349 Mon Sep 17 00:00:00 2001 From: Ellie Huxtable Date: Mon, 19 Jun 2023 09:02:15 +0100 Subject: Add RecordIndex data structure (#1059) * Add RecordIndex data structure This allows us to compare two sets of record stores, and return a list of diffs. With these diffs, we should be able to sync the two stores * Remove server handler, will follow up with this * Make clippy happy * Add tests and docs for diffs in both directions * Update atuin-common/src/record.rs Co-authored-by: Conrad Ludgate --------- Co-authored-by: Conrad Ludgate --- atuin-common/Cargo.toml | 1 + 1 file changed, 1 insertion(+) (limited to 'atuin-common/Cargo.toml') diff --git a/atuin-common/Cargo.toml b/atuin-common/Cargo.toml index 918b5b5f..b693a464 100644 --- a/atuin-common/Cargo.toml +++ b/atuin-common/Cargo.toml @@ -17,3 +17,4 @@ serde = { workspace = true } uuid = { workspace = true } rand = { workspace = true } typed-builder = { workspace = true } +pretty_assertions = "1.3.0" -- cgit v1.3.1