You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
garage/src/format-table
Alex Auvolat 217d429937 fix clippy lint in format-table crate 1 year ago
..
Cargo.toml fix clippy lint in format-table crate 1 year ago
README.md Split format_table into separate crate and reduce k2v-client dependencies 1 year ago
lib.rs fix clippy lint in format-table crate 1 year ago

README.md

format_table

Format tables with a stupid API. Documentation.

Example:

let mut table = vec!["product\tquantity\tprice".to_string()];
for (p, q, r) in [("tomato", 12, 15), ("potato", 10, 20), ("rice", 5, 12)] {
	table.push(format!("{}\t{}\t{}", p, q, r));
}
format_table::format_table(table);