Remove terminal UI dependencies (ratatui, crossterm) to fix WASM compatibility
This commit is contained in:
29
Cargo.toml
29
Cargo.toml
@@ -45,19 +45,23 @@ chrono = { version = "0.4", features = ["serde"] }
|
|||||||
toml = "0.8"
|
toml = "0.8"
|
||||||
thiserror = "1.0"
|
thiserror = "1.0"
|
||||||
async-trait = "0.1"
|
async-trait = "0.1"
|
||||||
# Crypto dependencies
|
# Crypto dependencies (always included for signature verification)
|
||||||
secp256k1 = { version = "0.28", features = ["recovery", "rand"], optional = true }
|
secp256k1 = { version = "0.28", features = ["recovery", "rand"] }
|
||||||
sha2 = { version = "0.10", optional = true }
|
sha2 = "0.10"
|
||||||
hex = { version = "0.4", optional = true }
|
hex = "0.4"
|
||||||
rand = { version = "0.8", optional = true }
|
rand = "0.8"
|
||||||
# Core hero dependencies
|
# 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 = { git = "https://git.ourworld.tf/herocode/db.git" }
|
||||||
heromodels_core = { 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" }
|
heromodels-derive = { git = "https://git.ourworld.tf/herocode/db.git" }
|
||||||
rhailib_dsl = { git = "https://git.ourworld.tf/herocode/rhailib.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 (used by runner_sal binary)
|
||||||
# SAL modules for system engine
|
|
||||||
sal-os = { git = "https://git.ourworld.tf/herocode/herolib_rust.git" }
|
sal-os = { git = "https://git.ourworld.tf/herocode/herolib_rust.git" }
|
||||||
sal-redisclient = { 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" }
|
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-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-vault = { git = "https://git.ourworld.tf/herocode/herolib_rust.git" }
|
||||||
sal-hetzner = { 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"
|
tracing = "0.1.41"
|
||||||
ratatui = "0.28"
|
|
||||||
crossterm = "0.28"
|
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["calendar", "finance", "crypto"]
|
default = []
|
||||||
|
# Legacy features (kept for compatibility, but not used)
|
||||||
calendar = []
|
calendar = []
|
||||||
finance = []
|
finance = []
|
||||||
flow = []
|
flow = []
|
||||||
legal = []
|
legal = []
|
||||||
projects = []
|
projects = []
|
||||||
biz = []
|
biz = []
|
||||||
crypto = ["secp256k1", "sha2", "hex", "rand"]
|
|
||||||
|
|||||||
Reference in New Issue
Block a user