Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade ion-rs to 0.18 #390

Merged
merged 1 commit into from
Jun 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion extension/partiql-extension-ion-functions/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ itertools = "0.10.*"
unicase = "2.6"
rust_decimal = { version = "1.25.0", default-features = false, features = ["std"] }
rust_decimal_macros = "1.26"
ion-rs = "0.17"
ion-rs = "0.18"
time = { version = "0.3", features = ["macros"] }
once_cell = "1"
regex = "1.7"
Expand Down
2 changes: 1 addition & 1 deletion extension/partiql-extension-ion/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ itertools = "0.10.*"
unicase = "2.6"
rust_decimal = { version = "1.25.0", default-features = false, features = ["std"] }
rust_decimal_macros = "1.26"
ion-rs = "0.17"
ion-rs = "0.18"
time = { version = "0.3", features = ["macros"] }
once_cell = "1"
regex = "1.7"
Expand Down
3 changes: 2 additions & 1 deletion extension/partiql-extension-ion/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ mod tests {
use crate::encode::{IonEncodeError, IonEncoderBuilder, IonEncoderConfig};
use itertools::Itertools;

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

fn encode_ion(value: &Value, encoding: Encoding) -> Result<String, IonEncodeError> {
let mut buff = vec![];
let mut writer = ion_rs::TextWriterBuilder::new()
let mut writer = ion_rs::TextWriterBuilder::new(TextKind::Compact)
.build(&mut buff)
.expect("writer");
let mut encoder = IonEncoderBuilder::new(IonEncoderConfig::default().with_mode(encoding))
Expand Down
2 changes: 1 addition & 1 deletion partiql-conformance-test-generator/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ bench = false

[dependencies]
walkdir = "2.3"
ion-rs = "0.17"
ion-rs = "0.18"
codegen = "0.2.*"
Inflector = "0.11.*"
miette = "5.*"
Expand Down
2 changes: 1 addition & 1 deletion partiql-conformance-tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ partiql-value = { path = "../partiql-value", version = "0.5.*" }
partiql-eval = { path = "../partiql-eval", version = "0.5.*" }
partiql-extension-ion = {path = "../extension/partiql-extension-ion", version = "0.5.*" }

ion-rs = "0.17"
ion-rs = "0.18"

regex = "1.7"
once_cell = "1"
Expand Down
2 changes: 1 addition & 1 deletion partiql-logical-planner/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ partiql-ast = { path = "../partiql-ast", version = "0.5.*" }
partiql-parser = { path = "../partiql-parser", version = "0.5.*" }
partiql-catalog = { path = "../partiql-catalog", version = "0.5.*" }
partiql-ast-passes = { path = "../partiql-ast-passes", version = "0.5.*" }
ion-rs = "0.17"
ion-rs = "0.18"
ordered-float = "3.*"
itertools = "0.10.*"
unicase = "2.6"
Expand Down
2 changes: 1 addition & 1 deletion partiql-value/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ itertools = "0.10.*"
unicase = "2.6"
rust_decimal = { version = "1.25.0", default-features = false, features = ["std"] }
rust_decimal_macros = "1.26"
ion-rs = "0.17"
ion-rs = "0.18"
time = { version = "0.3", features = ["macros"] }
once_cell = "1"
regex = "1.7"
Expand Down