Files
rustytorch/demos/ui/src-tauri/Cargo.toml
T
Omar Sobh 16161bb9df deps: align all 56 per-crate Cargo.toml files to thiserror v2
The workspace root was upgraded to thiserror = "2" in an earlier commit,
but 56 per-crate Cargo.toml files still independently declared "1.0".
These crates do not use workspace.dependencies inheritance for thiserror.
All updated to thiserror = "2" for complete fleet alignment.

Includes: rtx-backend, rtx-tensor, rtx-losses, rtx-backend-cuda/rocm/metal,
all training crates (rtx-auto, rtx-rl, rtx-distributed, rtx-federated, etc.),
specialized crates (rtx-science, rtx-platform, rtx-nmf, rtx-neuro-*),
production crates (rtx-streaming, rtx-serving-api), and all demo crates.

cargo check --workspace: PASSES.
2026-04-26 11:45:14 -07:00

116 lines
4.5 KiB
TOML

[package]
name = "rtx-hemodynamics-ui"
version = "1.0.0"
description = "RustyTorch++ Virtual Catheter - Hemodynamics PINN Demo"
authors = ["RustyTorch Team"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/rustytorch/rustytorch"
edition = "2024"
rust-version = "1.92"
[lib]
name = "rtx_hemodynamics_ui_lib"
crate-type = ["staticlib", "cdylib", "rlib"]
[build-dependencies]
tauri-build = { version = "2.5.3", features = [] }
[dependencies]
# Tauri framework
tauri = { version = "2.9.5", features = [] }
tauri-plugin-log = "2"
# Serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
# Logging
log = "0.4"
tracing = "0.1"
# Async runtime
tokio = { version = "1.0", features = ["rt-multi-thread", "macros", "sync"] }
# Error handling
thiserror = "2"
# RustyTorch++ hemodynamics crates (relative paths to workspace)
rtx-hemodynamics-shared = { path = "../../shared" }
rtx-hemodynamics = { path = "../../rtx-hemodynamics", default-features = false, features = ["cpu", "metal"] }
rtx-hemodynamics-server = { path = "../../server" }
# RustyTorch++ core for device detection
rtx-tensor = { path = "../../../crates/core/rtx-tensor", default-features = false, features = ["cpu", "metal"] }
# RustyTorch++ MRE elastography crates
mre-shared = { path = "../../mre-shared" }
rtx-mre = { path = "../../rtx-mre", default-features = false, features = ["cpu", "metal"] }
# RustyTorch++ Thermal Ablation Bioheat crates
bioheat-shared = { path = "../../bioheat-shared" }
rtx-bioheat = { path = "../../rtx-bioheat", default-features = false, features = ["cpu", "metal"] }
# RustyTorch++ SlideScope pathology crates
slidescope-shared = { path = "../../slidescope-shared" }
rtx-slidescope = { path = "../../rtx-slidescope", default-features = false, features = ["cpu", "metal"] }
# RustyTorch++ Neural Operator demo crates
rtx-neural-operator-shared = { path = "../../neural-operator-shared" }
rtx-neural-operator-demo = { path = "../../rtx-neural-operator-demo" }
# RustyTorch++ PIDDM demo crates
rtx-piddm-shared = { path = "../../piddm-shared" }
rtx-piddm-demo = { path = "../../rtx-piddm-demo" }
# RustyTorch++ Digital Twin demo crates
rtx-digital-twin-shared = { path = "../../digital-twin-shared" }
rtx-digital-twin-demo = { path = "../../rtx-digital-twin-demo" }
# RustyTorch++ Image Classifier demo crates
image-classifier-shared = { path = "../../image-classifier-shared" }
rtx-image-classifier-demo = { path = "../../rtx-image-classifier-demo" }
# RustyTorch++ Time Series Forecast demo crates
timeseries-shared = { path = "../../timeseries-shared" }
rtx-timeseries-demo = { path = "../../rtx-timeseries-demo" }
# RustyTorch++ Portfolio Optimizer demo crates
portfolio-shared = { path = "../../portfolio-shared" }
rtx-portfolio-demo = { path = "../../rtx-portfolio-demo" }
# RustyTorch++ Risk Analyzer demo crates
risk-analyzer-shared = { path = "../../risk-analyzer-shared" }
rtx-risk-analyzer = { path = "../../rtx-risk-analyzer" }
# RustyTorch++ PINN Benchmark demo crates
pinn-benchmark-shared = { path = "../../pinn-benchmark-shared" }
rtx-pinn-benchmark = { path = "../../rtx-pinn-benchmark" }
# RustyTorch++ Neuro MEG/EEG analysis crates
rtx-neuro = { path = "../../../crates/specialized/rtx-neuro" }
rtx-neuro-io = { path = "../../../crates/specialized/rtx-neuro-io" }
rtx-neuro-signal = { path = "../../../crates/specialized/rtx-neuro-signal" }
rtx-neuro-forward = { path = "../../../crates/specialized/rtx-neuro-forward" }
rtx-neuro-inverse = { path = "../../../crates/specialized/rtx-neuro-inverse" }
rtx-neuro-connectivity = { path = "../../../crates/specialized/rtx-neuro-connectivity" }
rtx-neuro-stats = { path = "../../../crates/specialized/rtx-neuro-stats" }
rtx-neuro-anatomy = { path = "../../../crates/specialized/rtx-neuro-anatomy" }
rtx-neuro-db = { path = "../../../crates/specialized/rtx-neuro-db" }
rtx-neuro-lsl = { path = "../../../crates/specialized/rtx-neuro-lsl" }
rtx-neuro-realtime = { path = "../../../crates/specialized/rtx-neuro-realtime" }
rtx-neuro-artifacts = { path = "../../../crates/specialized/rtx-neuro-artifacts" }
rtx-neuro-gnn = { path = "../../../crates/specialized/rtx-neuro-gnn" }
rtx-neuro-pinn = { path = "../../../crates/specialized/rtx-neuro-pinn" }
rtx-neuro-fem = { path = "../../../crates/specialized/rtx-neuro-fem" }
# Additional math dependencies for neuro processing
ndarray = { version = "0.16", features = ["serde"] }
nalgebra = { version = "0.33", features = ["serde-serialize"] }
[dev-dependencies]
tokio-test = "0.4"
[features]
default = ["custom-protocol"]
custom-protocol = ["tauri/custom-protocol"]