Page MenuHomePhabricator

Inherit crate dependencies from workspace root
ClosedPublic

Authored by bartek on May 22 2024, 5:34 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 9, 5:43 PM
Unknown Object (File)
Sat, Nov 9, 5:08 PM
Unknown Object (File)
Sat, Nov 9, 3:34 PM
Unknown Object (File)
Sat, Nov 9, 3:34 PM
Unknown Object (File)
Fri, Nov 8, 11:25 PM
Unknown Object (File)
Thu, Nov 7, 4:43 AM
Unknown Object (File)
Sun, Nov 3, 9:07 PM
Unknown Object (File)
Sep 28 2024, 3:11 AM
Subscribers

Details

Summary

Used a tool named cargo-autoinherit.
It automatically finds dependencies that have common version number across all workspace and hoists them to root Cargo.toml

Depends on D12171

Test Plan
  • cargo check --workspace
  • CI
  • Lockfile hasn't been changed - package versions are still the same

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

bartek held this revision as a draft.
bartek published this revision for review.May 22 2024, 7:32 AM
bartek edited the test plan for this revision. (Show Details)

should we create backlog tasks for the crates that aren't being inherited from the workspace root? in particular, it would be great to get all our crates on the same version of tonic

This revision is now accepted and ready to land.May 24 2024, 10:16 AM

should we create backlog tasks for the crates that aren't being inherited from the workspace root? in particular, it would be great to get all our crates on the same version of tonic

I've already created ENG-8176.