From 0c729588a5b41b89e84b7edef9d5bb2b52413138 Mon Sep 17 00:00:00 2001 From: Eric Swanson Date: Thu, 6 Jan 2022 16:49:20 -0800 Subject: [PATCH 1/7] candid 0.7.10, ic-types 0.3.0 --- Cargo.lock | 8 ++++---- ic-agent/Cargo.toml | 4 ++-- ic-asset/Cargo.toml | 4 ++-- ic-utils/Cargo.toml | 2 +- icx-asset/Cargo.toml | 4 ++-- icx/Cargo.toml | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 3d42b52e..54ae2ac1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -209,9 +209,9 @@ checksum = "c4872d67bab6358e59559027aa3b9157c53d9358c51423c17554809a8858e0f8" [[package]] name = "candid" -version = "0.7.9" +version = "0.7.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "31e50722722e50168832c537161079e6a72d624ab23f815beb7b9e628be3377f" +checksum = "12970d8d0620d2bdb7e81a5b13ed11e41fcdfeba53d61e45b5853afcbf9611fd" dependencies = [ "anyhow", "binread", @@ -875,9 +875,9 @@ dependencies = [ [[package]] name = "ic-types" -version = "0.2.2" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2c021c11ae1d716f45d783f5764f418a11f12aea1fdc4fc8a2b2242e0dae708" +checksum = "0e78ec6f58886cdc252d6f912dc794211bd6bbc39ddc9dcda434b2dc16c335b3" dependencies = [ "base32", "crc32fast", diff --git a/ic-agent/Cargo.toml b/ic-agent/Cargo.toml index ad653e35..f1a4e06a 100644 --- a/ic-agent/Cargo.toml +++ b/ic-agent/Cargo.toml @@ -21,7 +21,7 @@ garcon = { version = "0.2", features = ["async"] } hex = "0.4.0" http = "0.2.5" hyper-rustls = { version = "0.23.0", features = [ "webpki-roots" ] } -ic-types = "0.2.2" +ic-types = "0.3.0" leb128 = "0.2.5" mime = "0.3.16" openssl = "0.10.38" @@ -45,7 +45,7 @@ version = "1.0" optional = true [dev-dependencies] -candid = "0.7.9" +candid = "0.7.10" mockito = "0.30.0" proptest = "1.0.0" serde_json = "1.0.72" diff --git a/ic-asset/Cargo.toml b/ic-asset/Cargo.toml index a02977b9..e028101c 100644 --- a/ic-asset/Cargo.toml +++ b/ic-asset/Cargo.toml @@ -14,14 +14,14 @@ include = ["src", "Cargo.toml", "../LICENSE", "README.md"] [dependencies] anyhow = "1.0" -candid = "0.7.7" +candid = "0.7.10" flate2 = "1.0.22" futures = "0.3.19" futures-intrusive = "0.4.0" garcon = { version = "0.2", features = ["async"] } hex = {version = "0.4.2", features = ["serde"] } ic-agent = { path = "../ic-agent", version = "0.10", features = [ "pem" ] } -ic-types = { version = "0.2.2", features = [ "serde" ] } +ic-types = { version = "0.3.0", features = [ "serde" ] } ic-utils = { path = "../ic-utils", version = "0.10" } mime = "0.3.16" mime_guess = "2.0.3" diff --git a/ic-utils/Cargo.toml b/ic-utils/Cargo.toml index 27d6b179..f75ffd8b 100644 --- a/ic-utils/Cargo.toml +++ b/ic-utils/Cargo.toml @@ -16,7 +16,7 @@ include = ["src", "Cargo.toml", "../LICENSE", "README.md"] [dependencies] async-trait = "0.1.40" -candid = "0.7.7" +candid = "0.7.10" garcon = { version = "0.2", features = ["async"] } ic-agent = { path = "../ic-agent", version = "0.10" } serde = "1.0.115" diff --git a/icx-asset/Cargo.toml b/icx-asset/Cargo.toml index 2fa856af..8ff8f60d 100644 --- a/icx-asset/Cargo.toml +++ b/icx-asset/Cargo.toml @@ -16,7 +16,7 @@ include = ["src", "Cargo.toml", "../LICENSE", "README.md"] [dependencies] anyhow = "1.0.34" -candid = "0.7.4" +candid = "0.7.10" chrono = "0.4.19" clap = "=3.0.0-beta.5" clap_derive = "=3.0.0-beta.5" @@ -25,7 +25,7 @@ garcon = "0.2.2" humantime = "2.0.1" ic-agent = { path = "../ic-agent", version = "0.10" } ic-asset = { path = "../ic-asset", version = "0.10" } -ic-types = "0.2.2" +ic-types = "0.3.0" ic-utils = { path = "../ic-utils", version = "0.10" } libflate = "1.1.1" num-traits = "0.2" diff --git a/icx/Cargo.toml b/icx/Cargo.toml index fa6f00bc..6d853cbb 100644 --- a/icx/Cargo.toml +++ b/icx/Cargo.toml @@ -18,7 +18,7 @@ path = "src/main.rs" [dependencies] anyhow = { version = "1.0", features = ["backtrace"] } -candid = "0.7.4" +candid = "0.7.10" clap = "=3.0.0-beta.5" clap_derive = "=3.0.0-beta.5" garcon = { version = "0.2.3", features = ["async"] } From 475a137ea8647d539041de7766325c90eb99c4b0 Mon Sep 17 00:00:00 2001 From: Eric Swanson Date: Thu, 6 Jan 2022 17:04:23 -0800 Subject: [PATCH 2/7] update deps other than clap --- Cargo.lock | 34 ++++++++++++++++------------------ ic-agent/Cargo.toml | 6 +++--- icx-cert/Cargo.toml | 4 ++-- 3 files changed, 21 insertions(+), 23 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 54ae2ac1..38c0f9fb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -34,9 +34,9 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.51" +version = "1.0.52" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b26702f315f53b6071259e15dd9d64528213b44d61de1ec926eca7715d62203" +checksum = "84450d0b4a8bd1ba4144ce8ce718fbc5d071358b1e5384bace6536b3d1f2d5b3" dependencies = [ "backtrace", ] @@ -711,13 +711,13 @@ dependencies = [ [[package]] name = "http" -version = "0.2.5" +version = "0.2.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1323096b05d41827dadeaee54c9981958c0f94e670bc94ed80037d1a7b8b186b" +checksum = "31f4c6746584866f0feabcc69893c5b51beef3831656a968ed7ae254cdc4fd03" dependencies = [ "bytes", "fnv", - "itoa 0.4.8", + "itoa 1.0.1", ] [[package]] @@ -969,7 +969,7 @@ dependencies = [ "serde", "serde_bytes", "serde_cbor", - "sha2 0.10.0", + "sha2 0.10.1", ] [[package]] @@ -1440,13 +1440,11 @@ checksum = "0744126afe1a6dd7f394cb50a716dbe086cb06e255e53d8d0185d82828358fb5" [[package]] name = "pem" -version = "1.0.1" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06673860db84d02a63942fa69cd9543f2624a5df3aea7f33173048fa7ad5cf1a" +checksum = "e9a3b09a20e374558580a4914d3b7d89bd61b954a5a5e1dcbea98753addb1947" dependencies = [ "base64", - "once_cell", - "regex", ] [[package]] @@ -1917,9 +1915,9 @@ dependencies = [ [[package]] name = "serde" -version = "1.0.132" +version = "1.0.133" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b9875c23cf305cd1fd7eb77234cbb705f21ea6a72c637a5c6db5fe4b8e7f008" +checksum = "97565067517b60e2d1ea8b268e59ce036de907ac523ad83a0475da04e818989a" dependencies = [ "serde_derive", ] @@ -1945,9 +1943,9 @@ dependencies = [ [[package]] name = "serde_derive" -version = "1.0.132" +version = "1.0.133" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ecc0db5cb2556c0e558887d9bbdcf6ac4471e83ff66cf696e5419024d1606276" +checksum = "ed201699328568d8d08208fdd080e3ff594e6c422e438b6705905da01005d537" dependencies = [ "proc-macro2", "quote", @@ -1956,9 +1954,9 @@ dependencies = [ [[package]] name = "serde_json" -version = "1.0.73" +version = "1.0.74" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bcbd0344bc6533bc7ec56df11d42fb70f1b912351c0825ccb7211b59d8af7cf5" +checksum = "ee2bb9cd061c5865d345bb02ca49fcef1391741b672b54a0bf7b679badec3142" dependencies = [ "itoa 1.0.1", "ryu", @@ -1992,9 +1990,9 @@ dependencies = [ [[package]] name = "sha2" -version = "0.10.0" +version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "900d964dd36bb15bcf2f2b35694c072feab74969a54f2bbeec7a2d725d2bdcb6" +checksum = "99c3bd8169c58782adad9290a9af5939994036b76187f7b4f0e6de91dbbfc0ec" dependencies = [ "cfg-if", "cpufeatures", diff --git a/ic-agent/Cargo.toml b/ic-agent/Cargo.toml index f1a4e06a..c9dda3d9 100644 --- a/ic-agent/Cargo.toml +++ b/ic-agent/Cargo.toml @@ -19,7 +19,7 @@ base64 = "0.13.0" byteorder = "1.3.2" garcon = { version = "0.2", features = ["async"] } hex = "0.4.0" -http = "0.2.5" +http = "0.2.6" hyper-rustls = { version = "0.23.0", features = [ "webpki-roots" ] } ic-types = "0.3.0" leb128 = "0.2.5" @@ -28,7 +28,7 @@ openssl = "0.10.38" rand = "0.8.4" rustls = "0.20.2" ring = { version = "0.16.11", features = ["std"] } -serde = { version = "1.0.132", features = ["derive"] } +serde = { version = "1.0.133", features = ["derive"] } serde_bytes = "0.11.2" serde_cbor = "0.11.2" simple_asn1 = "0.6.1" @@ -48,7 +48,7 @@ optional = true candid = "0.7.10" mockito = "0.30.0" proptest = "1.0.0" -serde_json = "1.0.72" +serde_json = "1.0.74" tokio = { version = "1.15.0", features = ["full"] } [features] diff --git a/icx-cert/Cargo.toml b/icx-cert/Cargo.toml index 968e2073..b129582e 100644 --- a/icx-cert/Cargo.toml +++ b/icx-cert/Cargo.toml @@ -23,8 +23,8 @@ chrono = "0.4.19" hex = "0.4.2" ic-agent = { path = "../ic-agent", version = "0.10" } leb128 = "0.2.4" -reqwest = { version = "0.11",features = [ "blocking", "rustls-tls" ] } -sha2 = "0.10.0" +reqwest = { version = "0.11", features = [ "blocking", "rustls-tls" ] } +sha2 = "0.10.1" serde = { version = "1.0.115", features = ["derive"] } serde_bytes = "0.11" serde_cbor = "0.11" From 483f7dcef6b3a0e8b13751f78b5d3bf69cce51cc Mon Sep 17 00:00:00 2001 From: Eric Swanson Date: Thu, 6 Jan 2022 17:06:27 -0800 Subject: [PATCH 3/7] Rust agent 0.10.3 --- 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 +- 8 files changed, 14 insertions(+), 14 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 38c0f9fb..cbc00d27 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -804,7 +804,7 @@ dependencies = [ [[package]] name = "ic-agent" -version = "0.10.2" +version = "0.10.3" dependencies = [ "async-trait", "base32", @@ -838,7 +838,7 @@ dependencies = [ [[package]] name = "ic-asset" -version = "0.10.2" +version = "0.10.3" dependencies = [ "anyhow", "candid", @@ -862,7 +862,7 @@ dependencies = [ [[package]] name = "ic-identity-hsm" -version = "0.10.2" +version = "0.10.3" dependencies = [ "hex", "ic-agent", @@ -890,7 +890,7 @@ dependencies = [ [[package]] name = "ic-utils" -version = "0.10.2" +version = "0.10.3" dependencies = [ "async-trait", "candid", @@ -907,7 +907,7 @@ dependencies = [ [[package]] name = "icx" -version = "0.10.2" +version = "0.10.3" dependencies = [ "anyhow", "candid", @@ -928,7 +928,7 @@ dependencies = [ [[package]] name = "icx-asset" -version = "0.10.2" +version = "0.10.3" dependencies = [ "anyhow", "candid", @@ -955,7 +955,7 @@ dependencies = [ [[package]] name = "icx-cert" -version = "0.10.2" +version = "0.10.3" dependencies = [ "anyhow", "base64", diff --git a/ic-agent/Cargo.toml b/ic-agent/Cargo.toml index c9dda3d9..3e5be498 100644 --- a/ic-agent/Cargo.toml +++ b/ic-agent/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ic-agent" -version = "0.10.2" +version = "0.10.3" authors = ["DFINITY Stiftung "] edition = "2018" 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 e028101c..dee177e2 100644 --- a/ic-asset/Cargo.toml +++ b/ic-asset/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ic-asset" -version = "0.10.2" +version = "0.10.3" authors = ["DFINITY Stiftung "] edition = "2018" description = "Library for storing files in an asset canister." diff --git a/ic-identity-hsm/Cargo.toml b/ic-identity-hsm/Cargo.toml index 160e26c4..2ac2aa05 100644 --- a/ic-identity-hsm/Cargo.toml +++ b/ic-identity-hsm/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ic-identity-hsm" -version = "0.10.2" +version = "0.10.3" 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 f75ffd8b..47275078 100644 --- a/ic-utils/Cargo.toml +++ b/ic-utils/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ic-utils" -version = "0.10.2" +version = "0.10.3" authors = ["DFINITY Stiftung "] edition = "2018" 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 8ff8f60d..9ee1e3f5 100644 --- a/icx-asset/Cargo.toml +++ b/icx-asset/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "icx-asset" -version = "0.10.2" +version = "0.10.3" authors = ["DFINITY Stiftung "] edition = "2018" 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 b129582e..d03c4201 100644 --- a/icx-cert/Cargo.toml +++ b/icx-cert/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "icx-cert" -version = "0.10.2" +version = "0.10.3" authors = ["DFINITY Stiftung "] edition = "2018" 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 6d853cbb..f8fc16d4 100644 --- a/icx/Cargo.toml +++ b/icx/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "icx" -version = "0.10.2" +version = "0.10.3" authors = ["DFINITY Stiftung "] edition = "2018" description = "CLI tool to call canisters on the Internet Computer." From 5ae4ab1af7629548136d42925a71b26699b9ad5d Mon Sep 17 00:00:00 2001 From: Eric Swanson Date: Thu, 6 Jan 2022 17:08:13 -0800 Subject: [PATCH 4/7] changelog --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7c011d5a..81a3a7d1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.10.3] - 2022-01-06 + +Updated dependencies + ## [0.10.2] - 2021-12-22 ### ic-agent From 9847679e7552e7083e50497e3b749f76f6c89101 Mon Sep 17 00:00:00 2001 From: Eric Swanson Date: Fri, 7 Jan 2022 12:55:48 -0800 Subject: [PATCH 5/7] agent-rs 0.11.0 --- CHANGELOG.md | 6 ++++-- 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 +- 8 files changed, 11 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 81a3a7d1..5f5bb083 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,9 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -## [0.10.3] - 2022-01-06 +## [0.11.0] - 2022-01-07 -Updated dependencies +### Breaking change: Updated to ic-types 0.3.0 + +The `lookup_path` method now takes an `Iterator