From d603d85040fbcc7f6beff9860c7765e923f02230 Mon Sep 17 00:00:00 2001 From: Huba Gaspar Date: Tue, 6 Oct 2026 17:16:48 +0200 Subject: [PATCH 1/2] chore(deps): pin canton-lib 0.10.0 canton-lib 0.10.0 sends eventFormat and updateFormat to the Ledger API. Canton 3.6.1 rejects the filter and verbose fields that 0.9.0 sent. This crate calls none of the items that 0.10.0 removes, so only the five tags and the lock file change. Co-Authored-By: Claude Opus 5.5 --- Cargo.lock | 22 +++++++++++----------- Cargo.toml | 10 +++++----- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 465d9de..65042dc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -839,8 +839,8 @@ dependencies = [ [[package]] name = "common" -version = "0.9.0" -source = "git+https://github.com/DLC-link/canton-lib?tag=v0.9.0#be591dbb6af0d6cc3f747b95b8bfa857280a9ea6" +version = "0.10.0" +source = "git+https://github.com/DLC-link/canton-lib?tag=v0.10.0#f5a90bd2b44c976e641d9375e43fdc91b9dfa472" dependencies = [ "canton-api-client", "rust_decimal", @@ -2195,8 +2195,8 @@ dependencies = [ [[package]] name = "keycloak" -version = "0.9.0" -source = "git+https://github.com/DLC-link/canton-lib?tag=v0.9.0#be591dbb6af0d6cc3f747b95b8bfa857280a9ea6" +version = "0.10.0" +source = "git+https://github.com/DLC-link/canton-lib?tag=v0.10.0#f5a90bd2b44c976e641d9375e43fdc91b9dfa472" dependencies = [ "base64 0.22.1", "reqwest 0.12.28", @@ -2221,8 +2221,8 @@ checksum = "a4933f3f57a8e9d9da04db23fb153356ecaf00cbd14aee46279c33dc80925c37" [[package]] name = "ledger" -version = "0.9.0" -source = "git+https://github.com/DLC-link/canton-lib?tag=v0.9.0#be591dbb6af0d6cc3f747b95b8bfa857280a9ea6" +version = "0.10.0" +source = "git+https://github.com/DLC-link/canton-lib?tag=v0.10.0#f5a90bd2b44c976e641d9375e43fdc91b9dfa472" dependencies = [ "base64 0.22.1", "canton-api-client", @@ -2888,8 +2888,8 @@ checksum = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4" [[package]] name = "registry" -version = "0.9.0" -source = "git+https://github.com/DLC-link/canton-lib?tag=v0.9.0#be591dbb6af0d6cc3f747b95b8bfa857280a9ea6" +version = "0.10.0" +source = "git+https://github.com/DLC-link/canton-lib?tag=v0.10.0#f5a90bd2b44c976e641d9375e43fdc91b9dfa472" dependencies = [ "common", "reqwest 0.12.28", @@ -3664,7 +3664,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "32497e9a4c7b38532efcdebeef879707aa9f794296a4f0244f6f69e9bc8574bd" dependencies = [ "fastrand", - "getrandom 0.3.4", + "getrandom 0.4.3", "once_cell", "rustix", "windows-sys 0.61.2", @@ -3758,8 +3758,8 @@ checksum = "fd3ca314f692efd6c868f8408f53fe444634a845f96c028b97d35f6a1f79f0ee" [[package]] name = "token" -version = "0.9.0" -source = "git+https://github.com/DLC-link/canton-lib?tag=v0.9.0#be591dbb6af0d6cc3f747b95b8bfa857280a9ea6" +version = "0.10.0" +source = "git+https://github.com/DLC-link/canton-lib?tag=v0.10.0#f5a90bd2b44c976e641d9375e43fdc91b9dfa472" dependencies = [ "base64 0.22.1", "canton-api-client", diff --git a/Cargo.toml b/Cargo.toml index e640be8..3035935 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -20,13 +20,13 @@ uninlined_format_args = "allow" [dependencies] alloy-primitives = { version = "1.7.3" } alloy-sol-types = { version = "1.7.3" } -common = { git = "https://github.com/DLC-link/canton-lib", tag = "v0.9.0" } -ledger = { git = "https://github.com/DLC-link/canton-lib", tag = "v0.9.0" } -registry = { git = "https://github.com/DLC-link/canton-lib", tag = "v0.9.0" } +common = { git = "https://github.com/DLC-link/canton-lib", tag = "v0.10.0" } +ledger = { git = "https://github.com/DLC-link/canton-lib", tag = "v0.10.0" } +registry = { git = "https://github.com/DLC-link/canton-lib", tag = "v0.10.0" } reqwest = { version = "0.13.5", features = ["json"] } serde = { version = "1.0", features = ["derive"] } serde_json = { version = "1" } -token = { git = "https://github.com/DLC-link/canton-lib", tag = "v0.9.0" } +token = { git = "https://github.com/DLC-link/canton-lib", tag = "v0.10.0" } uuid = { version = "1.18", features = ["v4"] } [dev-dependencies] @@ -35,7 +35,7 @@ chrono = { version = "0.4.42" } csv = { version = "1.3" } dotenvy = { version = "0.15" } env_logger = { version = "0.11" } -keycloak = { git = "https://github.com/DLC-link/canton-lib", tag = "v0.9.0" } +keycloak = { git = "https://github.com/DLC-link/canton-lib", tag = "v0.10.0" } tokio = { version = "1.48.0", features = ["macros", "rt-multi-thread", "time"] } [[example]] From fee7bbfbe40ddf6c08bcd5a79d61b65954a650d8 Mon Sep 17 00:00:00 2001 From: Huba Gaspar Date: Tue, 6 Oct 2026 17:25:39 +0200 Subject: [PATCH 2/2] chore(deps): keep tempfile on getrandom 0.3.4 The canton-lib update also moved tempfile to getrandom 0.4.3. That change is not related to canton-lib, so the lock keeps the version that main uses. Co-Authored-By: Claude Opus 5.5 --- Cargo.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index 65042dc..228995b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3664,7 +3664,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "32497e9a4c7b38532efcdebeef879707aa9f794296a4f0244f6f69e9bc8574bd" dependencies = [ "fastrand", - "getrandom 0.4.3", + "getrandom 0.3.4", "once_cell", "rustix", "windows-sys 0.61.2",