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
291 downloads per month
15KB
267 lines
tinytable
A tiny text table drawing library for Rust.
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
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
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