Skip to content

Commit

Permalink
Update Rust crate tabled to 0.15 (#4847)
Browse files Browse the repository at this point in the history
  • Loading branch information
oxide-renovate[bot] authored Jan 24, 2024
1 parent 95778eb commit d978cd6
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ supports-color = "2.1.0"
swrite = "0.1.0"
libsw = { version = "3.3.1", features = ["tokio"] }
syn = { version = "2.0" }
tabled = "0.14"
tabled = "0.15.0"
tar = "0.4"
tempdir = "0.3"
tempfile = "3.9"
Expand Down
4 changes: 2 additions & 2 deletions oximeter/db/src/bin/oxdb.rs
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ async fn describe_virtual_table(
}

let mut builder = tabled::builder::Builder::default();
builder.set_header(cols);
builder.push_record(cols); // first record is the header
builder.push_record(types);
println!(
"{}",
Expand Down Expand Up @@ -553,7 +553,7 @@ async fn sql_shell(
println!();
let mut builder =
tabled::builder::Builder::default();
builder.set_header(&table.column_names);
builder.push_record(&table.column_names); // first record is the header
for row in table.rows.iter() {
builder.push_record(
row.iter().map(ToString::to_string),
Expand Down

0 comments on commit d978cd6

Please sign in to comment.