From 2ea963ddf587f6b0cfa1436d2796e8fb8df820ce Mon Sep 17 00:00:00 2001 From: Timur Gordon <31495328+timurgordon@users.noreply.github.com> Date: Mon, 3 Nov 2025 14:14:02 +0100 Subject: [PATCH] Remove terminal UI dependencies (ratatui, crossterm) to fix WASM compatibility --- Cargo.toml | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index ad1d1ff..439632f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -45,19 +45,23 @@ chrono = { version = "0.4", features = ["serde"] } toml = "0.8" thiserror = "1.0" async-trait = "0.1" -# Crypto dependencies -secp256k1 = { version = "0.28", features = ["recovery", "rand"], optional = true } -sha2 = { version = "0.10", optional = true } -hex = { version = "0.4", optional = true } -rand = { version = "0.8", optional = true } +# Crypto dependencies (always included for signature verification) +secp256k1 = { version = "0.28", features = ["recovery", "rand"] } +sha2 = "0.10" +hex = "0.4" +rand = "0.8" # Core hero dependencies +hero_logger = { git = "https://git.ourworld.tf/herocode/baobab.git", branch = "logger" } + +# Osiris dependencies (used by runner_osiris binary) +osiris = { path = "../osiris" } +# osiris = { git = "https://git.ourworld.tf/herocode/osiris.git" } heromodels = { git = "https://git.ourworld.tf/herocode/db.git" } heromodels_core = { git = "https://git.ourworld.tf/herocode/db.git" } heromodels-derive = { git = "https://git.ourworld.tf/herocode/db.git" } rhailib_dsl = { git = "https://git.ourworld.tf/herocode/rhailib.git" } -hero_logger = { git = "https://git.ourworld.tf/herocode/baobab.git", branch = "logger" } -osiris = { git = "https://git.ourworld.tf/herocode/osiris.git" } -# SAL modules for system engine + +# SAL modules (used by runner_sal binary) sal-os = { git = "https://git.ourworld.tf/herocode/herolib_rust.git" } sal-redisclient = { git = "https://git.ourworld.tf/herocode/herolib_rust.git" } sal-postgresclient = { git = "https://git.ourworld.tf/herocode/herolib_rust.git" } @@ -72,17 +76,16 @@ sal-kubernetes = { git = "https://git.ourworld.tf/herocode/herolib_rust.git" } # sal-service-manager = { git = "https://git.ourworld.tf/herocode/herolib_rust.git" } # Removed - in _archive sal-vault = { git = "https://git.ourworld.tf/herocode/herolib_rust.git" } sal-hetzner = { git = "https://git.ourworld.tf/herocode/herolib_rust.git" } -# TUI dependencies (from actor_osis) + +# Tracing (used for logging) tracing = "0.1.41" -ratatui = "0.28" -crossterm = "0.28" [features] -default = ["calendar", "finance", "crypto"] +default = [] +# Legacy features (kept for compatibility, but not used) calendar = [] finance = [] flow = [] legal = [] projects = [] biz = [] -crypto = ["secp256k1", "sha2", "hex", "rand"]