gecko-dev/third_party/rust/dogear
Lina Cambridge 3c690350be Bug 1551062 - Abort merging when the synced bookmarks mirror is finalized. r=tcsc
This commit adds an `AbortController` to the bookmark merger that
aborts fetching and merging when the mirror is finalized on shutdown.

Differential Revision: https://phabricator.services.mozilla.com/D31000

--HG--
extra : moz-landing-system : lando
2019-05-14 03:40:30 +00:00
..
src Bug 1551062 - Abort merging when the synced bookmarks mirror is finalized. r=tcsc 2019-05-14 03:40:30 +00:00
.cargo-checksum.json Bug 1551062 - Abort merging when the synced bookmarks mirror is finalized. r=tcsc 2019-05-14 03:40:30 +00:00
CODE_OF_CONDUCT.md
Cargo.toml Bug 1551062 - Abort merging when the synced bookmarks mirror is finalized. r=tcsc 2019-05-14 03:40:30 +00:00
LICENSE
README.md
book.toml Bug 1551062 - Abort merging when the synced bookmarks mirror is finalized. r=tcsc 2019-05-14 03:40:30 +00:00

README.md

Dogear

Dogear is a library that implements bookmark tree merging for Firefox Sync. It takes two trees—a valid, consistent local tree, and a possibly inconsistent remote tree—and produces a complete merged tree, with all conflicts and inconsistencies resolved.

Dogear implements the merge algorithm only; it doesn't handle syncing, storage, or application. It's up to the crate that embeds Dogear to store local and incoming bookmarks, describe how to build a tree from a storage backend, persist the merged tree back to storage, and upload records for changed bookmarks.

Requirements

  • Rust 1.31.0 or higher