Radish alpha
h
rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5
Radicle Heartwood Protocol & Stack
Radicle
Git
cargo: Clean up dependencies
Merged lorenz opened 10 months ago

All dependencies that are dependencies of multiple crates within the workspace were pulled up to the root Cargo.toml. Dependencies that are dependencies of just one crate within the workspace remain in the */Cargo.toml of that particular crate.

Generally, this helps us keep an overview of dependencies:

  • If multiple crates depend on a crate, we will see the reference to the workspce.
  • Otherwise, we will see a line that specifies the version.

It is up to the maintainers to recognize when a dependency becomes a dependency of multiple crates in the workspace, at which point it should be moved to the workspace.

The tool cargo-autoinherit can be used to automatically pull ALL dependencies to the workspace. I used this, and in a separate, manual step, filtered out those dependencies that are dependencies of a single crate only, moving those back manually.

At the same time, I also unified depending on sibling crates in the workspace. This is now also done via workspace dependencies.

See:

  • https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#inheriting-a-dependency-from-a-workspace
  • https://github.com/mainmatter/cargo-autoinherit
17 files changed +246 -855 d50df68b eea6a9bc
modified Cargo.lock
@@ -3,21 +3,6 @@
version = 4

[[package]]
-
name = "addr2line"
-
version = "0.22.0"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "6e4503c46a5c0c7844e948c9a4d6acd9f50cccb4de1c48eb9e291ea17470c678"
-
dependencies = [
-
 "gimli",
-
]
-

-
[[package]]
-
name = "adler"
-
version = "1.0.2"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe"
-

-
[[package]]
name = "adler2"
version = "2.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -213,21 +198,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f1fdabc7756949593fe60f30ec81974b613357de856987752631dea1e3394c80"

[[package]]
-
name = "backtrace"
-
version = "0.3.73"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "5cc23269a4f8976d0a4d2e7109211a419fe30e8d88d677cd60b6bc79c5732e0a"
-
dependencies = [
-
 "addr2line",
-
 "cc",
-
 "cfg-if",
-
 "libc",
-
 "miniz_oxide 0.7.4",
-
 "object",
-
 "rustc-demangle",
-
]
-

-
[[package]]
name = "base-x"
version = "0.2.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -380,12 +350,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b"

[[package]]
-
name = "bytes"
-
version = "1.10.1"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "d71b6127be86fdcfddb610f7182ac57211d4b18a3e9c82eb2d17662f2227ad6a"
-

-
[[package]]
name = "bytesize"
version = "2.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -833,7 +797,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7ced92e76e966ca2fd84c8f7aa01a4aea65b0eb6648d72f7c8f3e2764a67fece"
dependencies = [
 "crc32fast",
-
 "miniz_oxide 0.8.8",
+
 "miniz_oxide",
]

[[package]]
@@ -848,12 +812,6 @@ dependencies = [
]

[[package]]
-
name = "fnv"
-
version = "1.0.7"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
-

-
[[package]]
name = "form_urlencoded"
version = "1.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -873,56 +831,6 @@ dependencies = [
]

[[package]]
-
name = "futures-channel"
-
version = "0.3.31"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "2dff15bf788c671c1934e366d07e30c1814a8ef514e1af724a602e8a2fbe1b10"
-
dependencies = [
-
 "futures-core",
-
 "futures-sink",
-
]
-

-
[[package]]
-
name = "futures-core"
-
version = "0.3.31"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "05f29059c0c2090612e8d742178b0580d2dc940c837851ad723096f87af6663e"
-

-
[[package]]
-
name = "futures-io"
-
version = "0.3.31"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "9e5c1b78ca4aae1ac06c48a526a655760685149f0d465d21f37abfe57ce075c6"
-

-
[[package]]
-
name = "futures-sink"
-
version = "0.3.31"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "e575fab7d1e0dcb8d0c7bcf9a63ee213816ab51902e6d244a95819acacf1d4f7"
-

-
[[package]]
-
name = "futures-task"
-
version = "0.3.31"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "f90f7dce0722e95104fcb095585910c0977252f286e354b5e3bd38902cd99988"
-

-
[[package]]
-
name = "futures-util"
-
version = "0.3.31"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "9fa08315bb612088cc391249efdc3bc77536f16c91f6cf495e6fbe85b20a4a81"
-
dependencies = [
-
 "futures-core",
-
 "futures-io",
-
 "futures-sink",
-
 "futures-task",
-
 "memchr",
-
 "pin-project-lite",
-
 "pin-utils",
-
 "slab",
-
]
-

-
[[package]]
name = "fxhash"
version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -964,12 +872,6 @@ dependencies = [
]

[[package]]
-
name = "gimli"
-
version = "0.29.0"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "40ecd4077b5ae9fd2e9e169b102c6c330d0605168eb0e8bf79952b256dbefffd"
-

-
[[package]]
name = "git-ref-format"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -1526,12 +1428,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "290f1a1d9242c78d09ce40a5e87e7554ee637af1351968159f4952f028f75604"

[[package]]
-
name = "hermit-abi"
-
version = "0.3.9"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024"
-

-
[[package]]
name = "hmac"
version = "0.12.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -1550,84 +1446,6 @@ dependencies = [
]

[[package]]
-
name = "http"
-
version = "1.3.1"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "f4a85d31aea989eead29a3aaf9e1115a180df8282431156e533de47660892565"
-
dependencies = [
-
 "bytes",
-
 "fnv",
-
 "itoa",
-
]
-

-
[[package]]
-
name = "http-body"
-
version = "1.0.1"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "1efedce1fb8e6913f23e0c92de8e62cd5b772a67e7b3946df930a62566c93184"
-
dependencies = [
-
 "bytes",
-
 "http",
-
]
-

-
[[package]]
-
name = "http-body-util"
-
version = "0.1.3"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "b021d93e26becf5dc7e1b75b1bed1fd93124b374ceb73f43d4d4eafec896a64a"
-
dependencies = [
-
 "bytes",
-
 "futures-core",
-
 "http",
-
 "http-body",
-
 "pin-project-lite",
-
]
-

-
[[package]]
-
name = "httparse"
-
version = "1.10.1"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87"
-

-
[[package]]
-
name = "hyper"
-
version = "1.6.0"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "cc2b571658e38e0c01b1fdca3bbbe93c00d3d71693ff2770043f8c29bc7d6f80"
-
dependencies = [
-
 "bytes",
-
 "futures-channel",
-
 "futures-util",
-
 "http",
-
 "http-body",
-
 "httparse",
-
 "itoa",
-
 "pin-project-lite",
-
 "smallvec",
-
 "tokio",
-
 "want",
-
]
-

-
[[package]]
-
name = "hyper-util"
-
version = "0.1.10"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "df2dcfbe0677734ab2f3ffa7fa7bfd4706bfdc1ef393f2ee30184aed67e631b4"
-
dependencies = [
-
 "bytes",
-
 "futures-channel",
-
 "futures-util",
-
 "http",
-
 "http-body",
-
 "hyper",
-
 "pin-project-lite",
-
 "socket2",
-
 "tokio",
-
 "tower-service",
-
 "tracing",
-
]
-

-
[[package]]
name = "iana-time-zone"
version = "0.1.60"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -1839,12 +1657,6 @@ dependencies = [
]

[[package]]
-
name = "ipnet"
-
version = "2.11.0"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "469fb0b9cefa57e3ef31275ee7cacb78f2fdca44e4765491884a2b119d4eb130"
-

-
[[package]]
name = "itoa"
version = "1.0.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -1919,7 +1731,6 @@ dependencies = [
 "referencing",
 "regex",
 "regex-syntax",
-
 "reqwest",
 "serde",
 "serde_json",
 "uuid-simd",
@@ -2060,21 +1871,6 @@ dependencies = [
]

[[package]]
-
name = "mime"
-
version = "0.3.17"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a"
-

-
[[package]]
-
name = "miniz_oxide"
-
version = "0.7.4"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "b8a240ddb74feaf34a79a7add65a741f3167852fba007066dcac1ca548d89c08"
-
dependencies = [
-
 "adler",
-
]
-

-
[[package]]
name = "miniz_oxide"
version = "0.8.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -2084,18 +1880,6 @@ dependencies = [
]

[[package]]
-
name = "mio"
-
version = "1.0.2"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "80e04d1dcff3aae0704555fe5fee3bcfaf3d1fdf8a7e521d5b9d2b42acb52cec"
-
dependencies = [
-
 "hermit-abi",
-
 "libc",
-
 "wasi",
-
 "windows-sys 0.52.0",
-
]
-

-
[[package]]
name = "multibase"
version = "0.9.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -2265,15 +2049,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b8f8bdf33df195859076e54ab11ee78a1b208382d3a26ec40d142ffc1ecc49ef"

[[package]]
-
name = "object"
-
version = "0.36.7"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "62948e14d923ea95ea2c7c86c71013138b66525b86bdc08d2dcc262bdb497b87"
-
dependencies = [
-
 "memchr",
-
]
-

-
[[package]]
name = "once_cell"
version = "1.21.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -2396,18 +2171,6 @@ dependencies = [
]

[[package]]
-
name = "pin-project-lite"
-
version = "0.2.16"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "3b3cff922bd51709b605d9ead9aa71031d81447142d828eb4a6eba76fe619f9b"
-

-
[[package]]
-
name = "pin-utils"
-
version = "0.1.0"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184"
-

-
[[package]]
name = "pkcs1"
version = "0.7.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -2810,7 +2573,6 @@ dependencies = [
name = "radicle-remote-helper"
version = "0.10.0"
dependencies = [
-
 "log",
 "radicle",
 "radicle-cli",
 "radicle-crypto",
@@ -3017,43 +2779,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c"

[[package]]
-
name = "reqwest"
-
version = "0.12.15"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "d19c46a6fdd48bc4dab94b6103fccc55d34c67cc0ad04653aad4ea2a07cd7bbb"
-
dependencies = [
-
 "base64 0.22.1",
-
 "bytes",
-
 "futures-channel",
-
 "futures-core",
-
 "futures-util",
-
 "http",
-
 "http-body",
-
 "http-body-util",
-
 "hyper",
-
 "hyper-util",
-
 "ipnet",
-
 "js-sys",
-
 "log",
-
 "mime",
-
 "once_cell",
-
 "percent-encoding",
-
 "pin-project-lite",
-
 "serde",
-
 "serde_json",
-
 "serde_urlencoded",
-
 "sync_wrapper",
-
 "tokio",
-
 "tower",
-
 "tower-service",
-
 "url",
-
 "wasm-bindgen",
-
 "wasm-bindgen-futures",
-
 "web-sys",
-
 "windows-registry",
-
]
-

-
[[package]]
name = "rfc6979"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -3085,12 +2810,6 @@ dependencies = [
]

[[package]]
-
name = "rustc-demangle"
-
version = "0.1.24"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "719b953e2095829ee67db738b3bfa9fa368c94900df327b3f07fe6e794d2fe1f"
-

-
[[package]]
name = "rustix"
version = "0.38.34"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -3246,18 +2965,6 @@ dependencies = [
]

[[package]]
-
name = "serde_urlencoded"
-
version = "0.7.1"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "d3491c14715ca2294c4d6a88f15e84739788c1d030eed8c110436aafdaa2f3fd"
-
dependencies = [
-
 "form_urlencoded",
-
 "itoa",
-
 "ryu",
-
 "serde",
-
]
-

-
[[package]]
name = "sha1_smol"
version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -3343,15 +3050,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "56199f7ddabf13fe5074ce809e7d3f42b42ae711800501b5b16ea82ad029c39d"

[[package]]
-
name = "slab"
-
version = "0.4.9"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "8f92a496fb766b417c996b9c5e57daf2f7ad3b0bebe1ccfca4856390e3d3bb67"
-
dependencies = [
-
 "autocfg",
-
]
-

-
[[package]]
name = "smallvec"
version = "1.13.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -3535,15 +3233,6 @@ dependencies = [
]

[[package]]
-
name = "sync_wrapper"
-
version = "1.0.2"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "0bf256ce5efdfa370213c1dabab5935a12e49f2c58d15e9eac2870d3b4f27263"
-
dependencies = [
-
 "futures-core",
-
]
-

-
[[package]]
name = "synstructure"
version = "0.13.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -3673,66 +3362,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20"

[[package]]
-
name = "tokio"
-
version = "1.42.1"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "2209a14885b74764cce87ffa777ffa1b8ce81a3f3166c6f886b83337fe7e077f"
-
dependencies = [
-
 "backtrace",
-
 "libc",
-
 "mio",
-
 "pin-project-lite",
-
 "socket2",
-
 "windows-sys 0.52.0",
-
]
-

-
[[package]]
-
name = "tower"
-
version = "0.5.2"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "d039ad9159c98b70ecfd540b2573b97f7f52c3e8d9f8ad57a24b916a536975f9"
-
dependencies = [
-
 "futures-core",
-
 "futures-util",
-
 "pin-project-lite",
-
 "sync_wrapper",
-
 "tokio",
-
 "tower-layer",
-
 "tower-service",
-
]
-

-
[[package]]
-
name = "tower-layer"
-
version = "0.3.3"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "121c2a6cda46980bb0fcd1647ffaf6cd3fc79a013de288782836f6df9c48780e"
-

-
[[package]]
-
name = "tower-service"
-
version = "0.3.3"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "8df9b6e13f2d32c91b9bd719c00d1958837bc7dec474d94952798cc8e69eeec3"
-

-
[[package]]
-
name = "tracing"
-
version = "0.1.41"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "784e0ac535deb450455cbfa28a6f0df145ea1bb7ae51b821cf5e7927fdcfbdd0"
-
dependencies = [
-
 "pin-project-lite",
-
 "tracing-core",
-
]
-

-
[[package]]
-
name = "tracing-core"
-
version = "0.1.33"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "e672c95779cf947c5311f83787af4fa8fffd12fb27e4993211a84bdfd9610f9c"
-
dependencies = [
-
 "once_cell",
-
]
-

-
[[package]]
name = "tree-sitter"
version = "0.24.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -3885,12 +3514,6 @@ dependencies = [
]

[[package]]
-
name = "try-lock"
-
version = "0.2.5"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b"
-

-
[[package]]
name = "typenum"
version = "1.17.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -4017,15 +3640,6 @@ dependencies = [
]

[[package]]
-
name = "want"
-
version = "0.3.1"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "bfa7760aed19e106de2c7c0b581b509f2f25d3dacaf737cb82ac61bc6d760b0e"
-
dependencies = [
-
 "try-lock",
-
]
-

-
[[package]]
name = "wasi"
version = "0.11.0+wasi-snapshot-preview1"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -4058,19 +3672,6 @@ dependencies = [
]

[[package]]
-
name = "wasm-bindgen-futures"
-
version = "0.4.50"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "555d470ec0bc3bb57890405e5d4322cc9ea83cebb085523ced7be4144dac1e61"
-
dependencies = [
-
 "cfg-if",
-
 "js-sys",
-
 "once_cell",
-
 "wasm-bindgen",
-
 "web-sys",
-
]
-

-
[[package]]
name = "wasm-bindgen-macro"
version = "0.2.100"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -4103,16 +3704,6 @@ dependencies = [
]

[[package]]
-
name = "web-sys"
-
version = "0.3.77"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "33b6dd2ef9186f1f2072e409e99cd22a975331a6b3591b12c764e0e55c60d5d2"
-
dependencies = [
-
 "js-sys",
-
 "wasm-bindgen",
-
]
-

-
[[package]]
name = "winapi-util"
version = "0.1.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -4131,41 +3722,6 @@ dependencies = [
]

[[package]]
-
name = "windows-link"
-
version = "0.1.1"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "76840935b766e1b0a05c0066835fb9ec80071d4c09a16f6bd5f7e655e3c14c38"
-

-
[[package]]
-
name = "windows-registry"
-
version = "0.4.0"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "4286ad90ddb45071efd1a66dfa43eb02dd0dfbae1545ad6cc3c51cf34d7e8ba3"
-
dependencies = [
-
 "windows-result",
-
 "windows-strings",
-
 "windows-targets 0.53.0",
-
]
-

-
[[package]]
-
name = "windows-result"
-
version = "0.3.2"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "c64fd11a4fd95df68efcfee5f44a294fe71b8bc6a91993e2791938abcc712252"
-
dependencies = [
-
 "windows-link",
-
]
-

-
[[package]]
-
name = "windows-strings"
-
version = "0.3.1"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "87fa48cc5d406560701792be122a10132491cff9d0aeb23583cc2dcafc847319"
-
dependencies = [
-
 "windows-link",
-
]
-

-
[[package]]
name = "windows-sys"
version = "0.48.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -4207,7 +3763,7 @@ dependencies = [
 "windows_aarch64_gnullvm 0.52.5",
 "windows_aarch64_msvc 0.52.5",
 "windows_i686_gnu 0.52.5",
-
 "windows_i686_gnullvm 0.52.5",
+
 "windows_i686_gnullvm",
 "windows_i686_msvc 0.52.5",
 "windows_x86_64_gnu 0.52.5",
 "windows_x86_64_gnullvm 0.52.5",
@@ -4215,22 +3771,6 @@ dependencies = [
]

[[package]]
-
name = "windows-targets"
-
version = "0.53.0"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "b1e4c7e8ceaaf9cb7d7507c974735728ab453b67ef8f18febdd7c11fe59dca8b"
-
dependencies = [
-
 "windows_aarch64_gnullvm 0.53.0",
-
 "windows_aarch64_msvc 0.53.0",
-
 "windows_i686_gnu 0.53.0",
-
 "windows_i686_gnullvm 0.53.0",
-
 "windows_i686_msvc 0.53.0",
-
 "windows_x86_64_gnu 0.53.0",
-
 "windows_x86_64_gnullvm 0.53.0",
-
 "windows_x86_64_msvc 0.53.0",
-
]
-

-
[[package]]
name = "windows_aarch64_gnullvm"
version = "0.48.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -4243,12 +3783,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7088eed71e8b8dda258ecc8bac5fb1153c5cffaf2578fc8ff5d61e23578d3263"

[[package]]
-
name = "windows_aarch64_gnullvm"
-
version = "0.53.0"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "86b8d5f90ddd19cb4a147a5fa63ca848db3df085e25fee3cc10b39b6eebae764"
-

-
[[package]]
name = "windows_aarch64_msvc"
version = "0.48.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -4261,12 +3795,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9985fd1504e250c615ca5f281c3f7a6da76213ebd5ccc9561496568a2752afb6"

[[package]]
-
name = "windows_aarch64_msvc"
-
version = "0.53.0"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "c7651a1f62a11b8cbd5e0d42526e55f2c99886c77e007179efff86c2b137e66c"
-

-
[[package]]
name = "windows_i686_gnu"
version = "0.48.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -4279,24 +3807,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "88ba073cf16d5372720ec942a8ccbf61626074c6d4dd2e745299726ce8b89670"

[[package]]
-
name = "windows_i686_gnu"
-
version = "0.53.0"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "c1dc67659d35f387f5f6c479dc4e28f1d4bb90ddd1a5d3da2e5d97b42d6272c3"
-

-
[[package]]
name = "windows_i686_gnullvm"
version = "0.52.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "87f4261229030a858f36b459e748ae97545d6f1ec60e5e0d6a3d32e0dc232ee9"

[[package]]
-
name = "windows_i686_gnullvm"
-
version = "0.53.0"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "9ce6ccbdedbf6d6354471319e781c0dfef054c81fbc7cf83f338a4296c0cae11"
-

-
[[package]]
name = "windows_i686_msvc"
version = "0.48.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -4309,12 +3825,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "db3c2bf3d13d5b658be73463284eaf12830ac9a26a90c717b7f771dfe97487bf"

[[package]]
-
name = "windows_i686_msvc"
-
version = "0.53.0"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "581fee95406bb13382d2f65cd4a908ca7b1e4c2f1917f143ba16efe98a589b5d"
-

-
[[package]]
name = "windows_x86_64_gnu"
version = "0.48.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -4327,12 +3837,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4e4246f76bdeff09eb48875a0fd3e2af6aada79d409d33011886d3e1581517d9"

[[package]]
-
name = "windows_x86_64_gnu"
-
version = "0.53.0"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "2e55b5ac9ea33f2fc1716d1742db15574fd6fc8dadc51caab1c16a3d3b4190ba"
-

-
[[package]]
name = "windows_x86_64_gnullvm"
version = "0.48.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -4345,12 +3849,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "852298e482cd67c356ddd9570386e2862b5673c85bd5f88df9ab6802b334c596"

[[package]]
-
name = "windows_x86_64_gnullvm"
-
version = "0.53.0"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "0a6e035dd0599267ce1ee132e51c27dd29437f63325753051e71dd9e42406c57"
-

-
[[package]]
name = "windows_x86_64_msvc"
version = "0.48.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -4363,12 +3861,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bec47e5bfd1bff0eeaf6d8b485cc1074891a197ab4225d504cb7a1ab88b02bf0"

[[package]]
-
name = "windows_x86_64_msvc"
-
version = "0.53.0"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "271414315aff87387382ec3d271b52d7ae78726f5d44ac98b4f4030c91880486"
-

-
[[package]]
name = "winnow"
version = "0.6.26"
source = "registry+https://github.com/rust-lang/crates.io-index"
modified Cargo.toml
@@ -44,7 +44,49 @@ version = "0.9.0"
rust-version = "1.81.0"

[workspace.dependencies]
+
amplify = { version = "4.0.0", default-features = false }
+
anyhow = "1"
+
bstr = "1.3"
+
byteorder = "1.4"
+
chrono = { version = "0.4.26", default-features = false }
+
colored = "2.1.0"
+
crossbeam-channel = "0.5.6"
+
cyphernet = "0.5.2"
+
fastrand = { version = "2.0.0", default-features = false }
+
git2 = { version = "0.19.0", default-features = false }
+
lexopt = "0.3.0"
+
libc = "0.2.137"
+
localtime = "1.2.0"
+
log = "0.4.17"
+
multibase = "0.9.1"
+
nonempty = "0.9.0"
+
pretty_assertions = "1.3.0"
+
qcheck = { version = "1", default-features = false }
+
qcheck-macros = { version = "1", default-features = false }
+
radicle = { path = "radicle" }
+
radicle-cli = { path = "radicle-cli" }
+
radicle-cli-test = { path = "radicle-cli-test" }
+
radicle-cob = { path = "radicle-cob" }
+
radicle-crypto = { path = "radicle-crypto" }
+
radicle-dag = { path = "radicle-dag" }
+
radicle-fetch = { path = "radicle-fetch" }
+
radicle-git-ext = { version = "0.8.0", default-features = false }
+
radicle-node = { path = "radicle-node" }
+
radicle-signals = { path = "radicle-signals" }
+
radicle-ssh = { path = "radicle-ssh", default-features = false }
+
radicle-systemd = { path = "radicle-systemd" }
+
radicle-term = { path = "radicle-term" }
schemars = { version = "1.0.0-alpha.17" }
+
serde = "1.0"
+
serde_json = "1.0"
+
shlex = "1.1.0"
+
signature = "2.2"
+
snapbox = "0.4.3"
+
sqlite = "0.32.0"
+
ssh-key = { version = "0.6.3", default-features = false }
+
tempfile = "3.3.0"
+
thiserror = "1.0"
+
zeroize = "1.5.7"

[workspace.lints]
clippy.type_complexity = "allow"
modified radicle-cli-test/Cargo.toml
@@ -12,14 +12,10 @@ readme = "README.md"
rust-version.workspace = true

[dependencies]
-
escargot = { version = "0.5.7" }
-
log = { version = "0.4", features = ["std"] }
-
pretty_assertions = { version = "1.3.0" }
-
shlex = { version = "1.1.0" }
-
snapbox = { version = "0.4.3" }
-
thiserror = { version = "1" }
-

-
[dependencies.radicle]
-
path = "../radicle"
-
version = "0"
-
features = ["logger", "test"]
+
escargot = "0.5.7"
+
log = { workspace = true, features = ["std"] }
+
pretty_assertions = { workspace = true }
+
radicle = { workspace = true, features = ["logger", "test"]}
+
shlex = { workspace = true }
+
snapbox = { workspace = true }
+
thiserror = { workspace = true }

\ No newline at end of file
modified radicle-cli/Cargo.toml
@@ -14,65 +14,49 @@ name = "rad"
path = "src/main.rs"

[dependencies]
-
anyhow = { version = "1" }
-
chrono = { version = "0.4.26", default-features = false, features = ["clock", "std"] }
+
anyhow = { workspace = true }
+
chrono = { workspace = true, features = ["clock", "std"] }
git-ref-format = { version = "0.3.0", features = ["macro"] }
-
lexopt = { version = "0.3.0" }
-
localtime = { version = "1.2.0" }
-
log = { version = "0.4", features = ["std"] }
-
nonempty = { version = "0.9.0" }
+
lexopt = { workspace = true }
+
localtime = { workspace = true }
+
log = { workspace = true, features = ["std"] }
+
nonempty = { workspace = true }
+
radicle = { workspace = true, features = ["logger", "schemars"] }
+
radicle-cob = { workspace = true }
+
radicle-crypto = { workspace = true }
# N.b. this is required to use macros, even though it's re-exported
# through radicle
-
radicle-git-ext = { version = "0.8.0", features = ["serde"] }
-
radicle-surf = { version = "0.22.0" }
-
serde = { version = "1.0" }
-
serde_json = { version = "1" }
-
shlex = { version = "1.1.0" }
-
tempfile = { version = "3.3.0" }
-
thiserror = { version = "1" }
-
timeago = { version = "0.4.2", default-features = false }
-
tree-sitter = { version = "0.24.4" }
-
tree-sitter-highlight = { version = "0.24.4" }
-
tree-sitter-json = { version = "0.24.8" }
-
tree-sitter-rust = { version = "0.23.2" }
-
tree-sitter-typescript = { version = "0.23.2" }
-
tree-sitter-html = { version = "0.23.2" }
-
tree-sitter-css = { version = "0.23.1" }
-
tree-sitter-toml-ng = { version = "0.6.0" }
-
tree-sitter-c = { version = "0.23.2" }
-
tree-sitter-python = { version = "0.23.4" }
-
tree-sitter-ruby = { version = "0.23.1" }
-
tree-sitter-bash = { version = "0.23.3" }
-
tree-sitter-go = { version = "0.23.4" }
-
tree-sitter-md = { version = "0.3.2" }
-
zeroize = { version = "1.1" }
+
radicle-git-ext = { workspace = true, features = ["serde"] }
+
radicle-surf = "0.22.0"
+
radicle-term = { workspace = true }
schemars = { workspace = true }
-

-
[dependencies.radicle]
-
version = "0.15"
-
path = "../radicle"
-
features = ["logger", "schemars"]
-

-
[dependencies.radicle-cob]
-
version = "0.14"
-
path = "../radicle-cob"
-

-
[dependencies.radicle-crypto]
-
version = "0.12"
-
path = "../radicle-crypto"
-

-
[dependencies.radicle-term]
-
version = "0.12"
-
path = "../radicle-term"
+
serde = { workspace = true }
+
serde_json = { workspace = true }
+
shlex = { workspace = true }
+
tempfile = { workspace = true }
+
thiserror = { workspace = true }
+
timeago = { version = "0.4.2", default-features = false }
+
tree-sitter = "0.24.4"
+
tree-sitter-bash = "0.23.3"
+
tree-sitter-c = "0.23.2"
+
tree-sitter-css = "0.23.1"
+
tree-sitter-go = "0.23.4"
+
tree-sitter-highlight = "0.24.4"
+
tree-sitter-html = "0.23.2"
+
tree-sitter-json = "0.24.8"
+
tree-sitter-md = "0.3.2"
+
tree-sitter-python = "0.23.4"
+
tree-sitter-ruby = "0.23.1"
+
tree-sitter-rust = "0.23.2"
+
tree-sitter-toml-ng = "0.6.0"
+
tree-sitter-typescript = "0.23.2"
+
zeroize = { workspace = true }

[dev-dependencies]
-
pretty_assertions = { version = "1.3.0" }
-
radicle = { version = "0", path = "../radicle", features = ["test"] }
-
radicle-node = { path = "../radicle-node", features = ["test"] }
-

-
[dev-dependencies.radicle-cli-test]
-
version = "0"
-
path = "../radicle-cli-test"
+
pretty_assertions = { workspace = true }
+
radicle = { workspace = true, features = ["test"] }
+
radicle-cli-test = { workspace = true }
+
radicle-node = { workspace = true, features = ["test"] }

[lints]
workspace = true
modified radicle-cob/Cargo.toml
@@ -19,39 +19,21 @@ default = []
stable-commit-ids = []

[dependencies]
-
fastrand = { version = "2.0.0" }
-
log = { version = "0.4.17" }
-
nonempty = { version = "0.9.0", features = ["serialize"] }
-
radicle-git-ext = { version = "0.8.0", features = ["serde"] }
-
serde_json = { version = "1.0" }
-
signature = { version = "2.2" }
-
thiserror = { version = "1.0" }
-

-
[dependencies.git2]
-
version = "0.19.0"
-
default-features = false
-
features = ["vendored-libgit2"]
-

-
[dependencies.radicle-crypto]
-
path = "../radicle-crypto"
-
version = "0.12"
-
features = ["ssh"]
-

-
[dependencies.radicle-dag]
-
path = "../radicle-dag"
-
version = "0.10"
-

-
[dependencies.serde]
-
version = "1.0"
-
features = ["derive"]
+
fastrand = { workspace = true }
+
git2 = { workspace = true, features = ["vendored-libgit2"] }
+
log = { workspace = true }
+
nonempty = { workspace = true, features = ["serialize"] }
+
radicle-crypto = { workspace = true, features = ["ssh"] }
+
radicle-dag = { workspace = true }
+
radicle-git-ext = { workspace = true, features = ["serde"] }
+
serde = { workspace = true, features = ["derive"] }
+
serde_json = { workspace = true }
+
signature = { workspace = true }
+
thiserror = { workspace = true }

[dev-dependencies]
-
fastrand = { version = "2.0.0", default-features = false }
-
tempfile = { version = "3" }
-
qcheck = { version = "1", default-features = false }
-
qcheck-macros = { version = "1", default-features = false }
-

-
[dev-dependencies.radicle-crypto]
-
path = "../radicle-crypto"
-
version = "0"
-
features = ["test", "radicle-git-ext"]
+
fastrand = { workspace = true }
+
qcheck = { workspace = true }
+
qcheck-macros = { workspace = true }
+
radicle-crypto = { workspace = true, features = ["test", "radicle-git-ext"] }
+
tempfile = { workspace = true }

\ No newline at end of file
modified radicle-crdt/Cargo.toml
@@ -9,20 +9,16 @@ rust-version.workspace = true
test = ["fastrand", "qcheck"]

[dependencies]
-
fastrand = { version = "2.0.0", optional = true }
+
fastrand = { workspace = true, optional = true }
num-traits = { version = "0.2.15", default-features = false, features = ["std"] }
-
qcheck = { version = "1", optional = true }
-
serde = { version = "1" }
-
thiserror = { version = "1" }
-

-
[dependencies.radicle-crypto]
-
path = "../radicle-crypto"
-
version = "0"
-
features = []
+
qcheck = { workspace = true, optional = true }
+
radicle-crypto = { workspace = true }
+
serde = { workspace = true }
+
thiserror = { workspace = true }

[dev-dependencies]
-
fastrand = { version = "2.0.0" }
-
qcheck = { version = "1" }
-
qcheck-macros = { version = "1" }
-
radicle-crypto = { path = "../radicle-crypto", features = ["test"] }
-
tempfile = { version = "3" }
+
fastrand = { workspace = true }
+
qcheck = { workspace = true }
+
qcheck-macros = { workspace = true }
+
radicle-crypto = { workspace = true, features = ["test"] }
+
tempfile = { workspace = true }
modified radicle-crypto/Cargo.toml
@@ -17,41 +17,23 @@ test = ["fastrand", "qcheck"]
ssh = ["radicle-ssh", "ssh-key"]

[dependencies]
-
amplify = { version = "4.0.0" }
-
cyphernet = { version = "0.5.0", optional = true, features = ["ed25519"] }
-
fastrand = { version = "2.0.0", default-features = false, optional = true }
-
multibase = { version = "0.9.1" }
-
ec25519 = { version = "0.1.0", features = [] }
-
serde = { version = "1", features = ["derive"] }
-
signature = { version = "2.2"  }
-
sqlite = { version = "0.32.0", optional = true, features = ["bundled"] }
-
thiserror = { version = "1" }
-
zeroize = { version = "1.5.7" }
-

-
[dependencies.radicle-git-ext]
-
version = "0.8.0"
-
default-features = false
-
optional = true
-

-
[dependencies.ssh-key]
-
version = "0.6.3"
-
default-features = false
-
features = ["std", "encryption", "getrandom"]
-
optional = true
-

-
[dependencies.qcheck]
-
version = "1"
-
default-features = false
-
optional = true
-

-
[dependencies.radicle-ssh]
-
path = "../radicle-ssh"
-
version = "0.9"
-
default-features = false
-
optional = true
+
amplify = { workspace = true }
+
cyphernet = { workspace = true, features = ["ed25519"], optional = true }
+
ec25519 = "0.1.0"
+
fastrand = { workspace = true, optional = true }
+
multibase = { workspace = true }
+
qcheck = { workspace = true, optional = true }
+
radicle-git-ext = { workspace = true, optional = true }
+
radicle-ssh = { workspace = true, optional = true }
+
serde = { workspace = true, features = ["derive"] }
+
signature = { workspace = true }
+
sqlite = { workspace = true, features = ["bundled"], optional = true }
+
ssh-key = { workspace = true, features = ["std", "encryption", "getrandom"], optional = true }
+
thiserror = { workspace = true }
+
zeroize = { workspace = true }

[dev-dependencies]
-
fastrand = { version = "2.0.0", default-features = false }
-
qcheck-macros = { version = "1", default-features = false }
-
qcheck = { version = "1", default-features = false }
-
tempfile = { version = "3.3.0" }
+
fastrand = { workspace = true }
+
qcheck = { workspace = true }
+
qcheck-macros = { workspace = true }
+
tempfile = { workspace = true }
modified radicle-dag/Cargo.toml
@@ -10,4 +10,4 @@ edition = "2021"
rust-version.workspace = true

[dependencies]
-
fastrand = { version = "2.0.0" }
+
fastrand = { workspace = true }
modified radicle-fetch/Cargo.toml
@@ -9,19 +9,16 @@ edition = "2021"
rust-version.workspace = true

[dependencies]
-
bstr = { version = "1.3" }
-
either = { version = "1.9.0" }
+
bstr = { workspace = true }
+
either = "1.9.0"
gix-features = { version = "0.39.1", features = ["progress"] }
-
gix-hash = { version = "0.15.1" }
-
gix-odb = { version = "0.66.0" }
-
gix-pack = { version = "0.56.0" }
+
gix-hash = "0.15.1"
+
gix-odb = "0.66.0"
+
gix-pack = "0.56.0"
gix-protocol = { version = "0.47.0", features = ["blocking-client"] }
gix-transport = { version = "0.44.0", features = ["blocking-client"] }
-
log = { version = "0.4.17", features = ["std"] }
-
nonempty = { version = "0.9.0" }
-
radicle-git-ext = { version = "0.8.0", features = ["bstr"] }
-
thiserror = { version = "1" }
-

-
[dependencies.radicle]
-
path = "../radicle"
-
version = "0.15"
+
log = { workspace = true, features = ["std"] }
+
nonempty = { workspace = true }
+
radicle = { workspace = true }
+
radicle-git-ext = { workspace = true, features = ["bstr"] }
+
thiserror = { workspace = true }

\ No newline at end of file
modified radicle-node/Cargo.toml
@@ -15,56 +15,42 @@ systemd = ["dep:radicle-systemd"]
test = ["radicle/test", "radicle-crypto/test", "radicle-crypto/cyphernet", "qcheck", "snapbox"]

[dependencies]
-
amplify = { version = "4.0.0" }
-
anyhow = { version = "1" }
-
bloomy = { version = "1.2" }
-
byteorder = { version = "1" }
-
chrono = { version = "0.4.0", default-features = false, features = ["clock"] }
-
colored = { version = "2.1.0" }
-
crossbeam-channel = { version = "0.5.6" }
-
cyphernet = { version = "0.5.2", features = ["tor", "dns", "ed25519", "p2p-ed25519"] }
-
fastrand = { version = "2.0.0" }
+
amplify = { workspace = true }
+
anyhow = { workspace = true }
+
bloomy = "1.2"
+
byteorder = { workspace = true }
+
chrono = { workspace = true, features = ["clock"] }
+
colored = { workspace = true }
+
crossbeam-channel = { workspace = true }
+
cyphernet = { workspace = true, features = ["tor", "dns", "ed25519", "p2p-ed25519"] }
+
fastrand = { workspace = true }
io-reactor = { version = "0.5.1", features = ["popol"] }
-
lexopt = { version = "0.3.0" }
-
libc = { version = "0.2.137" }
-
log = { version = "0.4.17", features = ["std"] }
-
localtime = { version = "1.2.0" }
+
lexopt = { workspace = true }
+
libc = { workspace = true }
+
log = { workspace = true, features = ["std"] }
+
localtime = { workspace = true }
netservices = { version = "0.8.0", features = ["io-reactor", "socket2"] }
-
nonempty = { version = "0.9.0", features = ["serialize"] }
-
qcheck = { version = "1", default-features = false, optional = true }
+
nonempty = { workspace = true, features = ["serialize"] }
+
qcheck = { workspace = true, optional = true }
+
radicle = { workspace = true, features = ["logger"] }
+
radicle-fetch = { workspace = true }
# N.b. this is required to use macros, even though it's re-exported
# through radicle
-
radicle-git-ext = { version = "0.8.0", features = ["serde"] }
-
sqlite = { version = "0.32.0", features = ["bundled"] }
+
radicle-git-ext = { workspace = true, features = ["serde"] }
+
radicle-signals = { workspace = true }
+
radicle-systemd = { workspace = true, optional = true }
+
sqlite = { workspace = true, features = ["bundled"] }
scrypt = { version = "0.11.0", default-features = false }
-
serde = { version = "1", features = ["derive"] }
-
serde_json = { version = "1", features = ["preserve_order"] }
-
snapbox = { version = "0.4.3", optional = true }
-
socket2 = { version = "0.5.7" }
-
tempfile = { version = "3.3.0" }
-
thiserror = { version = "1" }
-

-
[dependencies.radicle]
-
path = "../radicle"
-
version = "0.15"
-
features = ["logger"]
-

-
[dependencies.radicle-fetch]
-
path = "../radicle-fetch"
-
version = "0.11"
-

-
[dependencies.radicle-signals]
-
path = "../radicle-signals"
-
version = "0.11"
-

-
[dependencies.radicle-systemd]
-
path = "../radicle-systemd"
-
version = "0.9.0"
-
optional = true
+
serde = { workspace = true, features = ["derive"] }
+
serde_json = { workspace = true, features = ["preserve_order"] }
+
snapbox = { workspace = true, optional = true }
+
socket2 = "0.5.7"
+
tempfile = { workspace = true }
+
thiserror = { workspace = true }

[dev-dependencies]
-
radicle = { path = "../radicle", version = "0", features = ["test"] }
-
radicle-crypto = { path = "../radicle-crypto", version = "0", features = ["test", "cyphernet"] }
-
qcheck = { version = "1", default-features = false }
-
qcheck-macros = { version = "1", default-features = false }
-
snapbox = { version = "0.4.3" }
+
qcheck = { workspace = true }
+
qcheck-macros = { workspace = true }
+
radicle = { workspace = true, features = ["test"] }
+
radicle-crypto = { workspace = true, features = ["test", "cyphernet"] }
+
snapbox = { workspace = true }

\ No newline at end of file
modified radicle-remote-helper/Cargo.toml
@@ -9,23 +9,13 @@ edition = "2021"
build = "build.rs"
rust-version.workspace = true

-
[dependencies]
-
thiserror = { version = "1" }
-
log = { version = "0.4.17" }
-
radicle-git-ext = { version = "0.8.0" }
-

-
[dependencies.radicle]
-
path = "../radicle"
-
version = "0.15"
-

-
[dependencies.radicle-crypto]
-
path = "../radicle-crypto"
-
version = "0.12"
-

-
[dependencies.radicle-cli]
-
path = "../radicle-cli"
-
version = "0.13"
-

[[bin]]
name = "git-remote-rad"
path = "src/git-remote-rad.rs"
+

+
[dependencies]
+
radicle = { workspace = true }
+
radicle-cli = { workspace = true }
+
radicle-crypto = { workspace = true }
+
radicle-git-ext = { workspace = true }
+
thiserror = { workspace = true }

\ No newline at end of file
modified radicle-schemars/Cargo.toml
@@ -13,11 +13,7 @@ name = "radicle-schemars"
path = "src/main.rs"

[dependencies]
+
radicle = { workspace = true, features = ["schemars"]}
schemars = { workspace = true }
-
serde = { version = "1.0" }
-
serde_json = { version = "1" }
-

-
[dependencies.radicle]
-
version = "0"
-
path = "../radicle"
-
features = ["schemars"]

\ No newline at end of file
+
serde = { workspace = true }
+
serde_json = { workspace = true }

\ No newline at end of file
modified radicle-signals/Cargo.toml
@@ -9,6 +9,6 @@ version = "0.11.0"
rust-version.workspace = true

[dependencies]
-
crossbeam-channel = { version = "0.5.6" }
-
libc = { version = "0.2" }
+
crossbeam-channel = { workspace = true }
+
libc = { workspace = true }
signals_receipts = { version = "0.2.0", features = ["channel_notify_facility"] }
modified radicle-ssh/Cargo.toml
@@ -14,7 +14,7 @@ edition = "2021"
rust-version.workspace = true

[dependencies]
-
byteorder = "1.4"
-
log = "0.4"
-
thiserror = "1.0"
-
zeroize = "1.5.7"
+
byteorder = { workspace = true }
+
log = { workspace = true }
+
thiserror = { workspace = true }
+
zeroize = { workspace = true }
modified radicle-term/Cargo.toml
@@ -13,28 +13,20 @@ rust-version.workspace = true
default = ["git2"]

[dependencies]
-
anyhow = { version = "1" }
-
anstyle-query = { version = "1.0.0" }
-
crossbeam-channel = { version = "0.5.6" }
+
anyhow = { workspace = true }
+
anstyle-query = "1.0.0"
+
crossbeam-channel = { workspace = true }
inquire = { version = "0.7.4", default-features = false, features = ["termion", "editor"] }
-
libc = { version = "0.2" }
-
shlex = { version = "1.1" }
-
termion = { version = "3" }
-
thiserror = { version = "1" }
-
unicode-display-width = { version = "0.3.0" }
-
unicode-segmentation = { version = "1.7.1" }
-
zeroize = { version = "1.1" }
-

-
[dependencies.git2]
-
version = "0.19.0"
-
default-features = false
-
features = ["vendored-libgit2"]
-
optional = true
-

-
[dependencies.radicle-signals]
-
path = "../radicle-signals"
-
version = "0.11"
+
libc = { workspace = true }
+
shlex = { workspace = true }
+
termion = "3"
+
thiserror = { workspace = true }
+
unicode-display-width = "0.3.0"
+
unicode-segmentation = "1.7.1"
+
zeroize = { workspace = true }
+
git2 = { workspace = true, features = ["vendored-libgit2"], optional = true }
+
radicle-signals = { workspace = true }

[dev-dependencies]
-
pretty_assertions = { version = "1.3.0" }
-
tempfile = { version = "3.3.0" }
+
pretty_assertions = { workspace = true }
+
tempfile = { workspace = true }
modified radicle-tools/Cargo.toml
@@ -6,24 +6,6 @@ authors = ["Alexis Sellier <alexis@radicle.xyz>"]
edition = "2021"
rust-version.workspace = true

-
[dependencies]
-
anyhow = { version = "1" }
-
# N.b. this is required to use macros, even though it's re-exported
-
# through radicle
-
radicle-git-ext = { version = "0.8.0", features = ["serde"] }
-

-
[dependencies.radicle]
-
version = "0"
-
path = "../radicle"
-

-
[dependencies.radicle-cli]
-
version = "0"
-
path = "../radicle-cli"
-

-
[dependencies.radicle-term]
-
version = "0"
-
path = "../radicle-term"
-

[[bin]]
name = "rad-init"
path = "src/rad-init.rs"
@@ -51,3 +33,12 @@ path = "src/rad-agent.rs"
[[bin]]
name = "rad-cli-demo"
path = "src/rad-cli-demo.rs"
+

+
[dependencies]
+
anyhow = { workspace = true }
+
radicle = { workspace = true }
+
radicle-cli = { workspace = true }
+
# N.b. this is required to use macros, even though it's re-exported
+
# through radicle
+
radicle-git-ext = { workspace = true, features = ["serde"] }
+
radicle-term = { workspace = true }

\ No newline at end of file
modified radicle/Cargo.toml
@@ -15,74 +15,39 @@ test = ["qcheck", "radicle-crypto/test"]
logger = ["colored", "chrono"]

[dependencies]
-
amplify = { version = "4.0.0", default-features = false, features = ["std"] }
-
base64 = { version = "0.21.3" }
+
amplify = { workspace = true, features = ["std"] }
+
base64 = "0.21.3"
bytesize = { version = "2", features = ["serde"] }
-
crossbeam-channel = { version = "0.5.6" }
-
cyphernet = { version = "0.5.0", features = ["tor", "dns", "p2p-ed25519"] }
-
fastrand = { version = "2.0.0" }
-
multibase = { version = "0.9.1" }
-
localtime = { version = "1.2.0", features = ["serde"] }
-
libc = { version = "0.2" }
-
log = { version = "0.4.17", features = ["std"] }
-
nonempty = { version = "0.9.0", features = ["serialize"] }
-
serde = { version = "1", features = ["derive"] }
-
serde_json = { version = "1", features = ["preserve_order"] }
-
siphasher = { version = "1.0.0" }
-
radicle-git-ext = { version = "0.8.0", features = ["serde"] }
-
sqlite = { version = "0.32.0", features = ["bundled"] }
-
tempfile = { version = "3.3.0" }
-
thiserror = { version = "1" }
-
unicode-normalization = { version = "0.1" }
+
chrono = { workspace = true, features = ["clock"], optional = true }
+
colored = { workspace = true, optional = true }
+
crossbeam-channel = { workspace = true }
+
cyphernet = { workspace = true, features = ["tor", "dns", "p2p-ed25519"] }
+
fastrand = { workspace = true }
+
git2 = { workspace = true, features = ["vendored-libgit2"] }
+
libc = { workspace = true }
+
localtime = { workspace = true, features = ["serde"] }
+
log = { workspace = true, features = ["std"] }
+
multibase = { workspace = true }
+
nonempty = { workspace = true, features = ["serialize"] }
+
qcheck = { workspace = true, optional = true }
+
radicle-cob = { workspace = true }
+
radicle-crypto = { workspace = true, features = ["radicle-git-ext", "ssh", "sqlite", "cyphernet"] }
+
radicle-git-ext = { workspace = true, features = ["serde"] }
+
radicle-ssh = { workspace = true }
schemars = { workspace = true, optional = true }
-

-
[dependencies.chrono]
-
version = "0.4.0"
-
default-features = false
-
features = ["clock"]
-
optional = true
-

-
[dependencies.colored]
-
version = "2.1.0"
-
optional = true
-

-
[dependencies.git2]
-
version = "0.19.0"
-
default-features = false
-
features = ["vendored-libgit2"]
-

-
[dependencies.radicle-cob]
-
path = "../radicle-cob"
-
version = "0.14"
-

-
[dependencies.radicle-crypto]
-
path = "../radicle-crypto"
-
version = "0.12"
-
features = ["radicle-git-ext", "ssh", "sqlite", "cyphernet"]
-

-
[dependencies.radicle-ssh]
-
path = "../radicle-ssh"
-
version = "0.9"
-
default-features = false
-

-
[dependencies.qcheck]
-
version = "1"
-
default-features = false
-
optional = true
+
serde = { workspace = true, features = ["derive"] }
+
serde_json = { workspace = true, features = ["preserve_order"] }
+
siphasher = "1.0.0"
+
sqlite = { workspace = true, features = ["bundled"] }
+
tempfile = { workspace = true }
+
thiserror = { workspace = true }
+
unicode-normalization = { version = "0.1" }

[dev-dependencies]
-
emojis = { version = "0.6" }
-
pretty_assertions = { version = "1.3.0" }
-
qcheck-macros = { version = "1", default-features = false }
-
qcheck = { version = "1", default-features = false }
-
jsonschema = { version = "0.30" }
-

-
[dev-dependencies.radicle-crypto]
-
path = "../radicle-crypto"
-
version = "0"
-
features = ["test"]
-

-
[dev-dependencies.radicle-cob]
-
path = "../radicle-cob"
-
version = "0"
-
features = ["stable-commit-ids"]
+
emojis = "0.6"
+
jsonschema = { version = "0.30", default-features = false }
+
pretty_assertions = { workspace = true }
+
qcheck = { workspace = true }
+
qcheck-macros = { workspace = true }
+
radicle-cob = { workspace = true, features = ["stable-commit-ids"] }
+
radicle-crypto = { workspace = true, features = ["test"] }

\ No newline at end of file