jj/lib
Austin Seipp 13fff3be70 cargo: unify dependency versions through workspace deps
Summary: This moves all dependencies across the jj-lib and jj-cli crates into
the top-level Cargo file; with that, we can change each crate instead to just
inherit the workspace version, with the toggled features enabled, by setting
a dependency such as:

    dep.workspace = true

in the relevant Cargo.toml file.

This doesn't actually change any of the build semantics (from what I can tell)
nor the lockfile, and seems to respond normally. There are more cleanups that
can follow.

Two notes:

- Dependabot seems to work fine, based on what I've seen in other repos.
- `cargo add` doesn't seem to know how to add packages to a top-level
  `workspace.dependencies` field; instead you can `cargo add -p jj-cli`
  and move the entries, at least.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
Change-Id: I307827e5f15c0d8ea8e2a80ec793d3c7
2023-08-06 16:44:33 -05:00
..
benches
gen-protos cargo: unify dependency versions through workspace deps 2023-08-06 16:44:33 -05:00
src git: on import_refs(), filter out uninteresting refs earlier 2023-08-06 14:47:20 +09:00
tests tests: another attempt to fix remaining flaky tests in test_view.rs 2023-08-04 23:36:15 +00:00
testutils cargo: unify dependency versions through workspace deps 2023-08-06 16:44:33 -05:00
Cargo.toml cargo: unify dependency versions through workspace deps 2023-08-06 16:44:33 -05:00