gruff-rs 0.4.0

Rust static analyzer and quality linter for CI: dead-code, complexity, security, secrets, and architecture rules with deterministic SARIF/JSON output and baseline support.
pub struct SampleAnalyzer {
    pub name: String,
    secret_url: String,
}

impl SampleAnalyzer {
    pub fn process(a: bool, b: Vec<String>, c: String, d: String, e: String, f: String, g: String, h: String) {
        if a {
            for item in b {
                if item == c {
                    std::process::Command::new("sh").arg("-c").arg(item).spawn().unwrap();
                }
            }
        }

        let api_key = "AKIA1111111111111111";
        let database = "mysql://demo:password123@example.test/app";
        println!("{} {} {}", api_key, database, d);
        println!("{}", e);
        println!("{}", f);
    }
}

#[test]
fn test_sleeps_without_assertion() {
    std::thread::sleep(std::time::Duration::from_millis(1));
}