rustqual 1.2.2

Comprehensive Rust code quality analyzer — seven dimensions: IOSP, Complexity, DRY, SRP, Coupling, Test Quality, Architecture
Documentation
1
2
3
4
5
6
7
8
// Golden-example violation: a domain-layer file that imports from `tokio::`.
// The `no_tokio_in_domain` Architecture pattern rule must flag this.

use tokio::spawn;

pub fn run() {
    let _handle = spawn(async {});
}