A Rust library for pretty printing tables of structs and enums with extensive styling and formatting options.
Tabled is a Rust library for creating and formatting tables from Rust structs and enums. It provides both a builder pattern for dynamic data and a derive macro for typed structures, making it suitable for various use cases from CLI tools to data display applications. The library offers extensive formatting options, multiple table styles, and memory-efficient table types.
Rust developers building CLI tools, data display applications, or any software requiring formatted tabular output. It is particularly useful for those working with structured data like structs and enums who need customizable table rendering.
Developers choose Tabled for its flexibility and performance, offering both high-level convenience macros and low-level control for fine-grained table customization. Its unique selling points include support for multiple table styles (ASCII, modern, markdown, etc.), ANSI color support, memory-efficient table types for constrained environments, and a clean, intuitive API.
An easy to use library for pretty print tables of Rust structs and enums.
Supports over a dozen pre-configured styles like ASCII, modern, markdown, and allows deep customization of borders, colors, and layouts through the Style and Theme settings.
Provides IterTable and CompactTable for low-memory or no-std environments, enabling efficient handling of large datasets without buffering all data.
Automatically generates table representations from Rust structs and enums using the Tabled derive macro, reducing boilerplate and ensuring consistency.
Allows applying settings to specific cells, rows, or columns using an object system, enabling fine-grained control over alignment, padding, and formatting.
The API is extensive with numerous settings and objects, which can be overwhelming for beginners or those needing quick, simple solutions.
While an HTML format feature exists, it's not a primary focus; the library is optimized for terminal output, making it less suitable for web applications.
Features like ANSI color support require enabling specific Cargo features, and advanced customizations involve multiple steps and a deep understanding of the object system.
A Rust crate for cooking up terminal user interfaces (TUIs) 👨🍳🐀 https://ratatui.rs
A full featured, fast Command Line Argument Parser for Rust
A command line progress reporting library for Rust
A Text User Interface library for the Rust programming language
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.