esrlabs / chipmunk

log analysis tool
Apache License 2.0
553 stars 39 forks source link

Group shared dependencies with 'workspace.dependencies' #2046

Closed AmmarAbouZor closed 3 weeks ago

AmmarAbouZor commented 2 months ago

Cargo provides the feature workspace.dependencies to manage shared dependencies among all libraries sharing the same workspace.

Using this feature I've gathered all shared dependencies with the same major version in Cargo.toml file in the indexer directory and replaced the specified version for dependencies in all its child-libs.

This refactoring shouldn't change the current dependencies tree because there is no changes in any of Cargo.lock files