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)
Mon, Dec 16, 1:27 PM
Unknown Object (File)
Mon, Dec 16, 1:27 PM
Unknown Object (File)
Mon, Dec 16, 1:27 PM
Unknown Object (File)
Mon, Dec 16, 1:27 PM
Unknown Object (File)
Mon, Dec 16, 1:26 PM
Unknown Object (File)
Mon, Dec 16, 1:26 PM
Unknown Object (File)
Wed, Dec 11, 4:59 PM
Unknown Object (File)
Fri, Dec 6, 4:24 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
No Lint Coverage
Unit
No Test Coverage

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.