crud-tidy-viewer

Crates.iocrud-tidy-viewer
lib.rscrud-tidy-viewer
version0.1.6
sourcesrc
created_at2022-12-31 09:08:21.516212
updated_at2024-03-19 06:31:38.241329
descriptionCLI generator for your API. Array pretty printer
homepagehttps://github.com/djedi23/crud.rs
repositoryhttps://github.com/djedi23/crud.rs
max_upload_size
id748313
size64,084
Moïse Valvassori (djedi23)

documentation

README

Crud tidy viewer

Pretty printer for arrays.

Some parts of the code is copied and refactored from Tidy-viewer (released under public domain)

Examples

use crud_tidy_viewer::{display_table, TableConfig};
  let rdr = vec![
    vec!["a".to_string(), "b".to_string()],
    vec!["1".to_string(), "b".to_string()],
    vec!["4.1453".to_string(), "c".to_string()],
    vec!["2.4".to_string(), "f".to_string()],
    vec!["5".to_string(), "e".to_string()],
  ];
  display_table(&rdr, TableConfig::default());
Commit count: 48

cargo fmt