diff --git a/deny.toml b/deny.toml index 93305089..d815737f 100644 --- a/deny.toml +++ b/deny.toml @@ -113,5 +113,6 @@ unknown-git = "deny" allow-registry = ["https://github.com/rust-lang/crates.io-index"] # List of URLs for allowed Git repositories allow-git = [ + "https://github.com/amazon-ion/ion-rust" ] diff --git a/extension/partiql-extension-ion/Cargo.toml b/extension/partiql-extension-ion/Cargo.toml index da1d33b2..af50e085 100644 --- a/extension/partiql-extension-ion/Cargo.toml +++ b/extension/partiql-extension-ion/Cargo.toml @@ -34,7 +34,7 @@ unicase = "2.7" rust_decimal = { version = "1.36.0", default-features = false, features = ["std"] } rust_decimal_macros = "1.36" ion-rs_old = { version = "0.18", package = "ion-rs" } -ion-rs = { version = "1.0.0-rc.10", features = ["experimental"] } +ion-rs = { version = "1.0.0-rc.10", features = ["experimental"], git = "https://github.com/amazon-ion/ion-rust", branch = "feat-decon-owned-elt" } time = { version = "0.3", features = ["macros"] } once_cell = "1" diff --git a/extension/partiql-extension-ion/src/util.rs b/extension/partiql-extension-ion/src/util.rs index 69f6e98c..5f0c76b0 100644 --- a/extension/partiql-extension-ion/src/util.rs +++ b/extension/partiql-extension-ion/src/util.rs @@ -98,7 +98,7 @@ impl ToPartiqlValue for ion_rs::Str { impl ToPartiqlValue for ion_rs::Bytes { fn into_partiql_value(self) -> DatumLowerResult> { - Ok(Value::Blob(Box::new(self.into_bytes())).into()) + Ok(Value::Blob(Box::new(self.into())).into()) } }