From bf1a40ad7c59d83d77877ff499e4b35acdd147f5 Mon Sep 17 00:00:00 2001 From: Zack Slayton Date: Mon, 10 Jan 2022 11:52:10 -0500 Subject: [PATCH] Updates crates to edition 2021 and bumps versions (#346) This PR updates the Rust edition of: * ion-rs * ion-hash * ion-c-sys-macros * ion-c-sys from 2018 to 2021. No code changes were required. This patch also bumps their respective versions. * Update pinned version of nightly Co-authored-by: Zack Slayton --- .github/workflows/coverage.yml | 2 +- Cargo.toml | 4 ++-- ion-c-sys-macros/Cargo.toml | 4 ++-- ion-c-sys/Cargo.toml | 4 ++-- ion-hash/Cargo.toml | 6 +++--- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 56f9bead..696c1cbe 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -23,7 +23,7 @@ jobs: with: profile: minimal # nightly can be very volatile--pin this to a version we know works well... - toolchain: nightly-2021-08-30 + toolchain: nightly-2022-01-10 override: true - name: Cargo Test uses: actions-rs/cargo@v1 diff --git a/Cargo.toml b/Cargo.toml index 08c7adad..6201fc11 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,8 +16,8 @@ exclude = [ "**/ion-tests/iontestdata/**", "*.pdf" ] -version = "0.7.0" -edition = "2018" +version = "0.8.0" +edition = "2021" [workspace] members = [ diff --git a/ion-c-sys-macros/Cargo.toml b/ion-c-sys-macros/Cargo.toml index f81daf95..f12f5565 100644 --- a/ion-c-sys-macros/Cargo.toml +++ b/ion-c-sys-macros/Cargo.toml @@ -12,8 +12,8 @@ exclude = [ "**/.git/**", "**/.github/**", ] -version = "0.1.0" -edition = "2018" +version = "0.1.1" +edition = "2021" [lib] proc-macro = true diff --git a/ion-c-sys/Cargo.toml b/ion-c-sys/Cargo.toml index d4244ff8..c70caef4 100644 --- a/ion-c-sys/Cargo.toml +++ b/ion-c-sys/Cargo.toml @@ -16,8 +16,8 @@ exclude = [ "**/ion-tests/iontestdata/**", "*.pdf" ] -version = "0.4.12" -edition = "2018" +version = "0.4.13" +edition = "2021" [dependencies] ion-c-sys-macros = { version = "0.1", path = "../ion-c-sys-macros" } diff --git a/ion-hash/Cargo.toml b/ion-hash/Cargo.toml index afc975c9..84fccaee 100644 --- a/ion-hash/Cargo.toml +++ b/ion-hash/Cargo.toml @@ -16,11 +16,11 @@ exclude = [ "**/ion-tests/iontestdata/**", "*.pdf" ] -version = "0.0.4" -edition = "2018" +version = "0.0.5" +edition = "2021" [dependencies] -ion-rs = { path = "../", version = "0.7" } +ion-rs = { path = "../", version = "0.8" } ion-c-sys = { path = "../ion-c-sys", version = "0.4" } num-bigint = "0.3" digest = "0.9"