diff --git a/Cargo.lock b/Cargo.lock index 34b9cbf7..26cb2e3f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -914,7 +914,7 @@ dependencies = [ [[package]] name = "ion-cli" -version = "0.9.0" +version = "0.9.1" dependencies = [ "anyhow", "assert_cmd", @@ -946,9 +946,9 @@ dependencies = [ [[package]] name = "ion-rs" -version = "1.0.0-rc.8" +version = "1.0.0-rc.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "66a15daf373b7ab9e11b66340c4cd09dc2847d1ef2a6372cbe0ed74a0c0d9b85" +checksum = "e3870f0125bfc40c9d8a738ac265dbc291d39c0b11882b238e4045d671f40f9c" dependencies = [ "arrayvec", "base64 0.12.3", @@ -960,6 +960,7 @@ dependencies = [ "nom", "num-integer", "num-traits", + "phf", "rustc-hash", "serde", "serde_with", @@ -1266,6 +1267,7 @@ version = "0.11.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ade2d8b8f33c7333b51bcf0428d37e217e9f32192ae4772156f65063b8ce03dc" dependencies = [ + "phf_macros", "phf_shared", ] @@ -1289,6 +1291,19 @@ dependencies = [ "rand", ] +[[package]] +name = "phf_macros" +version = "0.11.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3444646e286606587e49f3bcf1679b8cef1dc2c5ecc29ddacaffc305180d464b" +dependencies = [ + "phf_generator", + "phf_shared", + "proc-macro2", + "quote", + "syn 2.0.79", +] + [[package]] name = "phf_shared" version = "0.11.2" diff --git a/Cargo.toml b/Cargo.toml index 20383631..3c68ab65 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ion-cli" -version = "0.9.0" +version = "0.9.1" authors = ["The Ion Team "] edition = "2021" description = "Command line tool for working with the Ion data format." @@ -22,7 +22,7 @@ flate2 = "1.0" infer = "0.15.0" # ion-rs version must be pinned because we are using experimental features # See https://github.com/amazon-ion/ion-cli/issues/155 -ion-rs = { version = "=1.0.0-rc.8", features = ["experimental", "experimental-ion-hash"] } +ion-rs = { version = "=1.0.0-rc.9", features = ["experimental", "experimental-ion-hash"] } tempfile = "3.2.0" ion-schema = "0.14.1" lowcharts = "0.5.8" diff --git a/src/bin/ion/commands/inspect.rs b/src/bin/ion/commands/inspect.rs index 8e7cf3e1..22b2a0f2 100644 --- a/src/bin/ion/commands/inspect.rs +++ b/src/bin/ion/commands/inspect.rs @@ -789,6 +789,7 @@ impl<'a, 'b> IonInspector<'a, 'b> { match raw_annotation? { RawSymbolRef::SymbolId(sid) => write!(out, "${sid}"), RawSymbolRef::Text(_) => write!(out, ""), + RawSymbolRef::SystemSymbol_1_1(_) => write!(out, ""), }?; } Ok(()) @@ -985,6 +986,9 @@ impl<'a, 'b> IonInspector<'a, 'b> { RawSymbolRef::Text(_) => { write!(out, " // ") } + RawSymbolRef::SystemSymbol_1_1(_) => { + write!(out, " // ") + } }?; Ok(()) })