build(cargo): Finish workspace dependency inheritance#1243
Open
szokeasaurusrex wants to merge 3 commits into
Open
build(cargo): Finish workspace dependency inheritance#1243szokeasaurusrex wants to merge 3 commits into
szokeasaurusrex wants to merge 3 commits into
Conversation
Centralize dependency declarations by moving them to the workspace-level `Cargo.toml`. The changes in this commit were generated with [`cargo autoinherit`](https://github.com/mainmatter/cargo-autoinherit)
`cargo autoinherit` adds `default-features = false` to the workspace definition if used by any of the crate-level dependencies. For most deps, this was apparently fine, but for `actix-web`, we need the `macros` feature in `sentry-actix` dev dependencies.
`cargo autoinherit` left path and target-specific dependencies local. Centralize the remaining internal crates and target-only externals, unify internal path deps on `default-features = false`, and keep shared feature baselines on the workspace entries that every consumer needs (`sentry-anyhow/backtrace`, `sentry-types/protocol`). Also, ensure every `sentry` dep has a version.
szokeasaurusrex
force-pushed
the
szokeasaurusrex/inherit-deps
branch
from
July 24, 2026 11:34
123f38a to
3de7c85
Compare
szokeasaurusrex
force-pushed
the
szokeasaurusrex/inherit-all-deps
branch
from
July 24, 2026 11:34
8de8671 to
4a43c49
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
cargo autoinheritleft path and target-specific dependencies local. Centralize the remaining internal crates and target-only externals, unify internal path deps ondefault-features = false, and keep shared feature baselines on the workspace entries that every consumer needs (sentry-anyhow/backtrace,sentry-types/protocol).Also, ensure every
sentrydep has a version.