ic-query 0.1.44

Internet Computer query CLI for NNS, SNS, and related public network metadata
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
mod attention;
mod summary;

use crate::nns::topology::report::NnsTopologyCapacityReport;

#[must_use]
pub fn nns_topology_capacity_report_text(report: &NnsTopologyCapacityReport) -> String {
    let lines = [
        summary::render_capacity_summary_table(report),
        String::new(),
        attention::render_capacity_attention_table(report),
    ];
    lines.join("\n")
}