qc-cli 0.6.3

qc is designed to give you an instant breakdown of your codebase composition using Mmap and Parallel Directory Walking.
1
2
3
4
5
6
use crate::report::Report;

pub fn render_json(report: &Report) -> String {
    serde_json::to_string_pretty(report)
        .expect("failed to serialize report as JSON")
}