3 releases

Uses new Rust 2024

new 0.1.2 Mar 13, 2025
0.1.1 Mar 6, 2025
0.1.0 Mar 1, 2025

#293 in Command-line interface

Download history 144/week @ 2025-02-26 147/week @ 2025-03-05

291 downloads per month

Apache-2.0 OR MIT

15KB
267 lines

tinytable

A tiny text table drawing library for Rust.

crates.io Documentation Continuous Integration

Features

  • Small code size (it's one function!)
  • Minimal dependencies (not zero, because Unicode is hard)
  • Iterator support (you don't need to collect all the data to display at once, it can be streamed)
  • Unicode support
  • Nothing more!

Usage

Run cargo add tinytable, or add tinytable = "0.1" to the [dependencies] section of your Cargo.toml.

After that, call tinytable::write_table() in your code.


Copyright © 2025 Joaquim Monteiro

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~2MB
~26K SLoC