From 223513aed3dc98575125b6c17557bbdfd9251b82 Mon Sep 17 00:00:00 2001 From: Yan Chen <48968912+chenyan-dfinity@users.noreply.github.com> Date: Tue, 9 Apr 2024 13:51:22 -0700 Subject: [PATCH 1/3] bump candid --- Cargo.lock | 11 ++++------- Cargo.toml | 5 +++++ 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 589c678..968cd62 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -98,9 +98,8 @@ checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" [[package]] name = "candid" -version = "0.10.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7fcd70c7bed52cb20e38dd933c19c0c9abf0302b60db3fa3186e27ec53edf6ad" +version = "0.10.6" +source = "git+https://github.com/dfinity/candid.git?branch=perf-ser#c6948eeed21bc867f8d709f4db40f459816dccec" dependencies = [ "anyhow", "binread", @@ -122,8 +121,7 @@ dependencies = [ [[package]] name = "candid_derive" version = "0.6.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3de398570c386726e7a59d9887b68763c481477f9a043fb998a2e09d428df1a9" +source = "git+https://github.com/dfinity/candid.git?branch=perf-ser#c6948eeed21bc867f8d709f4db40f459816dccec" dependencies = [ "lazy_static", "proc-macro2", @@ -444,8 +442,7 @@ checksum = "a54b5297861c651551676e8c43df805dad175cc33bc97dbd992edbbb85dcbcdf" [[package]] name = "ic_principal" version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1762deb6f7c8d8c2bdee4b6c5a47b60195b74e9b5280faa5ba29692f8e17429c" +source = "git+https://github.com/dfinity/candid.git?branch=perf-ser#c6948eeed21bc867f8d709f4db40f459816dccec" dependencies = [ "crc32fast", "data-encoding", diff --git a/Cargo.toml b/Cargo.toml index 8fb9329..291a121 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -31,3 +31,8 @@ ic-cdk-timers = "0.7" candid = "0.10.4" serde = "1" ic-stable-structures = "0.6" + +[patch.crates-io] +candid = { git = "https://github.com/dfinity/candid.git", branch = "perf-ser" } +candid_derive = { git = "https://github.com/dfinity/candid.git", branch = "perf-ser" } +ic_principal = { git = "https://github.com/dfinity/candid.git", branch = "perf-ser" } From ef5da81b4d2fd84e370d4c72a1712c970ea5d7f2 Mon Sep 17 00:00:00 2001 From: Yan Chen <48968912+chenyan-dfinity@users.noreply.github.com> Date: Tue, 9 Apr 2024 17:26:48 -0700 Subject: [PATCH 2/3] bump --- Cargo.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 968cd62..325a135 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -99,7 +99,7 @@ checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" [[package]] name = "candid" version = "0.10.6" -source = "git+https://github.com/dfinity/candid.git?branch=perf-ser#c6948eeed21bc867f8d709f4db40f459816dccec" +source = "git+https://github.com/dfinity/candid.git?branch=perf-ser#bd2174344effc6be12ce357e4fe74e1309a10e5b" dependencies = [ "anyhow", "binread", @@ -121,7 +121,7 @@ dependencies = [ [[package]] name = "candid_derive" version = "0.6.6" -source = "git+https://github.com/dfinity/candid.git?branch=perf-ser#c6948eeed21bc867f8d709f4db40f459816dccec" +source = "git+https://github.com/dfinity/candid.git?branch=perf-ser#bd2174344effc6be12ce357e4fe74e1309a10e5b" dependencies = [ "lazy_static", "proc-macro2", @@ -442,7 +442,7 @@ checksum = "a54b5297861c651551676e8c43df805dad175cc33bc97dbd992edbbb85dcbcdf" [[package]] name = "ic_principal" version = "0.1.1" -source = "git+https://github.com/dfinity/candid.git?branch=perf-ser#c6948eeed21bc867f8d709f4db40f459816dccec" +source = "git+https://github.com/dfinity/candid.git?branch=perf-ser#bd2174344effc6be12ce357e4fe74e1309a10e5b" dependencies = [ "crc32fast", "data-encoding", From e719b3b65798af2e801918a95799b9aaf0d68c26 Mon Sep 17 00:00:00 2001 From: Yan Chen <48968912+chenyan-dfinity@users.noreply.github.com> Date: Thu, 11 Apr 2024 11:47:13 -0700 Subject: [PATCH 3/3] bump --- Cargo.lock | 11 +++++++---- Cargo.toml | 4 ---- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 325a135..c98f4fb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -98,8 +98,9 @@ checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" [[package]] name = "candid" -version = "0.10.6" -source = "git+https://github.com/dfinity/candid.git?branch=perf-ser#bd2174344effc6be12ce357e4fe74e1309a10e5b" +version = "0.10.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "818394610ed32d9e4c81025f97c8580698b69542527efde18514cf9ad1f8f5f0" dependencies = [ "anyhow", "binread", @@ -121,7 +122,8 @@ dependencies = [ [[package]] name = "candid_derive" version = "0.6.6" -source = "git+https://github.com/dfinity/candid.git?branch=perf-ser#bd2174344effc6be12ce357e4fe74e1309a10e5b" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3de398570c386726e7a59d9887b68763c481477f9a043fb998a2e09d428df1a9" dependencies = [ "lazy_static", "proc-macro2", @@ -442,7 +444,8 @@ checksum = "a54b5297861c651551676e8c43df805dad175cc33bc97dbd992edbbb85dcbcdf" [[package]] name = "ic_principal" version = "0.1.1" -source = "git+https://github.com/dfinity/candid.git?branch=perf-ser#bd2174344effc6be12ce357e4fe74e1309a10e5b" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1762deb6f7c8d8c2bdee4b6c5a47b60195b74e9b5280faa5ba29692f8e17429c" dependencies = [ "crc32fast", "data-encoding", diff --git a/Cargo.toml b/Cargo.toml index 291a121..9c1f2f2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -32,7 +32,3 @@ candid = "0.10.4" serde = "1" ic-stable-structures = "0.6" -[patch.crates-io] -candid = { git = "https://github.com/dfinity/candid.git", branch = "perf-ser" } -candid_derive = { git = "https://github.com/dfinity/candid.git", branch = "perf-ser" } -ic_principal = { git = "https://github.com/dfinity/candid.git", branch = "perf-ser" }