perf: remove unused deps + replace deprecated serde_yaml#48
Conversation
Removed (0 uses each): - owo-colors (duplicate of colored) - thiserror (using anyhow instead) - chrono (no longer needed after SARIF fix) Replaced: - serde_yaml (deprecated) → serde_yml (maintained fork) Optimized: - tokio: 'full' → 'rt-multi-thread,macros' (unused features removed) Results: - Build time: 2m52s → 1m03s (-56%) - Transitive deps: 393 → 377 (-16) - 151 tests pass
|
Warning Review limit reached
More reviews will be available in 30 minutes and 19 seconds. Learn how PR review limits work. Your organization has run out of usage credits. Purchase more in the billing tab. ⌛ 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: defaults Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (3)
✨ 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 |
🔍 Cora AI Code Review✅ No issues found. Code looks good! |
serde_yml itself is deprecated. serde_yaml_ng v0.10 is the community-maintained fork with stable API. 151 tests pass.
Changes
Removed unused dependencies (0 uses each):
owo-colors— duplicate ofcoloredthiserror— not used (onlyanyhow)chrono— no longer needed after SARIF invocation removalReplaced deprecated dependency:
serde_yaml(unmaintained) →serde_yml(active maintained fork)Optimized tokio features:
full→rt-multi-thread,macros— removed networking, fs, io, signal, process featuresImpact
Related