From ec16930569c9d05d5e88719a798f22be24f0a04a Mon Sep 17 00:00:00 2001 From: Priec Date: Sat, 3 Jan 2026 09:06:35 +0100 Subject: [PATCH] completely redesigned core of the tui, not migrated everything yet, but very close --- Cargo.lock | 24 ++++++++++++++++++++++-- canvas | 2 +- client | 2 +- flake.nix | 1 + 4 files changed, 25 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 29a1f0c..ea9cd9e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -601,6 +601,8 @@ dependencies = [ "rstest", "serde", "serde_json", + "strum 0.27.2", + "strum_macros 0.27.2", "time", "tokio", "tokio-test", @@ -2749,7 +2751,7 @@ dependencies = [ "itertools 0.13.0", "lru", "paste", - "strum", + "strum 0.26.3", "unicode-segmentation", "unicode-truncate", "unicode-width 0.2.0", @@ -3736,9 +3738,15 @@ version = "0.26.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8fec0f0aef304996cf250b31b5a10dee7980c85da9d759361292b8bca5a18f06" dependencies = [ - "strum_macros", + "strum_macros 0.26.4", ] +[[package]] +name = "strum" +version = "0.27.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "af23d6f6c1a224baef9d3f61e287d2761385a5b88fdab4eb4c6f11aeb54c4bcf" + [[package]] name = "strum_macros" version = "0.26.4" @@ -3752,6 +3760,18 @@ dependencies = [ "syn 2.0.104", ] +[[package]] +name = "strum_macros" +version = "0.27.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7695ce3845ea4b33927c055a39dc438a45b059f7c1b3d91d38d10355fb8cbca7" +dependencies = [ + "heck", + "proc-macro2", + "quote", + "syn 2.0.104", +] + [[package]] name = "subtle" version = "2.6.1" diff --git a/canvas b/canvas index 6f1cda3..7ddd26f 160000 --- a/canvas +++ b/canvas @@ -1 +1 @@ -Subproject commit 6f1cda36d86f689fc03fd9978f3259d9a79a80b7 +Subproject commit 7ddd26f0e72f3f8e4b89f2d86f0f023f5d3e35a7 diff --git a/client b/client index aa55582..3dc9c72 160000 --- a/client +++ b/client @@ -1 +1 @@ -Subproject commit aa555822ba17c83f2c8afed3e97c7b06dae56450 +Subproject commit 3dc9c7262fc6c1def6672168c3502f6a1cc7d60a diff --git a/flake.nix b/flake.nix index 6e44b6e..2ba4302 100644 --- a/flake.nix +++ b/flake.nix @@ -14,6 +14,7 @@ { devShells.default = pkgs.mkShell { buildInputs = with pkgs; [ + mermaid-cli # Rust toolchain rustc cargo