Remove terminal UI dependencies (ratatui, crossterm) to fix WASM compatibility

This commit is contained in:
Timur Gordon
2025-11-03 14:14:02 +01:00
parent 0588b2736b
commit 2ea963ddf5

View File

@@ -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"]