cargo: Clean up dependencies

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
This commit is contained in:
Lorenz Leutgeb 2025-06-09 13:38:20 +02:00
parent d50df68b74
commit eea6a9bc70
17 changed files with 246 additions and 855 deletions

512
Cargo.lock generated
View File

@ -2,21 +2,6 @@
# It is not intended for manual editing. # It is not intended for manual editing.
version = 4 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]] [[package]]
name = "adler2" name = "adler2"
version = "2.0.0" version = "2.0.0"
@ -212,21 +197,6 @@ version = "1.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f1fdabc7756949593fe60f30ec81974b613357de856987752631dea1e3394c80" 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]] [[package]]
name = "base-x" name = "base-x"
version = "0.2.11" version = "0.2.11"
@ -379,12 +349,6 @@ version = "1.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b"
[[package]]
name = "bytes"
version = "1.10.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d71b6127be86fdcfddb610f7182ac57211d4b18a3e9c82eb2d17662f2227ad6a"
[[package]] [[package]]
name = "bytesize" name = "bytesize"
version = "2.0.1" version = "2.0.1"
@ -833,7 +797,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7ced92e76e966ca2fd84c8f7aa01a4aea65b0eb6648d72f7c8f3e2764a67fece" checksum = "7ced92e76e966ca2fd84c8f7aa01a4aea65b0eb6648d72f7c8f3e2764a67fece"
dependencies = [ dependencies = [
"crc32fast", "crc32fast",
"miniz_oxide 0.8.8", "miniz_oxide",
] ]
[[package]] [[package]]
@ -847,12 +811,6 @@ dependencies = [
"serde", "serde",
] ]
[[package]]
name = "fnv"
version = "1.0.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
[[package]] [[package]]
name = "form_urlencoded" name = "form_urlencoded"
version = "1.2.1" version = "1.2.1"
@ -872,56 +830,6 @@ dependencies = [
"num", "num",
] ]
[[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]] [[package]]
name = "fxhash" name = "fxhash"
version = "0.2.1" version = "0.2.1"
@ -963,12 +871,6 @@ dependencies = [
"polyval", "polyval",
] ]
[[package]]
name = "gimli"
version = "0.29.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "40ecd4077b5ae9fd2e9e169b102c6c330d0605168eb0e8bf79952b256dbefffd"
[[package]] [[package]]
name = "git-ref-format" name = "git-ref-format"
version = "0.3.0" version = "0.3.0"
@ -1525,12 +1427,6 @@ version = "0.14.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "290f1a1d9242c78d09ce40a5e87e7554ee637af1351968159f4952f028f75604" checksum = "290f1a1d9242c78d09ce40a5e87e7554ee637af1351968159f4952f028f75604"
[[package]]
name = "hermit-abi"
version = "0.3.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024"
[[package]] [[package]]
name = "hmac" name = "hmac"
version = "0.12.1" version = "0.12.1"
@ -1549,84 +1445,6 @@ dependencies = [
"windows-sys 0.52.0", "windows-sys 0.52.0",
] ]
[[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]] [[package]]
name = "iana-time-zone" name = "iana-time-zone"
version = "0.1.60" version = "0.1.60"
@ -1838,12 +1656,6 @@ dependencies = [
"popol", "popol",
] ]
[[package]]
name = "ipnet"
version = "2.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "469fb0b9cefa57e3ef31275ee7cacb78f2fdca44e4765491884a2b119d4eb130"
[[package]] [[package]]
name = "itoa" name = "itoa"
version = "1.0.11" version = "1.0.11"
@ -1919,7 +1731,6 @@ dependencies = [
"referencing", "referencing",
"regex", "regex",
"regex-syntax", "regex-syntax",
"reqwest",
"serde", "serde",
"serde_json", "serde_json",
"uuid-simd", "uuid-simd",
@ -2059,21 +1870,6 @@ dependencies = [
"libc", "libc",
] ]
[[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]] [[package]]
name = "miniz_oxide" name = "miniz_oxide"
version = "0.8.8" version = "0.8.8"
@ -2083,18 +1879,6 @@ dependencies = [
"adler2", "adler2",
] ]
[[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]] [[package]]
name = "multibase" name = "multibase"
version = "0.9.1" version = "0.9.1"
@ -2264,15 +2048,6 @@ version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b8f8bdf33df195859076e54ab11ee78a1b208382d3a26ec40d142ffc1ecc49ef" checksum = "b8f8bdf33df195859076e54ab11ee78a1b208382d3a26ec40d142ffc1ecc49ef"
[[package]]
name = "object"
version = "0.36.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "62948e14d923ea95ea2c7c86c71013138b66525b86bdc08d2dcc262bdb497b87"
dependencies = [
"memchr",
]
[[package]] [[package]]
name = "once_cell" name = "once_cell"
version = "1.21.3" version = "1.21.3"
@ -2395,18 +2170,6 @@ dependencies = [
"siphasher 1.0.1", "siphasher 1.0.1",
] ]
[[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]] [[package]]
name = "pkcs1" name = "pkcs1"
version = "0.7.5" version = "0.7.5"
@ -2810,7 +2573,6 @@ dependencies = [
name = "radicle-remote-helper" name = "radicle-remote-helper"
version = "0.10.0" version = "0.10.0"
dependencies = [ dependencies = [
"log",
"radicle", "radicle",
"radicle-cli", "radicle-cli",
"radicle-crypto", "radicle-crypto",
@ -3016,43 +2778,6 @@ version = "0.8.5"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c" 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]] [[package]]
name = "rfc6979" name = "rfc6979"
version = "0.4.0" version = "0.4.0"
@ -3084,12 +2809,6 @@ dependencies = [
"zeroize", "zeroize",
] ]
[[package]]
name = "rustc-demangle"
version = "0.1.24"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "719b953e2095829ee67db738b3bfa9fa368c94900df327b3f07fe6e794d2fe1f"
[[package]] [[package]]
name = "rustix" name = "rustix"
version = "0.38.34" version = "0.38.34"
@ -3245,18 +2964,6 @@ dependencies = [
"serde", "serde",
] ]
[[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]] [[package]]
name = "sha1_smol" name = "sha1_smol"
version = "1.0.0" version = "1.0.0"
@ -3342,15 +3049,6 @@ version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "56199f7ddabf13fe5074ce809e7d3f42b42ae711800501b5b16ea82ad029c39d" checksum = "56199f7ddabf13fe5074ce809e7d3f42b42ae711800501b5b16ea82ad029c39d"
[[package]]
name = "slab"
version = "0.4.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8f92a496fb766b417c996b9c5e57daf2f7ad3b0bebe1ccfca4856390e3d3bb67"
dependencies = [
"autocfg",
]
[[package]] [[package]]
name = "smallvec" name = "smallvec"
version = "1.13.2" version = "1.13.2"
@ -3534,15 +3232,6 @@ dependencies = [
"unicode-ident", "unicode-ident",
] ]
[[package]]
name = "sync_wrapper"
version = "1.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0bf256ce5efdfa370213c1dabab5935a12e49f2c58d15e9eac2870d3b4f27263"
dependencies = [
"futures-core",
]
[[package]] [[package]]
name = "synstructure" name = "synstructure"
version = "0.13.1" version = "0.13.1"
@ -3672,66 +3361,6 @@ version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" 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]] [[package]]
name = "tree-sitter" name = "tree-sitter"
version = "0.24.4" version = "0.24.4"
@ -3884,12 +3513,6 @@ dependencies = [
"tree-sitter-language", "tree-sitter-language",
] ]
[[package]]
name = "try-lock"
version = "0.2.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b"
[[package]] [[package]]
name = "typenum" name = "typenum"
version = "1.17.0" version = "1.17.0"
@ -4016,15 +3639,6 @@ dependencies = [
"winapi-util", "winapi-util",
] ]
[[package]]
name = "want"
version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bfa7760aed19e106de2c7c0b581b509f2f25d3dacaf737cb82ac61bc6d760b0e"
dependencies = [
"try-lock",
]
[[package]] [[package]]
name = "wasi" name = "wasi"
version = "0.11.0+wasi-snapshot-preview1" version = "0.11.0+wasi-snapshot-preview1"
@ -4057,19 +3671,6 @@ dependencies = [
"wasm-bindgen-shared", "wasm-bindgen-shared",
] ]
[[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]] [[package]]
name = "wasm-bindgen-macro" name = "wasm-bindgen-macro"
version = "0.2.100" version = "0.2.100"
@ -4102,16 +3703,6 @@ dependencies = [
"unicode-ident", "unicode-ident",
] ]
[[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]] [[package]]
name = "winapi-util" name = "winapi-util"
version = "0.1.7" version = "0.1.7"
@ -4130,41 +3721,6 @@ dependencies = [
"windows-targets 0.52.5", "windows-targets 0.52.5",
] ]
[[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]] [[package]]
name = "windows-sys" name = "windows-sys"
version = "0.48.0" version = "0.48.0"
@ -4207,29 +3763,13 @@ dependencies = [
"windows_aarch64_gnullvm 0.52.5", "windows_aarch64_gnullvm 0.52.5",
"windows_aarch64_msvc 0.52.5", "windows_aarch64_msvc 0.52.5",
"windows_i686_gnu 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_i686_msvc 0.52.5",
"windows_x86_64_gnu 0.52.5", "windows_x86_64_gnu 0.52.5",
"windows_x86_64_gnullvm 0.52.5", "windows_x86_64_gnullvm 0.52.5",
"windows_x86_64_msvc 0.52.5", "windows_x86_64_msvc 0.52.5",
] ]
[[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]] [[package]]
name = "windows_aarch64_gnullvm" name = "windows_aarch64_gnullvm"
version = "0.48.5" version = "0.48.5"
@ -4242,12 +3782,6 @@ version = "0.52.5"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7088eed71e8b8dda258ecc8bac5fb1153c5cffaf2578fc8ff5d61e23578d3263" checksum = "7088eed71e8b8dda258ecc8bac5fb1153c5cffaf2578fc8ff5d61e23578d3263"
[[package]]
name = "windows_aarch64_gnullvm"
version = "0.53.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "86b8d5f90ddd19cb4a147a5fa63ca848db3df085e25fee3cc10b39b6eebae764"
[[package]] [[package]]
name = "windows_aarch64_msvc" name = "windows_aarch64_msvc"
version = "0.48.5" version = "0.48.5"
@ -4260,12 +3794,6 @@ version = "0.52.5"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9985fd1504e250c615ca5f281c3f7a6da76213ebd5ccc9561496568a2752afb6" checksum = "9985fd1504e250c615ca5f281c3f7a6da76213ebd5ccc9561496568a2752afb6"
[[package]]
name = "windows_aarch64_msvc"
version = "0.53.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c7651a1f62a11b8cbd5e0d42526e55f2c99886c77e007179efff86c2b137e66c"
[[package]] [[package]]
name = "windows_i686_gnu" name = "windows_i686_gnu"
version = "0.48.5" version = "0.48.5"
@ -4278,24 +3806,12 @@ version = "0.52.5"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "88ba073cf16d5372720ec942a8ccbf61626074c6d4dd2e745299726ce8b89670" checksum = "88ba073cf16d5372720ec942a8ccbf61626074c6d4dd2e745299726ce8b89670"
[[package]]
name = "windows_i686_gnu"
version = "0.53.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c1dc67659d35f387f5f6c479dc4e28f1d4bb90ddd1a5d3da2e5d97b42d6272c3"
[[package]] [[package]]
name = "windows_i686_gnullvm" name = "windows_i686_gnullvm"
version = "0.52.5" version = "0.52.5"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "87f4261229030a858f36b459e748ae97545d6f1ec60e5e0d6a3d32e0dc232ee9" checksum = "87f4261229030a858f36b459e748ae97545d6f1ec60e5e0d6a3d32e0dc232ee9"
[[package]]
name = "windows_i686_gnullvm"
version = "0.53.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9ce6ccbdedbf6d6354471319e781c0dfef054c81fbc7cf83f338a4296c0cae11"
[[package]] [[package]]
name = "windows_i686_msvc" name = "windows_i686_msvc"
version = "0.48.5" version = "0.48.5"
@ -4308,12 +3824,6 @@ version = "0.52.5"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "db3c2bf3d13d5b658be73463284eaf12830ac9a26a90c717b7f771dfe97487bf" checksum = "db3c2bf3d13d5b658be73463284eaf12830ac9a26a90c717b7f771dfe97487bf"
[[package]]
name = "windows_i686_msvc"
version = "0.53.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "581fee95406bb13382d2f65cd4a908ca7b1e4c2f1917f143ba16efe98a589b5d"
[[package]] [[package]]
name = "windows_x86_64_gnu" name = "windows_x86_64_gnu"
version = "0.48.5" version = "0.48.5"
@ -4326,12 +3836,6 @@ version = "0.52.5"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4e4246f76bdeff09eb48875a0fd3e2af6aada79d409d33011886d3e1581517d9" 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]] [[package]]
name = "windows_x86_64_gnullvm" name = "windows_x86_64_gnullvm"
version = "0.48.5" version = "0.48.5"
@ -4344,12 +3848,6 @@ version = "0.52.5"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "852298e482cd67c356ddd9570386e2862b5673c85bd5f88df9ab6802b334c596" 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]] [[package]]
name = "windows_x86_64_msvc" name = "windows_x86_64_msvc"
version = "0.48.5" version = "0.48.5"
@ -4362,12 +3860,6 @@ version = "0.52.5"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bec47e5bfd1bff0eeaf6d8b485cc1074891a197ab4225d504cb7a1ab88b02bf0" 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]] [[package]]
name = "winnow" name = "winnow"
version = "0.6.26" version = "0.6.26"

View File

@ -44,7 +44,49 @@ version = "0.9.0"
rust-version = "1.81.0" rust-version = "1.81.0"
[workspace.dependencies] [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" } 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] [workspace.lints]
clippy.type_complexity = "allow" clippy.type_complexity = "allow"

View File

@ -12,14 +12,10 @@ readme = "README.md"
rust-version.workspace = true rust-version.workspace = true
[dependencies] [dependencies]
escargot = { version = "0.5.7" } escargot = "0.5.7"
log = { version = "0.4", features = ["std"] } log = { workspace = true, features = ["std"] }
pretty_assertions = { version = "1.3.0" } pretty_assertions = { workspace = true }
shlex = { version = "1.1.0" } radicle = { workspace = true, features = ["logger", "test"]}
snapbox = { version = "0.4.3" } shlex = { workspace = true }
thiserror = { version = "1" } snapbox = { workspace = true }
thiserror = { workspace = true }
[dependencies.radicle]
path = "../radicle"
version = "0"
features = ["logger", "test"]

View File

@ -14,65 +14,49 @@ name = "rad"
path = "src/main.rs" path = "src/main.rs"
[dependencies] [dependencies]
anyhow = { version = "1" } anyhow = { workspace = true }
chrono = { version = "0.4.26", default-features = false, features = ["clock", "std"] } chrono = { workspace = true, features = ["clock", "std"] }
git-ref-format = { version = "0.3.0", features = ["macro"] } git-ref-format = { version = "0.3.0", features = ["macro"] }
lexopt = { version = "0.3.0" } lexopt = { workspace = true }
localtime = { version = "1.2.0" } localtime = { workspace = true }
log = { version = "0.4", features = ["std"] } log = { workspace = true, features = ["std"] }
nonempty = { version = "0.9.0" } 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 # N.b. this is required to use macros, even though it's re-exported
# through radicle # through radicle
radicle-git-ext = { version = "0.8.0", features = ["serde"] } radicle-git-ext = { workspace = true, features = ["serde"] }
radicle-surf = { version = "0.22.0" } radicle-surf = "0.22.0"
serde = { version = "1.0" } radicle-term = { workspace = true }
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" }
schemars = { workspace = true } schemars = { workspace = true }
serde = { workspace = true }
[dependencies.radicle] serde_json = { workspace = true }
version = "0.15" shlex = { workspace = true }
path = "../radicle" tempfile = { workspace = true }
features = ["logger", "schemars"] thiserror = { workspace = true }
timeago = { version = "0.4.2", default-features = false }
[dependencies.radicle-cob] tree-sitter = "0.24.4"
version = "0.14" tree-sitter-bash = "0.23.3"
path = "../radicle-cob" tree-sitter-c = "0.23.2"
tree-sitter-css = "0.23.1"
[dependencies.radicle-crypto] tree-sitter-go = "0.23.4"
version = "0.12" tree-sitter-highlight = "0.24.4"
path = "../radicle-crypto" tree-sitter-html = "0.23.2"
tree-sitter-json = "0.24.8"
[dependencies.radicle-term] tree-sitter-md = "0.3.2"
version = "0.12" tree-sitter-python = "0.23.4"
path = "../radicle-term" 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] [dev-dependencies]
pretty_assertions = { version = "1.3.0" } pretty_assertions = { workspace = true }
radicle = { version = "0", path = "../radicle", features = ["test"] } radicle = { workspace = true, features = ["test"] }
radicle-node = { path = "../radicle-node", features = ["test"] } radicle-cli-test = { workspace = true }
radicle-node = { workspace = true, features = ["test"] }
[dev-dependencies.radicle-cli-test]
version = "0"
path = "../radicle-cli-test"
[lints] [lints]
workspace = true workspace = true

View File

@ -19,39 +19,21 @@ default = []
stable-commit-ids = [] stable-commit-ids = []
[dependencies] [dependencies]
fastrand = { version = "2.0.0" } fastrand = { workspace = true }
log = { version = "0.4.17" } git2 = { workspace = true, features = ["vendored-libgit2"] }
nonempty = { version = "0.9.0", features = ["serialize"] } log = { workspace = true }
radicle-git-ext = { version = "0.8.0", features = ["serde"] } nonempty = { workspace = true, features = ["serialize"] }
serde_json = { version = "1.0" } radicle-crypto = { workspace = true, features = ["ssh"] }
signature = { version = "2.2" } radicle-dag = { workspace = true }
thiserror = { version = "1.0" } radicle-git-ext = { workspace = true, features = ["serde"] }
serde = { workspace = true, features = ["derive"] }
[dependencies.git2] serde_json = { workspace = true }
version = "0.19.0" signature = { workspace = true }
default-features = false thiserror = { workspace = true }
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"]
[dev-dependencies] [dev-dependencies]
fastrand = { version = "2.0.0", default-features = false } fastrand = { workspace = true }
tempfile = { version = "3" } qcheck = { workspace = true }
qcheck = { version = "1", default-features = false } qcheck-macros = { workspace = true }
qcheck-macros = { version = "1", default-features = false } radicle-crypto = { workspace = true, features = ["test", "radicle-git-ext"] }
tempfile = { workspace = true }
[dev-dependencies.radicle-crypto]
path = "../radicle-crypto"
version = "0"
features = ["test", "radicle-git-ext"]

View File

@ -9,20 +9,16 @@ rust-version.workspace = true
test = ["fastrand", "qcheck"] test = ["fastrand", "qcheck"]
[dependencies] [dependencies]
fastrand = { version = "2.0.0", optional = true } fastrand = { workspace = true, optional = true }
num-traits = { version = "0.2.15", default-features = false, features = ["std"] } num-traits = { version = "0.2.15", default-features = false, features = ["std"] }
qcheck = { version = "1", optional = true } qcheck = { workspace = true, optional = true }
serde = { version = "1" } radicle-crypto = { workspace = true }
thiserror = { version = "1" } serde = { workspace = true }
thiserror = { workspace = true }
[dependencies.radicle-crypto]
path = "../radicle-crypto"
version = "0"
features = []
[dev-dependencies] [dev-dependencies]
fastrand = { version = "2.0.0" } fastrand = { workspace = true }
qcheck = { version = "1" } qcheck = { workspace = true }
qcheck-macros = { version = "1" } qcheck-macros = { workspace = true }
radicle-crypto = { path = "../radicle-crypto", features = ["test"] } radicle-crypto = { workspace = true, features = ["test"] }
tempfile = { version = "3" } tempfile = { workspace = true }

View File

@ -17,41 +17,23 @@ test = ["fastrand", "qcheck"]
ssh = ["radicle-ssh", "ssh-key"] ssh = ["radicle-ssh", "ssh-key"]
[dependencies] [dependencies]
amplify = { version = "4.0.0" } amplify = { workspace = true }
cyphernet = { version = "0.5.0", optional = true, features = ["ed25519"] } cyphernet = { workspace = true, features = ["ed25519"], optional = true }
fastrand = { version = "2.0.0", default-features = false, optional = true } ec25519 = "0.1.0"
multibase = { version = "0.9.1" } fastrand = { workspace = true, optional = true }
ec25519 = { version = "0.1.0", features = [] } multibase = { workspace = true }
serde = { version = "1", features = ["derive"] } qcheck = { workspace = true, optional = true }
signature = { version = "2.2" } radicle-git-ext = { workspace = true, optional = true }
sqlite = { version = "0.32.0", optional = true, features = ["bundled"] } radicle-ssh = { workspace = true, optional = true }
thiserror = { version = "1" } serde = { workspace = true, features = ["derive"] }
zeroize = { version = "1.5.7" } signature = { workspace = true }
sqlite = { workspace = true, features = ["bundled"], optional = true }
[dependencies.radicle-git-ext] ssh-key = { workspace = true, features = ["std", "encryption", "getrandom"], optional = true }
version = "0.8.0" thiserror = { workspace = true }
default-features = false zeroize = { workspace = true }
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
[dev-dependencies] [dev-dependencies]
fastrand = { version = "2.0.0", default-features = false } fastrand = { workspace = true }
qcheck-macros = { version = "1", default-features = false } qcheck = { workspace = true }
qcheck = { version = "1", default-features = false } qcheck-macros = { workspace = true }
tempfile = { version = "3.3.0" } tempfile = { workspace = true }

View File

@ -10,4 +10,4 @@ edition = "2021"
rust-version.workspace = true rust-version.workspace = true
[dependencies] [dependencies]
fastrand = { version = "2.0.0" } fastrand = { workspace = true }

View File

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

View File

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

View File

@ -9,23 +9,13 @@ edition = "2021"
build = "build.rs" build = "build.rs"
rust-version.workspace = true 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]] [[bin]]
name = "git-remote-rad" name = "git-remote-rad"
path = "src/git-remote-rad.rs" 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 }

View File

@ -13,11 +13,7 @@ name = "radicle-schemars"
path = "src/main.rs" path = "src/main.rs"
[dependencies] [dependencies]
radicle = { workspace = true, features = ["schemars"]}
schemars = { workspace = true } schemars = { workspace = true }
serde = { version = "1.0" } serde = { workspace = true }
serde_json = { version = "1" } serde_json = { workspace = true }
[dependencies.radicle]
version = "0"
path = "../radicle"
features = ["schemars"]

View File

@ -9,6 +9,6 @@ version = "0.11.0"
rust-version.workspace = true rust-version.workspace = true
[dependencies] [dependencies]
crossbeam-channel = { version = "0.5.6" } crossbeam-channel = { workspace = true }
libc = { version = "0.2" } libc = { workspace = true }
signals_receipts = { version = "0.2.0", features = ["channel_notify_facility"] } signals_receipts = { version = "0.2.0", features = ["channel_notify_facility"] }

View File

@ -14,7 +14,7 @@ edition = "2021"
rust-version.workspace = true rust-version.workspace = true
[dependencies] [dependencies]
byteorder = "1.4" byteorder = { workspace = true }
log = "0.4" log = { workspace = true }
thiserror = "1.0" thiserror = { workspace = true }
zeroize = "1.5.7" zeroize = { workspace = true }

View File

@ -13,28 +13,20 @@ rust-version.workspace = true
default = ["git2"] default = ["git2"]
[dependencies] [dependencies]
anyhow = { version = "1" } anyhow = { workspace = true }
anstyle-query = { version = "1.0.0" } anstyle-query = "1.0.0"
crossbeam-channel = { version = "0.5.6" } crossbeam-channel = { workspace = true }
inquire = { version = "0.7.4", default-features = false, features = ["termion", "editor"] } inquire = { version = "0.7.4", default-features = false, features = ["termion", "editor"] }
libc = { version = "0.2" } libc = { workspace = true }
shlex = { version = "1.1" } shlex = { workspace = true }
termion = { version = "3" } termion = "3"
thiserror = { version = "1" } thiserror = { workspace = true }
unicode-display-width = { version = "0.3.0" } unicode-display-width = "0.3.0"
unicode-segmentation = { version = "1.7.1" } unicode-segmentation = "1.7.1"
zeroize = { version = "1.1" } zeroize = { workspace = true }
git2 = { workspace = true, features = ["vendored-libgit2"], optional = true }
[dependencies.git2] radicle-signals = { workspace = true }
version = "0.19.0"
default-features = false
features = ["vendored-libgit2"]
optional = true
[dependencies.radicle-signals]
path = "../radicle-signals"
version = "0.11"
[dev-dependencies] [dev-dependencies]
pretty_assertions = { version = "1.3.0" } pretty_assertions = { workspace = true }
tempfile = { version = "3.3.0" } tempfile = { workspace = true }

View File

@ -6,24 +6,6 @@ authors = ["Alexis Sellier <alexis@radicle.xyz>"]
edition = "2021" edition = "2021"
rust-version.workspace = true 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]] [[bin]]
name = "rad-init" name = "rad-init"
path = "src/rad-init.rs" path = "src/rad-init.rs"
@ -51,3 +33,12 @@ path = "src/rad-agent.rs"
[[bin]] [[bin]]
name = "rad-cli-demo" name = "rad-cli-demo"
path = "src/rad-cli-demo.rs" 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 }

View File

@ -15,74 +15,39 @@ test = ["qcheck", "radicle-crypto/test"]
logger = ["colored", "chrono"] logger = ["colored", "chrono"]
[dependencies] [dependencies]
amplify = { version = "4.0.0", default-features = false, features = ["std"] } amplify = { workspace = true, features = ["std"] }
base64 = { version = "0.21.3" } base64 = "0.21.3"
bytesize = { version = "2", features = ["serde"] } bytesize = { version = "2", features = ["serde"] }
crossbeam-channel = { version = "0.5.6" } chrono = { workspace = true, features = ["clock"], optional = true }
cyphernet = { version = "0.5.0", features = ["tor", "dns", "p2p-ed25519"] } colored = { workspace = true, optional = true }
fastrand = { version = "2.0.0" } crossbeam-channel = { workspace = true }
multibase = { version = "0.9.1" } cyphernet = { workspace = true, features = ["tor", "dns", "p2p-ed25519"] }
localtime = { version = "1.2.0", features = ["serde"] } fastrand = { workspace = true }
libc = { version = "0.2" } git2 = { workspace = true, features = ["vendored-libgit2"] }
log = { version = "0.4.17", features = ["std"] } libc = { workspace = true }
nonempty = { version = "0.9.0", features = ["serialize"] } localtime = { workspace = true, features = ["serde"] }
serde = { version = "1", features = ["derive"] } log = { workspace = true, features = ["std"] }
serde_json = { version = "1", features = ["preserve_order"] } multibase = { workspace = true }
siphasher = { version = "1.0.0" } nonempty = { workspace = true, features = ["serialize"] }
radicle-git-ext = { version = "0.8.0", features = ["serde"] } qcheck = { workspace = true, optional = true }
sqlite = { version = "0.32.0", features = ["bundled"] } radicle-cob = { workspace = true }
tempfile = { version = "3.3.0" } radicle-crypto = { workspace = true, features = ["radicle-git-ext", "ssh", "sqlite", "cyphernet"] }
thiserror = { version = "1" } radicle-git-ext = { workspace = true, features = ["serde"] }
unicode-normalization = { version = "0.1" } radicle-ssh = { workspace = true }
schemars = { workspace = true, optional = true } schemars = { workspace = true, optional = true }
serde = { workspace = true, features = ["derive"] }
[dependencies.chrono] serde_json = { workspace = true, features = ["preserve_order"] }
version = "0.4.0" siphasher = "1.0.0"
default-features = false sqlite = { workspace = true, features = ["bundled"] }
features = ["clock"] tempfile = { workspace = true }
optional = true thiserror = { workspace = true }
unicode-normalization = { version = "0.1" }
[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
[dev-dependencies] [dev-dependencies]
emojis = { version = "0.6" } emojis = "0.6"
pretty_assertions = { version = "1.3.0" } jsonschema = { version = "0.30", default-features = false }
qcheck-macros = { version = "1", default-features = false } pretty_assertions = { workspace = true }
qcheck = { version = "1", default-features = false } qcheck = { workspace = true }
jsonschema = { version = "0.30" } qcheck-macros = { workspace = true }
radicle-cob = { workspace = true, features = ["stable-commit-ids"] }
[dev-dependencies.radicle-crypto] radicle-crypto = { workspace = true, features = ["test"] }
path = "../radicle-crypto"
version = "0"
features = ["test"]
[dev-dependencies.radicle-cob]
path = "../radicle-cob"
version = "0"
features = ["stable-commit-ids"]