Search
Items tagged with: trick
Trim your Rust dependencies already! 🦀
🔪 **cargo-machete**: Remove unused dependencies with this one weird trick.
🚀 Supports running via GitHub Actions as shown below.
⭐ GitHub: https://github.com/bnjbvr/cargo-machete
#rustlang #cargo #dependencies #opensource #automation #ci #trick #tip #programming
GitHub - bnjbvr/cargo-machete: Remove unused Rust dependencies with this one weird trick!
Remove unused Rust dependencies with this one weird trick! - bnjbvr/cargo-macheteGitHub
You can now #[expect] lints in the new Rust stable! 🦀
✨ Suppresses lints and warns on unfulfilled expectations.
📚 Documentation: https://doc.rust-lang.org/rustc/lints/levels.html#expect
➡️ Implementation: https://github.com/rust-lang/rust/pull/120924/
#rustlang #rust #programming #language #lint #warn #trick #coding #rustacean #devtips
Let's `#[expect]` some lints: Stabilize `lint_reasons` (RFC 2383) by xFrednet · Pull Request #120924 · rust-lang/rust
Let's give this another try! The previous stabilization attempt was stalled by some unresolved questions. These have been discussed in a lang team meeting. The last open question, regarding the...GitHub