▲ 351 today1.1k starsRustHN ×1New · 4d old
Rust Linter Enforces Deep Modules, Narrow Interfaces
What is deslop-please?
deslop-please is a command-line linter that checks Rust code against the principles from *A Philosophy of Software Design*. It flags field leaks, shallow modules, and tangled module cycles, urging you to restructure for deeper modules and tighter interfaces.
Who it is for
Rust developers who want their codebases to follow strict design rules should run it to catch structural problems early.
Try it in 60 seconds
You need: Rust toolchain (cargo)
cargo install deslop-pleasedeslop-please
MIT licenseUpdated todayRust7 open issues
New projects are not vetted. Skim the code, and run it in a fresh folder or a container before giving it your files or keys.
The story so far
Early Signal first spotted deterministic-machines/deslop-please on November 25, 2026, when it had 759 GitHub stars. It has since grown to 1.1k. On its busiest day it gained 351 stars. The project is 4 days old and written mainly in Rust. It is published under the MIT license and has 58 forks. It has been discussed in 1 Hacker News thread, the top one with 5 points. Early Signal files it under Coding.
Questions about deslop-please
- Is deslop-please free and open source?
- Yes. deterministic-machines/deslop-please is open source under the MIT license, and the code is on GitHub at https://github.com/deterministic-machines/deslop-please.
- How do I install deslop-please?
- Use one of these, depending on your setup: cargo install deslop-please · deslop-please
- What do I need to run deslop-please?
- Rust toolchain (cargo)