steward: align toml dependency versions across workspace 🚢#2586
steward: align toml dependency versions across workspace 🚢#2586EffortlessSteven wants to merge 1 commit into
Conversation
This commit consolidates the `toml` dependency into the root `Cargo.toml` `[workspace.dependencies]` table and updates consumers (`tokmd`, `tokmd-gate`, `tokmd-settings`) to use `workspace = true`. This prevents version drift within the workspace and simplifies dependency management.
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
|
Warning Review limit reached
More reviews will be available in 25 minutes and 27 seconds. Learn how PR review limits work. Your organization has run out of usage credits. Purchase more credits in the billing tab to continue. ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (9)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Droid finished @EffortlessSteven's task —— View job Droid is reviewing code and running a security check… |
Glass CockpitBase: origin/main Change Surface:
Composition:
Contracts:
Health: 100/100 (A) Review Plan
ReceiptsFull receipt data available in JSON format. |
💡 Summary
Consolidated the
tomldependency into[workspace.dependencies]to fix drift. Previouslytokmd-gateandtokmdpinned1.1.2directly, whiletokmd-settingsused1.1. This aligns all consumers to the workspace version.🎯 Why
Release metadata and dependencies should be aligned to prevent version drift across crates in the workspace. Hardcoded dependencies lead to inconsistent dependency resolutions and violate dependency hygiene.
🔎 Evidence
Observed
toml = "1.1.2"intokmd-gateandtokmd, buttoml = "1.1"intokmd-settings. This drift violated metadata alignment.🧭 Options considered
Option A (recommended)
tomlinto[workspace.dependencies]withversion = "1.1.2".Option B
✅ Decision
Chose Option A to centralize the
tomldependency in the workspace root, eliminating drift.🧱 Changes made (SRP)
Cargo.toml: Addedtoml = "1.1.2"to[workspace.dependencies].crates/tokmd-gate/Cargo.toml: Updated to usetoml.workspace = true.crates/tokmd-settings/Cargo.toml: Updated to usetoml.workspace = true.crates/tokmd/Cargo.toml: Updated to use{ workspace = true, optional = true }.🧪 Verification receipts
🧭 Telemetry
cargo xtask version-consistency,cargo check --workspace🗂️ .jules artifacts
.jules/runs/steward_release/envelope.json.jules/runs/steward_release/decision.md.jules/runs/steward_release/receipts.jsonl.jules/runs/steward_release/result.json.jules/runs/steward_release/pr_body.md🔜 Follow-ups
None.
PR created automatically by Jules for task 6852019669646554248 started by @EffortlessSteven