tv_lib 0.1.2

A library port of tv cli
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
fn main() {
    // This examples shows how to take any csv-like string and make print it using
    // tv_lib styling.
    let data = "\
City,State,Population,Latitude,Longitude
Davidsons Landing,AK,,65.2419444,-165.2716667
Kenai,AK,7610,60.5544444,-151.2583333
Oakman,AL,,33.7133333,-87.3886111";

    // print_from_csv_str
    let vec_vec_str = tv_lib::print::format_from_csv_str(data);

    println!("{:?}",vec_vec_str)
}