/tablespanner

Primary LanguageRustApache License 2.0Apache-2.0

Tablespanner

Render tables taking into account cell span information.

For usage and design information, see the top-level documentation at cargo doc --open

Installation

  1. Install Rust according to the instructions at https://rustup.rs/

  2. Download this repo: git clone https://github.com/jcdyer/tablespanner/

  3. cd tablespanner
  4. To run tests:

    cargo test
  5. To see generated documentation:

    cargo doc --open

    For documentation of non-public interfaces:

    cargo doc --open --document-private-items
  6. 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"]]'