From 4efff35bd76e60dbe41734b55f4ffbc8eace4a91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmet=20Kaan=20G=C3=BCm=C3=BC=C5=9F?= Date: Fri, 25 Sep 2026 13:00:59 +0300 Subject: [PATCH] in: pin topcoat and its CLI to 0.9.0 CI installed topcoat-cli 0.6.2 against a 0.8.0 dependency, which is the mismatch warning. Latest is 0.9.0 for both. im-client rev moves to 2043642 so the git dep no longer pulls a second topcoat 0.8.x into the lockfile. --- .github/workflows/main.yml | 2 +- Cargo.lock | 171 +++++++++++++++++++----------------- Cargo.toml | 2 +- crates/in-client/Cargo.toml | 4 +- crates/in-web/Cargo.toml | 2 +- 5 files changed, 93 insertions(+), 88 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4753014..9c62cea 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -24,7 +24,7 @@ env: # for goes from 2m27s to 25s, for a binary this server will never be # CPU-bound on. See the profile in Cargo.toml. PROFILE: dist - TOPCOAT: 0.6.2 + TOPCOAT: 0.9.0 # The deploy lives in this subdirectory of the SSH user's home. The home # itself is resolved on the server ($HOME), so switching the deploy user # moves the path with it — a baked-in absolute path once kept pointing at diff --git a/Cargo.lock b/Cargo.lock index 3f4aabb..5381590 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -271,7 +271,7 @@ checksum = "82f6aeea286b8eb4dd3431a1be1b59d290ace00f5bfd8e2a159bc2a05e2c1667" dependencies = [ "proc-macro2", "quote", - "syn 3.0.5", + "syn 3.0.6", ] [[package]] @@ -462,7 +462,7 @@ dependencies = [ "prettyplease 0.3.0", "proc-macro2", "quote", - "syn 3.0.5", + "syn 3.0.6", ] [[package]] @@ -518,7 +518,7 @@ checksum = "fc0e56a716f1e132ff6bf4bdac1c944a3fcdc1cae65f70a4a2a1ac3b401d2d1f" dependencies = [ "proc-macro2", "quote", - "syn 3.0.5", + "syn 3.0.6", ] [[package]] @@ -982,7 +982,7 @@ dependencies = [ "proc-macro2", "quote", "strsim", - "syn 3.0.5", + "syn 3.0.6", ] [[package]] @@ -993,7 +993,7 @@ checksum = "2ac7135c3ef02b2f7833bbeb1be5ba7f966dcde8a87c6b87f65a778d71a02785" dependencies = [ "darling_core", "quote", - "syn 3.0.5", + "syn 3.0.6", ] [[package]] @@ -1059,7 +1059,7 @@ checksum = "c6232dd377dcc64799954cbd3a9bb882e9cdc1308ccd87b1c098f1fb2eaf82a8" dependencies = [ "proc-macro2", "quote", - "syn 3.0.5", + "syn 3.0.6", ] [[package]] @@ -1164,7 +1164,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb" dependencies = [ "libc", - "windows-sys 0.61.2", + "windows-sys 0.59.0", ] [[package]] @@ -1309,7 +1309,7 @@ checksum = "9fb9654ba8355388abeb8dcb4fc62f511300867002afc858860463bdd9fe0c44" dependencies = [ "proc-macro2", "quote", - "syn 3.0.5", + "syn 3.0.6", ] [[package]] @@ -1929,7 +1929,7 @@ dependencies = [ [[package]] name = "im-client" version = "0.1.0" -source = "git+https://github.com/DizeyLab/im?rev=5efbd60963c4473264ed765afeed038d4273d791#5efbd60963c4473264ed765afeed038d4273d791" +source = "git+https://github.com/DizeyLab/im?rev=204364242ab2f42e24b9d5d8d897abbc37c7f961#204364242ab2f42e24b9d5d8d897abbc37c7f961" dependencies = [ "base64 0.23.1", "chacha20poly1305", @@ -2316,7 +2316,7 @@ checksum = "77060ebe535362c3da75682cd17b0431017b6e7c5661e714fc69a7ad017d1301" dependencies = [ "proc-macro2", "quote", - "syn 3.0.5", + "syn 3.0.6", ] [[package]] @@ -2563,7 +2563,7 @@ dependencies = [ "proc-macro2", "quote", "rustversion", - "syn 3.0.5", + "syn 3.0.6", ] [[package]] @@ -2603,7 +2603,7 @@ version = "0.50.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7957b9740744892f114936ab4a57b3f487491bbeafaf8083688b16841a4240e5" dependencies = [ - "windows-sys 0.61.2", + "windows-sys 0.59.0", ] [[package]] @@ -3000,7 +3000,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2bfe0f4c752e450fc2faf62654f1c134747922825d5b04ca717b8874f41a40c0" dependencies = [ "proc-macro2", - "syn 3.0.5", + "syn 3.0.6", ] [[package]] @@ -3120,7 +3120,7 @@ dependencies = [ "once_cell", "socket2", "tracing", - "windows-sys 0.61.2", + "windows-sys 0.59.0", ] [[package]] @@ -3305,7 +3305,7 @@ checksum = "92ecd8964f8453721699a1ed72037b0db49ce2f5a5138486ee89bed6f67cdf3a" dependencies = [ "proc-macro2", "quote", - "syn 3.0.5", + "syn 3.0.6", ] [[package]] @@ -3485,7 +3485,7 @@ dependencies = [ "errno", "libc", "linux-raw-sys 0.12.1", - "windows-sys 0.61.2", + "windows-sys 0.59.0", ] [[package]] @@ -3542,7 +3542,7 @@ dependencies = [ "security-framework", "security-framework-sys", "webpki-root-certs", - "windows-sys 0.61.2", + "windows-sys 0.59.0", ] [[package]] @@ -3745,7 +3745,7 @@ checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348" dependencies = [ "proc-macro2", "quote", - "syn 3.0.5", + "syn 3.0.6", ] [[package]] @@ -4079,9 +4079,9 @@ dependencies = [ [[package]] name = "syn" -version = "3.0.5" +version = "3.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "12df2e0110f65b775f769bb17ef989067a1d931b2eb822bd4346631eeada89f9" +checksum = "8593e8e72159ed2257d083c7a454a85cbf854f37a0966d8d483aff8c8a3ebcee" dependencies = [ "proc-macro2", "quote", @@ -4269,10 +4269,10 @@ 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 1.1.4", - "windows-sys 0.61.2", + "windows-sys 0.59.0", ] [[package]] @@ -4292,7 +4292,7 @@ checksum = "bc04cd3e1236dd4a98afca4569f2deb3f120e5422a4023be2cb683f8486292af" dependencies = [ "proc-macro2", "quote", - "syn 3.0.5", + "syn 3.0.6", ] [[package]] @@ -4385,7 +4385,7 @@ checksum = "78773a2a397f451582ce068015985c33193cf6dea8b74d2a639fe457b2f07b0e" dependencies = [ "proc-macro2", "quote", - "syn 3.0.5", + "syn 3.0.6", ] [[package]] @@ -4477,9 +4477,9 @@ checksum = "7d56353a2a665ad0f41a421187180aab746c8c325620617ad883a99a1cbe66d2" [[package]] name = "topcoat" -version = "0.8.0" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3c199295b1c52e0a9c88a2b0518f6bc7522503cd0bb06d9f4742c515ac4df0a" +checksum = "d2f2d2ade409750d9dd4fa69ab474d63baf313497f2b1919e5d63d22dc31fcd7" dependencies = [ "futures-util", "inventory", @@ -4504,9 +4504,9 @@ dependencies = [ [[package]] name = "topcoat-asset" -version = "0.8.0" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fba199ae779d0409672929e7c32711ac35e87c9e39e0823d0b33b6293e3e0011" +checksum = "134daa7da7b821e2207a67bdf1501ae2013e0a22c68415c530048d607386c1d8" dependencies = [ "http", "memchr", @@ -4522,9 +4522,9 @@ dependencies = [ [[package]] name = "topcoat-cookie" -version = "0.8.0" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3cb0bf2f95c1931d32d579389695e8cf221d114f9629a57fc005d7a0bb459c0d" +checksum = "b32f5506886e33b83422519eebbda0c8eead7e146cf2efc24394418529047d7e" dependencies = [ "cookie", "getrandom 0.2.17", @@ -4537,12 +4537,12 @@ dependencies = [ [[package]] name = "topcoat-core" -version = "0.8.0" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d88c5ed693dd383ba8a4112f5b665bdb7e979ada413a7b5f9ede6935fe18e8e6" +checksum = "7c5ec122218c570f00b4ad6d3cb102e3f8d8054877919f595ce233bc10a1dce8" dependencies = [ - "anyhow", "anymap3", + "base64 0.22.1", "elsa", "http", "pin-project-lite", @@ -4553,32 +4553,32 @@ dependencies = [ [[package]] name = "topcoat-core-grammar" -version = "0.8.0" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce257f5c2248b4d7bf1bbd76a0e71709221f06d690462a49aad5929732c42001" +checksum = "867a7a12e3c543a0046ae9a7d4695aca4674a23938c54f728fbb0e31fe211551" dependencies = [ "proc-macro-crate", "proc-macro2", "quote", - "syn 2.0.119", + "syn 3.0.6", ] [[package]] name = "topcoat-core-macro" -version = "0.8.0" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d239098a8c674f16120e7bfcba6f670865c807eec2a0e2648cb319d300fab39" +checksum = "7ebc6936490c2bdab46dab7deea7e7dfce5094d743b7a16d3f57640ea109e457" dependencies = [ "quote", - "syn 2.0.119", + "syn 3.0.6", "topcoat-core-grammar", ] [[package]] name = "topcoat-font" -version = "0.8.0" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ccc2da492bfdcf2d23d761b60338eb20ad178fd754ef19570abe6030663137d" +checksum = "eadcc0557a6a65481f088326815eb57026f4b7115a656fde5e8254d12ad87b33" dependencies = [ "heck", "inventory", @@ -4593,33 +4593,33 @@ dependencies = [ [[package]] name = "topcoat-font-grammar" -version = "0.8.0" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6125e270bb16bf826a54e4b40b41484682b2b660af4803688887f64a9918745a" +checksum = "167c1fc2f6d4ea890be37eb7881a47af0108904fd39352117049b532525b133d" dependencies = [ "proc-macro2", "quote", - "syn 2.0.119", + "syn 3.0.6", "topcoat-core-grammar", "topcoat-font", ] [[package]] name = "topcoat-font-macro" -version = "0.8.0" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f46d0a9c08e7bf774683c05add490824af80a844f410e6ffc9fdaf00c88d7be" +checksum = "3534caf965e1183186986dfab12669ec3c8bc3aab817170024df24d60fcc3a7a" dependencies = [ "quote", - "syn 2.0.119", + "syn 3.0.6", "topcoat-font-grammar", ] [[package]] name = "topcoat-mail" -version = "0.8.0" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b8fa0e1ad5a4f4419c50b783ac565426df5c30dfa3dc9ca9602c8cd1c3535a3" +checksum = "f8fcd4584f698ab8399dbbe8b38957d77d57b12323dbaccb83bfbafbb1893931" dependencies = [ "lettre", "thiserror", @@ -4631,13 +4631,14 @@ dependencies = [ [[package]] name = "topcoat-router" -version = "0.8.0" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f452945373fac2b61a4050639681829e99afeea872faebc93ef0b03c4211335" +checksum = "ff1ffdf4aea30d4c974d181c8ce0031a08730022cacfc51c88c07a4a94ab162d" dependencies = [ "bytes", "form_urlencoded", "futures-core", + "futures-sink", "futures-util", "heck", "http", @@ -4646,6 +4647,7 @@ dependencies = [ "hyper", "hyper-util", "inventory", + "ipnet", "matchit", "multer", "percent-encoding", @@ -4656,6 +4658,7 @@ dependencies = [ "serde_path_to_error", "serde_urlencoded", "tokio", + "tokio-tungstenite", "topcoat-core", "topcoat-view", "tower", @@ -4664,38 +4667,40 @@ dependencies = [ [[package]] name = "topcoat-router-grammar" -version = "0.8.0" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "188df45ec401d790e3dd84564580c5c436a456331a187bdbfb7441f8e48fa1ca" +checksum = "d61553949e66539fca626f8655d882c5726ab5f0b4aa1a4c081b9ce7174c36c1" dependencies = [ "heck", "proc-macro2", "quote", - "syn 2.0.119", + "syn 3.0.6", "topcoat-core-grammar", ] [[package]] name = "topcoat-router-macro" -version = "0.8.0" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac6f9a61d3ecfe1252b861795070c4317aca6b816382919d9c941eccad2fe42d" +checksum = "14b1828bf8b822ed93342358e4fa5d80975307165fed9ef9972095e69f37af6c" dependencies = [ "quote", - "syn 2.0.119", + "syn 3.0.6", "topcoat-router-grammar", ] [[package]] name = "topcoat-runtime" -version = "0.8.0" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b75367a6fb32878f28bb1e42fe97385c9b14f1d3455b0bb69afb399260a8995a" +checksum = "c4c4dc39a1c6ef6f0f604ecba3949baf401a30b5b44e7b3f830c3509e6b560dd" dependencies = [ - "inventory", + "futures-util", + "pin-project-lite", "ref-cast", "serde", "serde_json", + "tokio", "topcoat-asset", "topcoat-core", "topcoat-router", @@ -4704,36 +4709,37 @@ dependencies = [ [[package]] name = "topcoat-runtime-grammar" -version = "0.8.0" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c19d5cf0ad59525a9fdd0a6ada36448833b39b85602736df16d32712f6c3a3c8" +checksum = "28108d14091f55793d218ff88336b4778365d7db5fd3aaa6dc9c633b50e4cf42" dependencies = [ + "getrandom 0.4.3", "proc-macro2", "quote", "serde", "serde_json", - "syn 2.0.119", + "syn 3.0.6", "topcoat-core-grammar", + "topcoat-router", "topcoat-runtime", - "uuid", ] [[package]] name = "topcoat-runtime-macro" -version = "0.8.0" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3504cd2966788c4cb6f417a9f73faf3ae2631c5aa415bc0d37d142ba597d5c42" +checksum = "1e0254480c5e20c859811e2b805f8d2d5f7656307c7cdec3ab9af6bf1b83c930" dependencies = [ "quote", - "syn 2.0.119", + "syn 3.0.6", "topcoat-runtime-grammar", ] [[package]] name = "topcoat-session" -version = "0.8.0" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d432a276f3d7e4e0af0f9789ee0c919fbfbf8d2025d0dac7f8072a918521cf6d" +checksum = "910543ebbd1691257d784c9c5270802e9c1aa8e1015558e6e6a91ea96612cdc9" dependencies = [ "base64 0.22.1", "getrandom 0.4.3", @@ -4748,11 +4754,10 @@ dependencies = [ [[package]] name = "topcoat-view" -version = "0.8.0" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4acc959c83729cb4b967c2e7de8ee78a2fc3216cceb1be650ee9524fabd26baa" +checksum = "f3d9c5990611483814e265c0bde5687c9fc99fbac346f53a047474f5f1d00483" dependencies = [ - "base64 0.22.1", "futures-core", "futures-util", "http", @@ -4765,26 +4770,26 @@ dependencies = [ [[package]] name = "topcoat-view-grammar" -version = "0.8.0" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa71393a00dba3ce203d3236e24311851134721f5bfae6a17bfacd709a983660" +checksum = "a549cea292c6730460a91dfa43a64d5badfc17217c198e023991b74591a0170e" dependencies = [ "heck", "proc-macro2", "quote", - "syn 2.0.119", + "syn 3.0.6", "topcoat-core-grammar", "topcoat-view", ] [[package]] name = "topcoat-view-macro" -version = "0.8.0" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a625be243364f6674204ba412700d9eed2a1c9168f7add3b1020be4825f0e49" +checksum = "d7a76ea39a7045a551ba08a0e99716f4cb8ef1c96ec4999af2c72e2611a8c928" dependencies = [ "quote", - "syn 2.0.119", + "syn 3.0.6", "topcoat-view-grammar", ] @@ -5171,7 +5176,7 @@ version = "2.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5283634e518fe9e82c7b20520bb4bc209009fd16c82077c802f8111ecbb0117a" dependencies = [ - "rand 0.10.2", + "rand 0.9.5", ] [[package]] @@ -5213,7 +5218,7 @@ checksum = "f153acc4e99a5f2a5aefa09fb078be54e26271b2813f6041200b224c098d8328" dependencies = [ "proc-macro2", "quote", - "syn 3.0.5", + "syn 3.0.6", ] [[package]] @@ -5422,7 +5427,7 @@ dependencies = [ "bumpalo", "proc-macro2", "quote", - "syn 3.0.5", + "syn 3.0.6", "wasm-bindgen-shared", ] @@ -5517,7 +5522,7 @@ version = "0.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22" dependencies = [ - "windows-sys 0.61.2", + "windows-sys 0.59.0", ] [[package]] @@ -5820,7 +5825,7 @@ checksum = "34df6fc39dbd26ddc9c10e6a2984476e13acce22e64e4487636ef494369225da" dependencies = [ "proc-macro2", "quote", - "syn 3.0.5", + "syn 3.0.6", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index 90481d8..f556fa9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,7 +16,7 @@ in-client = { path = "crates/in-client" } # pair the OIDC side already holds. The OIDC half stays gated off — this # app's own `in-client` fork keeps the auth routes, and two route sets in # one binary collide. -im-client = { git = "https://github.com/DizeyLab/im", rev = "5efbd60963c4473264ed765afeed038d4273d791", default-features = false } +im-client = { git = "https://github.com/DizeyLab/im", rev = "204364242ab2f42e24b9d5d8d897abbc37c7f961", default-features = false } serde = { version = "1.0.229", features = ["derive"] } serde_json = "1.0.151" thiserror = "2.0.20" diff --git a/crates/in-client/Cargo.toml b/crates/in-client/Cargo.toml index ba127ea..1d32494 100644 --- a/crates/in-client/Cargo.toml +++ b/crates/in-client/Cargo.toml @@ -7,7 +7,7 @@ repository.workspace = true description = "Drop-in OIDC client for topcoat apps authenticating against im" [dependencies] -topcoat = { version = "0.8.0", default-features = false, features = [ +topcoat = { version = "0.9.0", default-features = false, features = [ "router", "cookie", ] } @@ -35,7 +35,7 @@ reqwest = { version = "0.13.5", default-features = false, features = [ test-seam = [] [dev-dependencies] -topcoat = { version = "0.8.0", default-features = false, features = [ +topcoat = { version = "0.9.0", default-features = false, features = [ "router", "cookie", "view", diff --git a/crates/in-web/Cargo.toml b/crates/in-web/Cargo.toml index 42dbbbf..f518c99 100644 --- a/crates/in-web/Cargo.toml +++ b/crates/in-web/Cargo.toml @@ -7,7 +7,7 @@ repository.workspace = true description = "in web app: topcoat UI, routes and the server" [dependencies] -topcoat = { version = "0.8.0", default-features = false, features = [ +topcoat = { version = "0.9.0", default-features = false, features = [ "router", "view", "runtime",