From 2f8a774e980d630c8bc09dff32e3d7069e42a3da Mon Sep 17 00:00:00 2001 From: Marcin Nowak-Liebiediew Date: Thu, 14 Jul 2022 13:45:08 +0200 Subject: [PATCH 1/5] changelog + bump PATCH version in `Cargo.toml`s + `cargo build` (`Cargo.lock`) --- CHANGELOG.md | 4 +++- Cargo.lock | 14 +++++++------- ic-agent/Cargo.toml | 2 +- ic-asset/Cargo.toml | 2 +- ic-identity-hsm/Cargo.toml | 2 +- ic-utils/Cargo.toml | 2 +- icx-asset/Cargo.toml | 2 +- icx-cert/Cargo.toml | 2 +- icx/Cargo.toml | 2 +- 9 files changed, 17 insertions(+), 15 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index aae9e718..44d121c5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -Added support for configurable dot-directories and -files inclusion via `.ic-assets.json` config file: +## [0.19.1] - 2022-07-14 + +Added support configurable inclusion and exclusion of files and directories (including dotfiles and dot directories), done via `.ic-assets.json` config file: - example of `.ic-assets.json` file format: ``` [ diff --git a/Cargo.lock b/Cargo.lock index 987097f8..d248b5ba 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -937,7 +937,7 @@ dependencies = [ [[package]] name = "ic-agent" -version = "0.19.0" +version = "0.19.1" dependencies = [ "async-trait", "base32", @@ -976,7 +976,7 @@ dependencies = [ [[package]] name = "ic-asset" -version = "0.19.0" +version = "0.19.1" dependencies = [ "anyhow", "candid", @@ -1005,7 +1005,7 @@ dependencies = [ [[package]] name = "ic-identity-hsm" -version = "0.19.0" +version = "0.19.1" dependencies = [ "hex", "ic-agent", @@ -1033,7 +1033,7 @@ dependencies = [ [[package]] name = "ic-utils" -version = "0.19.0" +version = "0.19.1" dependencies = [ "async-trait", "candid", @@ -1055,7 +1055,7 @@ dependencies = [ [[package]] name = "icx" -version = "0.19.0" +version = "0.19.1" dependencies = [ "anyhow", "candid", @@ -1075,7 +1075,7 @@ dependencies = [ [[package]] name = "icx-asset" -version = "0.19.0" +version = "0.19.1" dependencies = [ "anyhow", "candid", @@ -1101,7 +1101,7 @@ dependencies = [ [[package]] name = "icx-cert" -version = "0.19.0" +version = "0.19.1" dependencies = [ "anyhow", "base64", diff --git a/ic-agent/Cargo.toml b/ic-agent/Cargo.toml index 480d2bea..185d16d8 100644 --- a/ic-agent/Cargo.toml +++ b/ic-agent/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ic-agent" -version = "0.19.0" +version = "0.19.1" authors = ["DFINITY Stiftung "] edition = "2021" description = "Agent library to communicate with the Internet Computer, following the Public Specification." diff --git a/ic-asset/Cargo.toml b/ic-asset/Cargo.toml index 6dbe71b1..9138b615 100644 --- a/ic-asset/Cargo.toml +++ b/ic-asset/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ic-asset" -version = "0.19.0" +version = "0.19.1" authors = ["DFINITY Stiftung "] edition = "2021" description = "Library for storing files in an asset canister." diff --git a/ic-identity-hsm/Cargo.toml b/ic-identity-hsm/Cargo.toml index d2bdc039..1f091bf6 100644 --- a/ic-identity-hsm/Cargo.toml +++ b/ic-identity-hsm/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ic-identity-hsm" -version = "0.19.0" +version = "0.19.1" authors = ["DFINITY Stiftung "] description = "Identity implementation for HSM for the ic-agent package." homepage = "https://docs.rs/ic-identity-hsm" diff --git a/ic-utils/Cargo.toml b/ic-utils/Cargo.toml index 183a9499..f3573612 100644 --- a/ic-utils/Cargo.toml +++ b/ic-utils/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ic-utils" -version = "0.19.0" +version = "0.19.1" authors = ["DFINITY Stiftung "] edition = "2021" description = "Collection of utilities for Rust, on top of ic-agent, to communicate with the Internet Computer, following the Public Specification." diff --git a/icx-asset/Cargo.toml b/icx-asset/Cargo.toml index 1f4ac198..d76cef34 100644 --- a/icx-asset/Cargo.toml +++ b/icx-asset/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "icx-asset" -version = "0.19.0" +version = "0.19.1" authors = ["DFINITY Stiftung "] edition = "2021" description = "CLI tool to manage assets on an asset canister on the Internet Computer." diff --git a/icx-cert/Cargo.toml b/icx-cert/Cargo.toml index 40de8dba..22e088fa 100644 --- a/icx-cert/Cargo.toml +++ b/icx-cert/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "icx-cert" -version = "0.19.0" +version = "0.19.1" authors = ["DFINITY Stiftung "] edition = "2021" description = "CLI tool to download a document from the Internet Computer and pretty-print the contents of its IC-Certificate header." diff --git a/icx/Cargo.toml b/icx/Cargo.toml index 527cfa45..a860d272 100644 --- a/icx/Cargo.toml +++ b/icx/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "icx" -version = "0.19.0" +version = "0.19.1" authors = ["DFINITY Stiftung "] edition = "2021" description = "CLI tool to call canisters on the Internet Computer." From a5b2a35466415d4e0b59055f02536f46b7f97346 Mon Sep 17 00:00:00 2001 From: Marcin Nowak-Liebiediew Date: Thu, 14 Jul 2022 15:46:13 +0200 Subject: [PATCH 2/5] breaking: bump `ic-types` (`0.3.0`->`0.4.0`) and `candid` (`0.7.14`->`0.7.15`) --- ic-agent/Cargo.toml | 4 ++-- ic-asset/Cargo.toml | 4 ++-- ic-utils/Cargo.toml | 2 +- icx-asset/Cargo.toml | 4 ++-- icx/Cargo.toml | 2 +- ref-tests/Cargo.toml | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/ic-agent/Cargo.toml b/ic-agent/Cargo.toml index 185d16d8..40165825 100644 --- a/ic-agent/Cargo.toml +++ b/ic-agent/Cargo.toml @@ -24,7 +24,7 @@ hex = "0.4.0" http = "0.2.6" http-body = "0.4.5" hyper-rustls = { version = "0.23.0", features = [ "webpki-roots" ] } -ic-types = "0.3.0" +ic-types = "0.4.0" k256 = { version = "0.11", features = ["pem"] } leb128 = "0.2.5" mime = "0.3.16" @@ -53,7 +53,7 @@ version = "1.0" optional = true [dev-dependencies] -candid = "0.7.14" +candid = "0.7.15" mockito = "0.31.0" proptest = "1.0.0" serde_json = "1.0.79" diff --git a/ic-asset/Cargo.toml b/ic-asset/Cargo.toml index 9138b615..db24ea8e 100644 --- a/ic-asset/Cargo.toml +++ b/ic-asset/Cargo.toml @@ -16,7 +16,7 @@ rust-version = "1.58.1" [dependencies] anyhow = "1.0" -candid = "0.7.14" +candid = "0.7.15" flate2 = "1.0.22" futures = "0.3.21" futures-intrusive = "0.4.0" @@ -24,8 +24,8 @@ garcon = { version = "0.2", features = ["async"] } globset = "0.4.9" hex = {version = "0.4.2", features = ["serde"] } ic-agent = { path = "../ic-agent", version = "0.19", features = [ "pem" ] } -ic-types = "0.3.0" ic-utils = { path = "../ic-utils", version = "0.19" } +ic-types = "0.4.0" mime = "0.3.16" mime_guess = "2.0.4" pathdiff = "0.2.1" diff --git a/ic-utils/Cargo.toml b/ic-utils/Cargo.toml index f3573612..40c40da8 100644 --- a/ic-utils/Cargo.toml +++ b/ic-utils/Cargo.toml @@ -18,7 +18,7 @@ rust-version = "1.58.1" [dependencies] async-trait = "0.1.40" -candid = "0.7.14" +candid = "0.7.15" garcon = { version = "0.2", features = ["async"] } ic-agent = { path = "../ic-agent", version = "0.19" } serde = "1.0.115" diff --git a/icx-asset/Cargo.toml b/icx-asset/Cargo.toml index d76cef34..6b723eb0 100644 --- a/icx-asset/Cargo.toml +++ b/icx-asset/Cargo.toml @@ -18,7 +18,7 @@ rust-version = "1.58.1" [dependencies] anyhow = "1.0.34" -candid = "0.7.14" +candid = "0.7.15" chrono = "0.4.19" clap = { version = "3.0.14", features = ["derive", "cargo"] } delay = "0.3.1" @@ -26,8 +26,8 @@ garcon = "0.2.2" humantime = "2.0.1" ic-agent = { path = "../ic-agent", version = "0.19" } ic-asset = { path = "../ic-asset", version = "0.19" } -ic-types = "0.3.0" ic-utils = { path = "../ic-utils", version = "0.19" } +ic-types = "0.4.0" libflate = "1.2.0" num-traits = "0.2" pem = "1.0.1" diff --git a/icx/Cargo.toml b/icx/Cargo.toml index a860d272..84184e85 100644 --- a/icx/Cargo.toml +++ b/icx/Cargo.toml @@ -20,7 +20,7 @@ path = "src/main.rs" [dependencies] anyhow = { version = "1.0", features = ["backtrace"] } -candid = "0.7.14" +candid = "0.7.15" clap = { version = "3.0.14", features = ["derive", "cargo"] } garcon = { version = "0.2.3", features = ["async"] } hex = "0.4.2" diff --git a/ref-tests/Cargo.toml b/ref-tests/Cargo.toml index 6fdc2a48..77985543 100644 --- a/ref-tests/Cargo.toml +++ b/ref-tests/Cargo.toml @@ -6,7 +6,7 @@ edition = "2018" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -candid = "0.7.14" +candid = "0.7.15" garcon = { version = "0.2.3", features = ["async"] } ic-agent = { path = "../ic-agent" } ic-identity-hsm = { path = "../ic-identity-hsm" } From eee4db91985ed3bb3679311514ce5e9f01cba810 Mon Sep 17 00:00:00 2001 From: Marcin Nowak-Liebiediew Date: Thu, 14 Jul 2022 15:47:56 +0200 Subject: [PATCH 3/5] bump all crates from this repo (`0.19.0`->`0.20.0`) --- ic-agent/Cargo.toml | 2 +- ic-asset/Cargo.toml | 6 +++--- ic-identity-hsm/Cargo.toml | 4 ++-- ic-utils/Cargo.toml | 4 ++-- icx-asset/Cargo.toml | 8 ++++---- icx-cert/Cargo.toml | 4 ++-- icx/Cargo.toml | 6 +++--- 7 files changed, 17 insertions(+), 17 deletions(-) diff --git a/ic-agent/Cargo.toml b/ic-agent/Cargo.toml index 40165825..9c365291 100644 --- a/ic-agent/Cargo.toml +++ b/ic-agent/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ic-agent" -version = "0.19.1" +version = "0.20.0" authors = ["DFINITY Stiftung "] edition = "2021" description = "Agent library to communicate with the Internet Computer, following the Public Specification." diff --git a/ic-asset/Cargo.toml b/ic-asset/Cargo.toml index db24ea8e..47bb9b0d 100644 --- a/ic-asset/Cargo.toml +++ b/ic-asset/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ic-asset" -version = "0.19.1" +version = "0.20.0" authors = ["DFINITY Stiftung "] edition = "2021" description = "Library for storing files in an asset canister." @@ -23,9 +23,9 @@ futures-intrusive = "0.4.0" garcon = { version = "0.2", features = ["async"] } globset = "0.4.9" hex = {version = "0.4.2", features = ["serde"] } -ic-agent = { path = "../ic-agent", version = "0.19", features = [ "pem" ] } -ic-utils = { path = "../ic-utils", version = "0.19" } +ic-agent = { path = "../ic-agent", version = "0.20", features = [ "pem" ] } ic-types = "0.4.0" +ic-utils = { path = "../ic-utils", version = "0.20" } mime = "0.3.16" mime_guess = "2.0.4" pathdiff = "0.2.1" diff --git a/ic-identity-hsm/Cargo.toml b/ic-identity-hsm/Cargo.toml index 1f091bf6..8c92fa5b 100644 --- a/ic-identity-hsm/Cargo.toml +++ b/ic-identity-hsm/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ic-identity-hsm" -version = "0.19.1" +version = "0.20.0" authors = ["DFINITY Stiftung "] description = "Identity implementation for HSM for the ic-agent package." homepage = "https://docs.rs/ic-identity-hsm" @@ -16,7 +16,7 @@ rust-version = "1.58.1" [dependencies] hex = "0.4.2" -ic-agent = { path = "../ic-agent", version = "0.19", features = [ "pem" ] } +ic-agent = { path = "../ic-agent", version = "0.20", features = [ "pem" ] } num-bigint = "0.4.3" pkcs11 = "0.5.0" sha2 = "0.10" diff --git a/ic-utils/Cargo.toml b/ic-utils/Cargo.toml index 40c40da8..47912d85 100644 --- a/ic-utils/Cargo.toml +++ b/ic-utils/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ic-utils" -version = "0.19.1" +version = "0.20.0" authors = ["DFINITY Stiftung "] edition = "2021" description = "Collection of utilities for Rust, on top of ic-agent, to communicate with the Internet Computer, following the Public Specification." @@ -20,7 +20,7 @@ rust-version = "1.58.1" async-trait = "0.1.40" candid = "0.7.15" garcon = { version = "0.2", features = ["async"] } -ic-agent = { path = "../ic-agent", version = "0.19" } +ic-agent = { path = "../ic-agent", version = "0.20" } serde = "1.0.115" serde_bytes = "0.11" strum = "0.24" diff --git a/icx-asset/Cargo.toml b/icx-asset/Cargo.toml index 6b723eb0..cab02b6e 100644 --- a/icx-asset/Cargo.toml +++ b/icx-asset/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "icx-asset" -version = "0.19.1" +version = "0.20.0" authors = ["DFINITY Stiftung "] edition = "2021" description = "CLI tool to manage assets on an asset canister on the Internet Computer." @@ -24,10 +24,10 @@ clap = { version = "3.0.14", features = ["derive", "cargo"] } delay = "0.3.1" garcon = "0.2.2" humantime = "2.0.1" -ic-agent = { path = "../ic-agent", version = "0.19" } -ic-asset = { path = "../ic-asset", version = "0.19" } -ic-utils = { path = "../ic-utils", version = "0.19" } +ic-agent = { path = "../ic-agent", version = "0.20" } +ic-asset = { path = "../ic-asset", version = "0.20" } ic-types = "0.4.0" +ic-utils = { path = "../ic-utils", version = "0.20" } libflate = "1.2.0" num-traits = "0.2" pem = "1.0.1" diff --git a/icx-cert/Cargo.toml b/icx-cert/Cargo.toml index 22e088fa..f56a355a 100644 --- a/icx-cert/Cargo.toml +++ b/icx-cert/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "icx-cert" -version = "0.19.1" +version = "0.20.0" authors = ["DFINITY Stiftung "] edition = "2021" description = "CLI tool to download a document from the Internet Computer and pretty-print the contents of its IC-Certificate header." @@ -22,7 +22,7 @@ base64 = "0.13" clap = { version = "3.1.8", features = ["derive", "cargo"] } chrono = "0.4.19" hex = "0.4.2" -ic-agent = { path = "../ic-agent", version = "0.19" } +ic-agent = { path = "../ic-agent", version = "0.20" } leb128 = "0.2.4" reqwest = { version = "0.11", features = [ "blocking", "rustls-tls" ] } sha2 = "0.10" diff --git a/icx/Cargo.toml b/icx/Cargo.toml index 84184e85..eead7cde 100644 --- a/icx/Cargo.toml +++ b/icx/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "icx" -version = "0.19.1" +version = "0.20.0" authors = ["DFINITY Stiftung "] edition = "2021" description = "CLI tool to call canisters on the Internet Computer." @@ -25,8 +25,8 @@ clap = { version = "3.0.14", features = ["derive", "cargo"] } garcon = { version = "0.2.3", features = ["async"] } hex = "0.4.2" humantime = "2.0.1" -ic-agent = { path = "../ic-agent", version = "0.19" } -ic-utils = { path = "../ic-utils", version = "0.19" } +ic-agent = { path = "../ic-agent", version = "0.20" } +ic-utils = { path = "../ic-utils", version = "0.20" } pem = "1.0" ring = "0.16.11" serde = "1.0.115" From 08a1b1c1d229ff9fa71c0569f8e7a84f3fcaf6d3 Mon Sep 17 00:00:00 2001 From: Marcin Nowak-Liebiediew Date: Thu, 14 Jul 2022 15:48:33 +0200 Subject: [PATCH 4/5] chaneglog --- CHANGELOG.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 44d121c5..39bc0cb4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -## [0.19.1] - 2022-07-14 +## [0.20.0] - 2022-07-14 + +### Breaking change: Updated to ic-types 0.4.0 + +* Remove `PrincipalInner` + * `Principal` directly holds `len` and `bytes` fields +* `PrincipalError` enum has different set of variants reflecting changes in `from_text` logic. +* `from_text` accepts input containing uppercase letters which results in Err before. +* `from_text` verifies CRC32 check sequence + +### ic-asset Added support configurable inclusion and exclusion of files and directories (including dotfiles and dot directories), done via `.ic-assets.json` config file: - example of `.ic-assets.json` file format: @@ -50,6 +60,8 @@ Added support for configuring HTTP headers for assets in asset canister (via `.i ## [0.19.0] - 2022-07-06 +### ic-asset + Added support for asset canister config files in `ic-assets`. - reads configuration from `.ic-assets.json` config files if placed inside assets directory, multiple config files can be used (nested in subdirectories) - runs successfully only if the config file is right format (valid JSON, valid glob pattern, JSON fields in correct format) @@ -69,6 +81,8 @@ Added support for asset canister config files in `ic-assets`. ## [0.18.0] - 2022-06-23 +### ic-asset + Breaking change: ic-asset::sync() now synchronizes from multiple source directories. This is to allow for configuration files located alongside assets in asset source directories. From bb6c3da70a7ee3d9771ca0bb61ee0762edd4efc7 Mon Sep 17 00:00:00 2001 From: Marcin Nowak-Liebiediew Date: Thu, 14 Jul 2022 15:48:39 +0200 Subject: [PATCH 5/5] `Cargo.lock` --- Cargo.lock | 91 ++++++++++++++++++------------------------------------ 1 file changed, 30 insertions(+), 61 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d248b5ba..43facc70 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -183,15 +183,6 @@ version = "1.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" -[[package]] -name = "block-buffer" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4152116fd6e9dadb291ae18fc1ec3575ed6d84c29642d97890f4b4a3417297e4" -dependencies = [ - "generic-array", -] - [[package]] name = "block-buffer" version = "0.10.2" @@ -230,9 +221,9 @@ checksum = "c4872d67bab6358e59559027aa3b9157c53d9358c51423c17554809a8858e0f8" [[package]] name = "candid" -version = "0.7.14" +version = "0.7.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba9e536514a3c655568e23e36e68cbef20ee6595f641719ade03a849a13ed0ac" +checksum = "a4f5cdd24185c6d6edba09bcfe06cf9c1e7fd579cbe5e4ae2dffba9c474a5a7f" dependencies = [ "anyhow", "binread", @@ -420,6 +411,12 @@ dependencies = [ "typenum", ] +[[package]] +name = "data-encoding" +version = "2.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ee2393c4a91429dffb4bedf19f4d6abf27d8a732c8ce4980305d782e5426d57" + [[package]] name = "delay" version = "0.3.1" @@ -454,22 +451,13 @@ version = "0.1.12" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0e25ea47919b1560c4e3b7fe0aaab9becf5b84a10325ddf7db0f0ba5e1026499" -[[package]] -name = "digest" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3dd60d1080a57a05ab032377049e0591415d2b31afd7028356dbf3cc6dcb066" -dependencies = [ - "generic-array", -] - [[package]] name = "digest" version = "0.10.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f2fb860ca6fafa5552fb6d0e816a69c8e49f0908bf524e30a90d97c85892d506" dependencies = [ - "block-buffer 0.10.2", + "block-buffer", "crypto-common", "subtle", ] @@ -522,7 +510,7 @@ dependencies = [ "base16ct", "crypto-bigint", "der", - "digest 0.10.3", + "digest", "ff", "generic-array", "group", @@ -839,7 +827,7 @@ version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e" dependencies = [ - "digest 0.10.3", + "digest", ] [[package]] @@ -937,7 +925,7 @@ dependencies = [ [[package]] name = "ic-agent" -version = "0.19.1" +version = "0.20.0" dependencies = [ "async-trait", "base32", @@ -967,7 +955,7 @@ dependencies = [ "serde_bytes", "serde_cbor", "serde_json", - "sha2 0.10.2", + "sha2", "simple_asn1", "thiserror", "tokio", @@ -976,7 +964,7 @@ dependencies = [ [[package]] name = "ic-asset" -version = "0.19.1" +version = "0.20.0" dependencies = [ "anyhow", "candid", @@ -998,42 +986,42 @@ dependencies = [ "serde", "serde_bytes", "serde_json", - "sha2 0.10.2", + "sha2", "tempfile", "walkdir", ] [[package]] name = "ic-identity-hsm" -version = "0.19.1" +version = "0.20.0" dependencies = [ "hex", "ic-agent", "num-bigint 0.4.3", "pkcs11", - "sha2 0.10.2", + "sha2", "simple_asn1", "thiserror", ] [[package]] name = "ic-types" -version = "0.3.0" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e78ec6f58886cdc252d6f912dc794211bd6bbc39ddc9dcda434b2dc16c335b3" +checksum = "a67e4edc28c09d29ab97b50410245c91d71756eaf3956212e3488cd6eb75fda4" dependencies = [ - "base32", "crc32fast", + "data-encoding", "hex", "serde", "serde_bytes", - "sha2 0.9.9", + "sha2", "thiserror", ] [[package]] name = "ic-utils" -version = "0.19.1" +version = "0.20.0" dependencies = [ "async-trait", "candid", @@ -1055,7 +1043,7 @@ dependencies = [ [[package]] name = "icx" -version = "0.19.1" +version = "0.20.0" dependencies = [ "anyhow", "candid", @@ -1075,7 +1063,7 @@ dependencies = [ [[package]] name = "icx-asset" -version = "0.19.1" +version = "0.20.0" dependencies = [ "anyhow", "candid", @@ -1101,7 +1089,7 @@ dependencies = [ [[package]] name = "icx-cert" -version = "0.19.1" +version = "0.20.0" dependencies = [ "anyhow", "base64", @@ -1114,7 +1102,7 @@ dependencies = [ "serde", "serde_bytes", "serde_cbor", - "sha2 0.10.2", + "sha2", ] [[package]] @@ -1186,7 +1174,7 @@ dependencies = [ "cfg-if", "ecdsa", "elliptic-curve", - "sha2 0.10.2", + "sha2", ] [[package]] @@ -1498,12 +1486,6 @@ version = "1.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7709cef83f0c1f58f666e746a08b21e0085f7440fa6a29cc194d68aac97a4225" -[[package]] -name = "opaque-debug" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "624a8340c38c1b80fd549087862da4ba43e08858af025b236e509b6649fc13d5" - [[package]] name = "openssl" version = "0.10.40" @@ -1879,7 +1861,7 @@ dependencies = [ "ring", "serde", "serde_cbor", - "sha2 0.10.2", + "sha2", "tokio", ] @@ -2187,19 +2169,6 @@ dependencies = [ "serde", ] -[[package]] -name = "sha2" -version = "0.9.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d58a1e1bf39749807d89cf2d98ac2dfa0ff1cb3faa38fbb64dd88ac8013d800" -dependencies = [ - "block-buffer 0.9.0", - "cfg-if", - "cpufeatures", - "digest 0.9.0", - "opaque-debug", -] - [[package]] name = "sha2" version = "0.10.2" @@ -2208,7 +2177,7 @@ checksum = "55deaec60f81eefe3cce0dc50bda92d6d8e88f2a27df7c5033b42afeb1ed2676" dependencies = [ "cfg-if", "cpufeatures", - "digest 0.10.3", + "digest", ] [[package]] @@ -2226,7 +2195,7 @@ version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f054c6c1a6e95179d6f23ed974060dcefb2d9388bb7256900badad682c499de4" dependencies = [ - "digest 0.10.3", + "digest", "rand_core", ]