tabled 0.9.0

An easy to use library for pretty print tables of Rust `struct`s and `enum`s.
//! The example can be run by this command
//! `cargo run --example border_text`

use tabled::{
    object::Segment, style::HorizontalLine, Alignment, BorderText, ModifyObject, Style, Table,
};

fn main() {
    let data = [[5, 6, 7, 8, 9], [10, 11, 12, 13, 14]];

    let table = Table::new(&data)
        .with(
            Style::modern()
                .off_horizontal()
                .horizontals([HorizontalLine::new(1, Style::modern().get_horizontal())]),
        )
        .with(BorderText::first(" Numbers "))
        .with(BorderText::new(1, " More numbers "))
        .with(BorderText::last(" end. "))
        .with(Segment::all().modify().with(Alignment::left()))
        .to_string();

    println!("{}", table);
}