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.
48 lines
1.4 KiB
TOML
48 lines
1.4 KiB
TOML
[package]
|
|
name = "rtx-hemodynamics"
|
|
version = "1.0.0"
|
|
edition = "2024"
|
|
rust-version = "1.92"
|
|
description = "GPU-accelerated Physics-Informed Neural Network for hemodynamics simulation"
|
|
authors = ["RustyTorch Team"]
|
|
license = "MIT OR Apache-2.0"
|
|
repository = "https://github.com/rustytorch/rustytorch"
|
|
keywords = ["pinn", "hemodynamics", "navier-stokes", "cfd", "medical"]
|
|
categories = ["science", "simulation", "mathematics"]
|
|
|
|
[dependencies]
|
|
# RustyTorch++ core crates
|
|
rtx-tensor = { path = "../../crates/core/rtx-tensor", default-features = false }
|
|
rtx-autograd = { path = "../../crates/core/rtx-autograd" }
|
|
rtx-nn = { path = "../../crates/core/rtx-nn", default-features = false }
|
|
rtx-losses = { path = "../../crates/core/rtx-losses" }
|
|
rtx-runtime = { path = "../../crates/core/rtx-runtime", optional = true }
|
|
|
|
# Shared types for IPC
|
|
rtx-hemodynamics-shared = { path = "../shared" }
|
|
|
|
# External dependencies
|
|
anyhow = "1.0"
|
|
thiserror = "2"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
cudarc = { version = "0.18.1", optional = true }
|
|
|
|
[dev-dependencies]
|
|
# Testing
|
|
proptest = "1.4"
|
|
approx = "0.5"
|
|
criterion = { version = "0.5", features = ["html_reports"] }
|
|
tempfile = "3.0"
|
|
|
|
[features]
|
|
default = ["cpu", "openblas", "metal"]
|
|
cuda = ["rtx-tensor/cuda", "rtx-nn/cuda", "rtx-runtime", "cudarc"]
|
|
metal = ["rtx-tensor/metal", "rtx-nn/metal"]
|
|
cpu = ["rtx-tensor/cpu"]
|
|
openblas = ["rtx-tensor/openblas"]
|
|
mkl = ["rtx-tensor/mkl"]
|
|
|
|
[lints]
|
|
workspace = true
|