turbofish-org / merk

High-performance Merkle key/value store
Apache License 2.0
226 stars 36 forks source link

Upgrade dependencies, `Send` + `Sync` #78

Closed mappum closed 1 month ago

mappum commented 1 month ago

This PR upgrades dependencies, and makes the Merk type Send and Sync for easier async compatibility.

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 84.61538% with 6 lines in your changes missing coverage. Please review.

Project coverage is 94.07%. Comparing base (088e2bb) to head (62d6214). Report is 15 commits behind head on develop.

Files with missing lines Patch % Lines
src/merk/mod.rs 88.88% 2 Missing :warning:
src/merk/snapshot.rs 84.61% 2 Missing :warning:
src/tree/debug.rs 0.00% 1 Missing :warning:
src/tree/mod.rs 50.00% 1 Missing :warning:
Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/turbofish-org/merk/pull/78/graphs/tree.svg?width=650&height=150&src=pr&token=TTUTSt2iLz&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=turbofish-org)](https://app.codecov.io/gh/turbofish-org/merk/pull/78?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=turbofish-org) ```diff @@ Coverage Diff @@ ## develop #78 +/- ## =========================================== + Coverage 92.00% 94.07% +2.06% =========================================== Files 28 27 -1 Lines 5480 5449 -31 =========================================== + Hits 5042 5126 +84 + Misses 438 323 -115 ``` | [Files with missing lines](https://app.codecov.io/gh/turbofish-org/merk/pull/78?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=turbofish-org) | Coverage Δ | | |---|---|---| | [src/merk/chunks.rs](https://app.codecov.io/gh/turbofish-org/merk/pull/78?src=pr&el=tree&filepath=src%2Fmerk%2Fchunks.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=turbofish-org#diff-c3JjL21lcmsvY2h1bmtzLnJz) | `99.64% <ø> (-0.02%)` | :arrow_down: | | [src/merk/restore.rs](https://app.codecov.io/gh/turbofish-org/merk/pull/78?src=pr&el=tree&filepath=src%2Fmerk%2Frestore.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=turbofish-org#diff-c3JjL21lcmsvcmVzdG9yZS5ycw==) | `97.08% <ø> (-0.02%)` | :arrow_down: | | [src/proofs/chunk.rs](https://app.codecov.io/gh/turbofish-org/merk/pull/78?src=pr&el=tree&filepath=src%2Fproofs%2Fchunk.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=turbofish-org#diff-c3JjL3Byb29mcy9jaHVuay5ycw==) | `96.69% <100.00%> (-0.09%)` | :arrow_down: | | [src/proofs/query/map.rs](https://app.codecov.io/gh/turbofish-org/merk/pull/78?src=pr&el=tree&filepath=src%2Fproofs%2Fquery%2Fmap.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=turbofish-org#diff-c3JjL3Byb29mcy9xdWVyeS9tYXAucnM=) | `98.83% <100.00%> (+0.17%)` | :arrow_up: | | [src/proofs/query/mod.rs](https://app.codecov.io/gh/turbofish-org/merk/pull/78?src=pr&el=tree&filepath=src%2Fproofs%2Fquery%2Fmod.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=turbofish-org#diff-c3JjL3Byb29mcy9xdWVyeS9tb2QucnM=) | `99.02% <100.00%> (-0.03%)` | :arrow_down: | | [src/proofs/tree.rs](https://app.codecov.io/gh/turbofish-org/merk/pull/78?src=pr&el=tree&filepath=src%2Fproofs%2Ftree.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=turbofish-org#diff-c3JjL3Byb29mcy90cmVlLnJz) | `94.21% <ø> (+0.85%)` | :arrow_up: | | [src/test\_utils/crash\_merk.rs](https://app.codecov.io/gh/turbofish-org/merk/pull/78?src=pr&el=tree&filepath=src%2Ftest_utils%2Fcrash_merk.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=turbofish-org#diff-c3JjL3Rlc3RfdXRpbHMvY3Jhc2hfbWVyay5ycw==) | `74.46% <ø> (+1.55%)` | :arrow_up: | | [src/test\_utils/mod.rs](https://app.codecov.io/gh/turbofish-org/merk/pull/78?src=pr&el=tree&filepath=src%2Ftest_utils%2Fmod.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=turbofish-org#diff-c3JjL3Rlc3RfdXRpbHMvbW9kLnJz) | `84.42% <100.00%> (+22.02%)` | :arrow_up: | | [src/tree/fuzz\_tests.rs](https://app.codecov.io/gh/turbofish-org/merk/pull/78?src=pr&el=tree&filepath=src%2Ftree%2Ffuzz_tests.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=turbofish-org#diff-c3JjL3RyZWUvZnV6el90ZXN0cy5ycw==) | `100.00% <ø> (ø)` | | | [src/tree/link.rs](https://app.codecov.io/gh/turbofish-org/merk/pull/78?src=pr&el=tree&filepath=src%2Ftree%2Flink.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=turbofish-org#diff-c3JjL3RyZWUvbGluay5ycw==) | `93.97% <ø> (-0.17%)` | :arrow_down: | | ... and [7 more](https://app.codecov.io/gh/turbofish-org/merk/pull/78?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=turbofish-org) | | ... and [7 files with indirect coverage changes](https://app.codecov.io/gh/turbofish-org/merk/pull/78/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=turbofish-org) [![Impacted file tree graph](https://app.codecov.io/gh/turbofish-org/merk/pull/78/graphs/tree.svg?width=650&height=150&src=pr&token=TTUTSt2iLz&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=turbofish-org)](https://app.codecov.io/gh/turbofish-org/merk/pull/78?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=turbofish-org)