Debian Codegraph @

third_party/rust/dogear/README.md

raw
1 # Dogear
2
3 **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.
4
5 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.
6
7 ## Requirements
8
9 * Rust 1.31.0 or higher
10
11
12 ## Updating this package
13 Once a new version of Dogear is ready to release. The new version will need to be published to [crates.io](https://crates.io/crates/dogear). Dogear follows the documentation detailed in the [Cargo book](https://doc.rust-lang.org/cargo/reference/publishing.html#publishing-a-new-version-of-an-existing-crate).
14 ### Steps to publish a new verison
15 1. Bump the version in the `Cargo.toml` file
16 2. Run `cargo publish --dry-run`
17 - Validate it does what you want it to do
18 3. Run `cargo publish` and follow the steps cargo provides