chore(dash-spv): forbid std::sync::Mutex / RwLock via clippy#739
Conversation
Adds a `clippy.toml` with `disallowed-types` for `std::sync::Mutex` and `std::sync::RwLock` so callers are nudged toward the tokio equivalents (the crate is async/tokio throughout — a blocking lock can stall the runtime).
|
Warning Rate limit exceeded
To continue reviewing without waiting, purchase usage credits in the billing tab. ⌛ How to resolve this issue?After the wait time has elapsed, 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 have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
✨ 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 |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## v0.42-dev #739 +/- ##
=============================================
- Coverage 71.44% 71.43% -0.02%
=============================================
Files 320 320
Lines 68825 68825
=============================================
- Hits 49171 49162 -9
- Misses 19654 19663 +9
|
Adds a
clippy.tomlwithdisallowed-typesforstd::sync::Mutexandstd::sync::RwLockin dash-spv so callers are nudged toward the tokio equivalents (the crate is async/tokio throughout, a blocking lock can stall the runtime).