Skip to content

Commit

Permalink
Bump static_table to 0.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiburt committed Feb 7, 2025
1 parent a1865c2 commit 11cfc54
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions static_table/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "static_table"
version = "0.5.0"
version = "0.6.0"
authors = ["Maxim Zhiburt <zhiburt@gmail.com>"]
edition = "2018"
description = "Library creates pretty tables at compiler time"
Expand All @@ -20,7 +20,7 @@ derive = ["tabled/derive"]
macros = ["tabled/macros"]

[dependencies]
tabled = { version = "0.17", features = ["std"], default-features = false }
tabled = { version = "0.18", features = ["std"], default-features = false }
syn = { version = "2", features = ["parsing"] }
quote = "1"
proc-macro2 = "1"
Expand Down
4 changes: 2 additions & 2 deletions static_table/src/static_table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -716,11 +716,11 @@ fn create_table(mat: &MatrixInput) -> Result<Table> {
let mut table = builder.build();

for (pos, span) in vspan {
table.with(Modify::new(pos).with(Span::column(span)));
table.with(Modify::new(pos).with(Span::column(span as isize)));
}

for (pos, span) in hspan {
table.with(Modify::new(pos).with(Span::row(span)));
table.with(Modify::new(pos).with(Span::row(span as isize)));
}

Ok(table)
Expand Down

0 comments on commit 11cfc54

Please sign in to comment.