noosphere icon indicating copy to clipboard operation
noosphere copied to clipboard

Move common dependencies up to workspace Cargo.toml

Open cdata opened this issue 3 years ago • 0 comments

The latest Rust release includes enhanced capabilities for Cargo workspaces. In particular, common dependencies across every crate can now be specified in the workspace's Cargo.toml and inherited by the manifest for each crate in the workspace: https://doc.rust-lang.org/cargo/reference/workspaces.html#the-dependencies-table

We should probably uplift the most common dependencies (such a anyhow, cid, async_trait etc.). In addition to cutting down on bloat in our crate-specific manifests, it will help us to keep our dependency versions in sync across all crates in the workspace.

cdata avatar Sep 23 '22 05:09 cdata