We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently, when we do a large upstream upgrade (like #3394), we have to modify around 70 Cargo.toml files with the same version bumps.
But Rust supports workspace-level dependencies, where the workspace contains the version, and the crates just need to say they use the dependency (and any extra features, and if it's optional): https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#inheriting-a-dependency-from-a-workspace
cargo-autoinherit will unify git and path dependencies automatically: https://github.com/mainmatter/cargo-autoinherit
cargo-autoinherit
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Currently, when we do a large upstream upgrade (like #3394), we have to modify around 70 Cargo.toml files with the same version bumps.
But Rust supports workspace-level dependencies, where the workspace contains the version, and the crates just need to say they use the dependency (and any extra features, and if it's optional):
https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#inheriting-a-dependency-from-a-workspace
cargo-autoinherit
will unify git and path dependencies automatically:https://github.com/mainmatter/cargo-autoinherit
The text was updated successfully, but these errors were encountered: