Repository navigation
build: centralize Cargo workspace dependencies - #1563
willkill07 merged 1 commit into
Conversation
Signed-off-by: Will Killian <[email protected]>
|
No actionable comments were generated in the recent review.
|
| Layer / File(s) | Summary |
|---|---|
Workspace dependency declarations Cargo.toml |
The workspace manifest adds centralized dependency declarations across multiple categories and removes semconv_experimental from opentelemetry-semantic-conventions. |
Crate manifest adoption crates/{adaptive,cli,core,ffi,node,pii-redaction,plugin,python,types,worker-proto,worker}/Cargo.toml |
Crate manifests use workspace dependencies for production, target-specific, build, and development dependencies. Several declarations also change default-feature settings. |
Fixture, example, and benchmark adoption crates/core/tests/fixtures/{native_plugin,worker_plugin}/Cargo.toml, examples/{language-binding-plugin/rust,rust-grpc-worker-plugin,rust-native-plugin}/Cargo.toml, scripts/latency_benchmark/daemon_transport/Cargo.toml |
These manifests use workspace dependency declarations instead of local versions or paths. The benchmark manifest also removes default-feature exclusions for hyper-rustls and rustls. |
Priority:
Estimated code review effort: 2 (Simple) | ~15 minutes
Change: Refactor
Merge Risk: 
Minimal · up to 7f33c
-
No merge-blocking issue is established by the supplied evidence.
Pre-merge checks: 
5
-
Full details: Docstring Coverage
-
Explanation
No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files. (18 skipped: 18 unsupported.)
-
Finishing Touches
-
🧪 Generate unit tests (beta)
-
- Create a new PR
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Comment @coderabbitai help to get the list of available commands.
License DiffCompared against Lockfile license changesLockfile License ChangesRustAdded
Removed
Updated/Changed
NodeAdded
Removed
Updated/Changed
PythonAdded
Removed
Updated/Changed
Status output |
Overview
Centralize Cargo dependency versions in the root workspace manifest so all members share a consistent source of truth.
Details
[workspace.dependencies], grouped by purpose with comments and alphabetical ordering within each group.Cargo.lockis unchanged.Validation:
uv run pre-commit run,cargo check --workspace --all-targets --locked, locked Cargo metadata resolution with default and all features, andgit diff --checkpassed. Compared all 287 direct dependency declarations to confirm unchanged feature selections, defaults, optional flags, targets, and dependency kinds. Runtime test suites were not run for this manifest-only reorganization.Where should the reviewer start?
Start with
[workspace.dependencies]inCargo.toml, thencrates/core/Cargo.tomlto see the inheritance pattern and crate-specific feature selections.Related Issues: (use one of the action keywords Closes / Fixes / Resolves / Relates to)
Closes RELAY-1160.
Summary by CodeRabbit