Skip to content

Commit a2e6bde

Browse files
authored
Upgrade ion-rs to 0.18 (#390)
1 parent 15fe939 commit a2e6bde

File tree

7 files changed

+8
-7
lines changed

7 files changed

+8
-7
lines changed

extension/partiql-extension-ion-functions/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ itertools = "0.10.*"
3131
unicase = "2.6"
3232
rust_decimal = { version = "1.25.0", default-features = false, features = ["std"] }
3333
rust_decimal_macros = "1.26"
34-
ion-rs = "0.17"
34+
ion-rs = "0.18"
3535
time = { version = "0.3", features = ["macros"] }
3636
once_cell = "1"
3737
regex = "1.7"

extension/partiql-extension-ion/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ itertools = "0.10.*"
2727
unicase = "2.6"
2828
rust_decimal = { version = "1.25.0", default-features = false, features = ["std"] }
2929
rust_decimal_macros = "1.26"
30-
ion-rs = "0.17"
30+
ion-rs = "0.18"
3131
time = { version = "0.3", features = ["macros"] }
3232
once_cell = "1"
3333
regex = "1.7"

extension/partiql-extension-ion/src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ mod tests {
1111
use crate::encode::{IonEncodeError, IonEncoderBuilder, IonEncoderConfig};
1212
use itertools::Itertools;
1313

14+
use ion_rs::element::writer::TextKind;
1415
use partiql_value::{partiql_bag, partiql_list, partiql_tuple, DateTime, Value};
1516
use rust_decimal_macros::dec;
1617
use std::num::NonZeroU8;
@@ -27,7 +28,7 @@ mod tests {
2728

2829
fn encode_ion(value: &Value, encoding: Encoding) -> Result<String, IonEncodeError> {
2930
let mut buff = vec![];
30-
let mut writer = ion_rs::TextWriterBuilder::new()
31+
let mut writer = ion_rs::TextWriterBuilder::new(TextKind::Compact)
3132
.build(&mut buff)
3233
.expect("writer");
3334
let mut encoder = IonEncoderBuilder::new(IonEncoderConfig::default().with_mode(encoding))

partiql-conformance-test-generator/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ bench = false
2222

2323
[dependencies]
2424
walkdir = "2.3"
25-
ion-rs = "0.17"
25+
ion-rs = "0.18"
2626
codegen = "0.2.*"
2727
Inflector = "0.11.*"
2828
miette = "5.*"

partiql-conformance-tests/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ partiql-value = { path = "../partiql-value", version = "0.5.*" }
4242
partiql-eval = { path = "../partiql-eval", version = "0.5.*" }
4343
partiql-extension-ion = {path = "../extension/partiql-extension-ion", version = "0.5.*" }
4444

45-
ion-rs = "0.17"
45+
ion-rs = "0.18"
4646

4747
regex = "1.7"
4848
once_cell = "1"

partiql-logical-planner/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ partiql-ast = { path = "../partiql-ast", version = "0.5.*" }
2828
partiql-parser = { path = "../partiql-parser", version = "0.5.*" }
2929
partiql-catalog = { path = "../partiql-catalog", version = "0.5.*" }
3030
partiql-ast-passes = { path = "../partiql-ast-passes", version = "0.5.*" }
31-
ion-rs = "0.17"
31+
ion-rs = "0.18"
3232
ordered-float = "3.*"
3333
itertools = "0.10.*"
3434
unicase = "2.6"

partiql-value/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ itertools = "0.10.*"
2626
unicase = "2.6"
2727
rust_decimal = { version = "1.25.0", default-features = false, features = ["std"] }
2828
rust_decimal_macros = "1.26"
29-
ion-rs = "0.17"
29+
ion-rs = "0.18"
3030
time = { version = "0.3", features = ["macros"] }
3131
once_cell = "1"
3232
regex = "1.7"

0 commit comments

Comments
 (0)