From beafbd572436c24071d94e0e119243090b93a8fc Mon Sep 17 00:00:00 2001 From: Zack Slayton Date: Fri, 13 Dec 2024 16:45:25 -0500 Subject: [PATCH] Upgrades ion-rust dependency to v1.0.0-rc.10 (#227) * Upgrades ion-rust dependency to v1.0.0-rc.10 * Version bump to v0.15.0 --- ion-schema-tests-runner/Cargo.toml | 4 ++-- ion-schema/Cargo.toml | 7 +++---- ion-schema/src/isl/mod.rs | 4 ++-- wasm-schema-sandbox/Cargo.toml | 2 +- 4 files changed, 8 insertions(+), 9 deletions(-) diff --git a/ion-schema-tests-runner/Cargo.toml b/ion-schema-tests-runner/Cargo.toml index ee8ae28..1781d29 100644 --- a/ion-schema-tests-runner/Cargo.toml +++ b/ion-schema-tests-runner/Cargo.toml @@ -9,10 +9,10 @@ proc-macro = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -ion-rs = "1.0.0-rc.8" +ion-rs = { version = "1.0.0-rc.10"} ion-schema = { path = "../ion-schema" } quote = "1.0.21" syn = "1.0.102" proc-macro2 = "1.0.47" regex = "1.6.0" -darling = "0.14.2" \ No newline at end of file +darling = "0.14.2" diff --git a/ion-schema/Cargo.toml b/ion-schema/Cargo.toml index 2b1637b..fd689b6 100644 --- a/ion-schema/Cargo.toml +++ b/ion-schema/Cargo.toml @@ -16,15 +16,14 @@ exclude = [ "**/ion-schema-schemas/isl/**", "*.pdf" ] -version = "0.14.1" +version = "0.15.0" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -ion-rs = { version = "1.0.0-rc.8", features = ["experimental-reader-writer"] } +ion-rs = { version = "1.0.0-rc.10", features = ["experimental-reader-writer"] } thiserror = "1.0" -num-bigint = "0.3" num-traits = "0.2" regex = "1.5.6" half = "2.2.1" @@ -32,4 +31,4 @@ half = "2.2.1" [dev-dependencies] rstest = "0.9" clap = { version = "2.33.3", features = ["yaml"] } -test-generator = "0.3.0" \ No newline at end of file +test-generator = "0.3.0" diff --git a/ion-schema/src/isl/mod.rs b/ion-schema/src/isl/mod.rs index 6831f2c..cf72670 100644 --- a/ion-schema/src/isl/mod.rs +++ b/ion-schema/src/isl/mod.rs @@ -294,7 +294,7 @@ impl WriteAsIon for SchemaContent { } #[derive(Debug, Clone, PartialEq, Default)] -struct SchemaHeader { +pub struct SchemaHeader { /// Represents the user defined reserved fields user_reserved_fields: UserReservedFields, /// Represents all the IslImports inside the schema file. @@ -327,7 +327,7 @@ impl WriteAsIon for SchemaHeader { } #[derive(Debug, Clone, PartialEq, Default)] -struct SchemaFooter { +pub struct SchemaFooter { /// User-defined (aka "open") content user_content: Vec<(String, Element)>, } diff --git a/wasm-schema-sandbox/Cargo.toml b/wasm-schema-sandbox/Cargo.toml index dbc56f6..c53be31 100644 --- a/wasm-schema-sandbox/Cargo.toml +++ b/wasm-schema-sandbox/Cargo.toml @@ -13,7 +13,7 @@ serde = { version = "1.0", features = ["derive"] } serde-wasm-bindgen = "0.4" js-sys = "0.3.61" ion-schema = { path="../ion-schema" } -ion-rs = "1.0.0-rc.8" +ion-rs = { version = "1.0.0-rc.10", features = ["experimental-reader-writer"] } [dependencies.web-sys] version = "0.3"