9 releases

0.4.2 May 20, 2023
0.4.1 May 20, 2023
0.3.3 Jul 8, 2018
0.2.0 Jun 18, 2018
0.1.0 Jun 15, 2018

#550 in Command-line interface

Download history 21/week @ 2024-07-29 4/week @ 2024-09-23

53 downloads per month

MIT license

16KB
321 lines

pretable

test

You can create pretty table as follows.

+--------------+----------------+--------+
| NAME         |     FORMAL     | HEIGHT |
+--------------+----------------+--------+
| Everest      |  Chomolungma   |  8848m |
| K2           | Karakorum No.2 |  8611m |
| Kanchenjunga |                |  8505m |
+--------------+----------------+--------+

benchmark

$ cargo +nightly bench --bench bench
    Finished bench [optimized] target(s) in 0.00s
     Running benches/bench.rs (target/release/deps/bench-2f3d06edc693d389)

running 4 tests
test bench_output_100    ... bench:      20,188 ns/iter (+/- 1,280)
test bench_output_1000   ... bench:     185,939 ns/iter (+/- 15,162)
test bench_output_10000  ... bench:   2,276,584 ns/iter (+/- 697,180)
test bench_output_100000 ... bench:  23,073,557 ns/iter (+/- 2,902,075)

test result: ok. 0 passed; 0 failed; 0 ignored; 4 measured; 0 filtered out; finished in 14.92s

No runtime deps