Crates.io | pretable |
lib.rs | pretable |
version | 0.4.2 |
source | src |
created_at | 2018-06-15 02:26:00.673422 |
updated_at | 2023-05-20 15:19:14.92945 |
description | show pretty table |
homepage | |
repository | https://github.com/ryota-sakamoto/pretable |
max_upload_size | |
id | 70184 |
size | 18,667 |
You can create pretty table as follows.
+--------------+----------------+--------+
| NAME | FORMAL | HEIGHT |
+--------------+----------------+--------+
| Everest | Chomolungma | 8848m |
| K2 | Karakorum No.2 | 8611m |
| Kanchenjunga | | 8505m |
+--------------+----------------+--------+
$ 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