Render tables taking into account cell span information.
For usage and design information, see the top-level documentation
at cargo doc --open
-
Install Rust according to the instructions at https://rustup.rs/
-
Download this repo: git clone https://github.com/jcdyer/tablespanner/
-
cd tablespanner
-
To run tests:
cargo test
-
To see generated documentation:
cargo doc --open
For documentation of non-public interfaces:
cargo doc --open --document-private-items
-
To run from the command line:
cargo run -- '{"A": [2, 1]}' '[["A", "B"], ["C", "D"]]'
or:
cargo build target/debug/tablespanner '{"A": [2, 1]}' '[["A", "B"], ["C", "D"]]'