diff options
| author | Ellie Huxtable <ellie@elliehuxtable.com> | 2023-06-19 09:02:15 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-19 09:02:15 +0100 |
| commit | 9558fec211299fa51f1df72e32e75e4ba0365349 (patch) | |
| tree | 4a24fef8cf3532fb367fe6ea808f9c865aedad90 /Cargo.lock | |
| parent | fix: fixes unix specific impl of shutdown_signal (#1061) (diff) | |
| download | atuin-9558fec211299fa51f1df72e32e75e4ba0365349.zip | |
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 <conradludgate@gmail.com>
---------
Co-authored-by: Conrad Ludgate <conradludgate@gmail.com>
Diffstat (limited to 'Cargo.lock')
| -rw-r--r-- | Cargo.lock | 44 |
1 files changed, 44 insertions, 0 deletions
@@ -176,6 +176,7 @@ name = "atuin-common" version = "15.0.0" dependencies = [ "chrono", + "pretty_assertions", "rand", "serde", "typed-builder", @@ -601,6 +602,22 @@ dependencies = [ ] [[package]] +name = "ctor" +version = "0.1.26" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d2301688392eb071b0bf1a37be05c469d3cc4dbbd95df672fe28ab021e6a096" +dependencies = [ + "quote", + "syn 1.0.99", +] + +[[package]] +name = "diff" +version = "0.1.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "56254986775e3233ffa9c4d7d3faaf6d36a2c09d30b20687e9f88bc8bafc16c8" + +[[package]] name = "digest" version = "0.10.5" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -1435,6 +1452,15 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" [[package]] +name = "output_vt100" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "628223faebab4e3e40667ee0b2336d34a5b960ff60ea743ddfdbcf7770bcfb66" +dependencies = [ + "winapi", +] + +[[package]] name = "overload" version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -1599,6 +1625,18 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "eb9f9e6e233e5c4a35559a617bf40a4ec447db2e84c20b55a6f83167b7e57872" [[package]] +name = "pretty_assertions" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a25e9bcb20aa780fd0bb16b72403a9064d6b3f22f026946029acb941a50af755" +dependencies = [ + "ctor", + "diff", + "output_vt100", + "yansi", +] + +[[package]] name = "proc-macro2" version = "1.0.56" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -2977,6 +3015,12 @@ dependencies = [ ] [[package]] +name = "yansi" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09041cd90cf85f7f8b2df60c646f853b7f535ce68f85244eb6731cf89fa498ec" + +[[package]] name = "zeroize" version = "1.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" |
