Skip to content

Commit 00fbcdb

Browse files
authored
Updates ion-rust to rc10 (#185)
* Updates ion-rust to rc10 * Version bump to v0.10.0
1 parent 03a3fc8 commit 00fbcdb

File tree

6 files changed

+205
-103
lines changed

6 files changed

+205
-103
lines changed

Cargo.lock

Lines changed: 42 additions & 26 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ion-cli"
3-
version = "0.9.1"
3+
version = "0.10.0"
44
authors = ["The Ion Team <ion-team@amazon.com>"]
55
edition = "2021"
66
description = "Command line tool for working with the Ion data format."
@@ -15,23 +15,21 @@ keywords = ["format", "parse", "encode"]
1515
anyhow = "1.0"
1616
clap = { version = "4.5.8", features = ["cargo", "env", "wrap_help"] }
1717
colored = "2.0.0"
18-
digest = "0.9"
1918
sha2 = "0.9"
2019
sha3 = "0.9"
2120
flate2 = "1.0"
2221
infer = "0.15.0"
2322
# ion-rs version must be pinned because we are using experimental features
2423
# See https://github.com/amazon-ion/ion-cli/issues/155
25-
ion-rs = { version = "=1.0.0-rc.9", features = ["experimental", "experimental-ion-hash"] }
24+
ion-rs = { version = "1.0.0-rc.10", features = ["experimental", "experimental-ion-hash"] }
2625
tempfile = "3.2.0"
27-
ion-schema = "0.14.1"
26+
ion-schema = "0.15.0"
2827
lowcharts = "0.5.8"
2928
serde = { version = "1.0.163", features = ["derive"] }
3029
serde_json = { version = "1.0.81", features = ["arbitrary_precision", "preserve_order"] }
3130
base64 = "0.21.1"
3231
tera = { version = "1.18.1" }
3332
convert_case = { version = "0.6.0" }
34-
matches = "0.1.10"
3533
thiserror = "1.0.50"
3634
zstd = "0.13.0"
3735
termcolor = "1.4.1"

src/bin/ion/commands/generate/generator.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ pub(crate) struct CodeGenerator<'a, L: Language> {
3939

4040
impl<'a> CodeGenerator<'a, RustLanguage> {
4141
#[allow(dead_code)]
42-
pub fn new(output: &'a Path) -> CodeGenerator<RustLanguage> {
42+
pub fn new(output: &'a Path) -> CodeGenerator<'a, RustLanguage> {
4343
let mut tera = Tera::default();
4444
// Add all templates using `rust_templates` module constants
4545
// This allows packaging binary without the need of template resources.

0 commit comments

Comments
 (0)