Registry / cli / term-table

term-table

JSON →
library1.4.0rscratesunverified

Creates formatted tables for display in terminal/CLI applications.

# Cargo.toml [dependencies] term-table = "1.4.0"
INSTALL
IMPORT
SIG · TERM-TABLE
T
term-table
clirustv1.4.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Table
use term_table::Table;

Creates and renders a simple table with headers and values.

use term_table::Table; use term_table::row::Row; use term_table::table_cell::TableCell; fn main() { let mut table = Table::new(); table.add_row(Row::new(vec![ TableCell::new("Header1"), TableCell::new("Header2"), ])); table.add_row(Row::new(vec![ TableCell::new("Value1"), TableCell::new("Value2"), ])); println!("{}", table.render()); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.4.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
20 hits · last 30 days
node
18
OpenAI (training)
1
Resources
term-table — cargo add term-table · libregistry