Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Rust
  3. tabled

tabled

MITRust

A Rust library for pretty printing tables of structs and enums with extensive styling and formatting options.

GitHubGitHub
2.3k stars98 forks0 contributors

What is tabled?

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.

Target Audience

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.

Value Proposition

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.

Overview

An easy to use library for pretty print tables of Rust structs and enums.

Use Cases

Best For

  • Building CLI tools that require formatted table output from Rust data structures.
  • Displaying structured data (like structs or enums) in applications with customizable table styles and layouts.
  • Creating memory-efficient tables for no-std or low-memory environments using IterTable or CompactTable.
  • Generating tables with ANSI-colored content and borders for enhanced terminal displays.
  • Automating table generation from Rust types using derive macros for quick prototyping.
  • Implementing dynamic table configurations with per-cell, row, or column formatting using a flexible object system.

Not Ideal For

  • Web applications requiring interactive HTML tables with JavaScript support
  • Projects needing simple, drop-in table components without configuration overhead
  • Teams focused on graphical user interfaces rather than terminal-based output
  • Use cases where table data changes in real-time with minimal rendering latency

Pros & Cons

Pros

Extensive Style Customization

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.

Memory-Optimized Table Types

Provides IterTable and CompactTable for low-memory or no-std environments, enabling efficient handling of large datasets without buffering all data.

Derive Macro for Type Safety

Automatically generates table representations from Rust structs and enums using the Tabled derive macro, reducing boilerplate and ensuring consistency.

Flexible Object-Based Configuration

Allows applying settings to specific cells, rows, or columns using an object system, enabling fine-grained control over alignment, padding, and formatting.

Cons

Steep Learning Curve

The API is extensive with numerous settings and objects, which can be overwhelming for beginners or those needing quick, simple solutions.

Limited Web Integration

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.

Complex Setup for Advanced Features

Features like ANSI color support require enabling specific Cargo features, and advanced customizations involve multiple steps and a deep understanding of the object system.

Frequently Asked Questions

Quick Stats

Stars2,323
Forks98
Contributors0
Open Issues108
Last commit4 days ago
CreatedSince 2020

Tags

#hacktoberfest#pretty-print#table#text-ui#memory-efficient#cli#derive-macro#rust#no-std#cli-tools#ansi-colors

Built With

R
Rust

Included in

Rust56.6k
Auto-fetched 1 day ago

Related Projects

ratatui-org/ratatuiratatui-org/ratatui

A Rust crate for cooking up terminal user interfaces (TUIs) 👨‍🍳🐀 https://ratatui.rs

Stars19,937
Forks633
Last commit3 days ago
clap-rsclap-rs

A full featured, fast Command Line Argument Parser for Rust

Stars16,330
Forks1,171
Last commit1 day ago
indicatifindicatif

A command line progress reporting library for Rust

Stars5,120
Forks277
Last commit3 days ago
CursiveCursive

A Text User Interface library for the Rust programming language

Stars4,784
Forks264
Last commit1 month ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub