Skip to content

Commit

Permalink
Bump all convert projects
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiburt committed Dec 20, 2023
1 parent e7929df commit 7861147
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion csv_to_table/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "csv_to_table"
version = "0.3.0"
version = "0.4.0"
edition = "2018"
authors = ["Maxim Zhiburt <[email protected]>"]
repository = "https://github.com/zhiburt/tabled"
Expand Down
2 changes: 1 addition & 1 deletion json_to_table/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "json_to_table"
version = "0.6.0"
version = "0.7.0"
edition = "2018"
authors = ["Maxim Zhiburt <[email protected]>"]
repository = "https://github.com/zhiburt/tabled"
Expand Down
5 changes: 2 additions & 3 deletions json_to_table/src/table/collapsed_table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ use std::{
use serde_json::Map;
use tabled::{
builder::Builder,
col,
grid::{
config::{AlignmentHorizontal, AlignmentVertical, ColoredConfig, Entity, Offset},
dimension::{Dimension, Estimate},
Expand Down Expand Up @@ -315,7 +314,7 @@ fn generate_vertical_object(

let key = config_string(key, &cfg.cfg, max_key_width, entry_height);

let mut key = col![key];
let mut key = tabled::builder::Builder::from(vec![vec![key]]).build();
key.with(cfg.cfg.clone());
key.with(NoRightBorders);

Expand Down Expand Up @@ -514,7 +513,7 @@ fn generate_horizontal_object(
fn generate_value_cell(value: &str, cfg: &Config, ctx: PrintContext) -> CellData {
let value = config_string(value, &cfg.cfg, ctx.size.width, ctx.size.height);

let mut table = col![value];
let mut table = tabled::builder::Builder::from(vec![vec![value]]).build();
table.with(cfg.cfg.clone());

if !ctx.is_last_row || ctx.no_bottom {
Expand Down
2 changes: 1 addition & 1 deletion static_table/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "static_table"
version = "0.2.1"
version = "0.3.0"
authors = ["Maxim Zhiburt <[email protected]>"]
edition = "2018"
description = "Library creates pretty tables at compiler time"
Expand Down
2 changes: 1 addition & 1 deletion table_to_html/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "table_to_html"
version = "0.3.0"
version = "0.4.0"
edition = "2018"
authors = ["Maxim Zhiburt <[email protected]>"]
description = "The library provides a interface to convert a `tabled::Table` into a HTML table (`<table>`)."
Expand Down
2 changes: 1 addition & 1 deletion toml_to_table/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "toml_to_table"
version = "0.2.0"
version = "0.3.0"
edition = "2018"
authors = ["Maxim Zhiburt <[email protected]>"]
repository = "https://github.com/zhiburt/tabled"
Expand Down

0 comments on commit 7861147

Please sign in to comment.