| Crates.io | tabulator |
| lib.rs | tabulator |
| version | 0.5.0 |
| created_at | 2025-09-22 03:08:08.15179+00 |
| updated_at | 2025-12-19 03:00:41.283272+00 |
| description | Grid-oriented tabulation with justification and anchors |
| homepage | https://github.com/tesujimath/tabulator |
| repository | https://github.com/tesujimath/tabulator |
| max_upload_size | |
| id | 1849460 |
| size | 70,521 |
This is grid-style tabulation for left/right/centre justification of strings and decimal point alignment.
It is available both as a Rust crate and a command line program, tabulator.
The motivation to build such a thing is Beancount Lima.
A 1.25 A99
B1 12.5 B
rust_decimal auto-anchorAssets:Bank:Current 350.75 NZD Howzah!
Assets:Bank:Investment 2.25 NZD Skint
tabulator receives table layout on standard input, as one of the supported formats:
$ tabulator -f psv <<EOF
A1|B|C1
A2|C2
|C3
D|E|F
A3|17.305|D3
A4|1.5|D4
EOF
A1 B C1
A2 C2
C3
D E F
A3 17.305 D3
A4 1.5 D4
There are no default features.
Optional features are:
rust_decimal - adds a dependency on that crate and From::<Decimal> for Cellnum-bigint - adds a dependency on that crate and From::<BigInt> and From::<BigUint> for Celljson - adds Cell::from_json(s: &str)psv - adds Cell::from_psv(s: &str, ...) and Cell::from_psvf(s: &str, ...)Note that the clap feature is not useful as a library feature, it purely supports the binary.
Licensed under either of
at your option.