cargo-grip4rust 0.3.0

A cargo subcommand for measuring Rust testability
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
// Copyright 2026 Umberto Gotti <umberto.gotti@umbertogotti.dev>
// Licensed under the MIT License
// SPDX-License-Identifier: MIT

use anyhow::Result;

use crate::grip_report::GripReport;

pub trait Reporter {
    fn render(&self, report: &GripReport) -> Result<String>;
    fn write(&self, report: &GripReport) -> Result<()>;
}