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.
38 lines
932 B
TOML
38 lines
932 B
TOML
[package]
|
|
name = "rtx-mre"
|
|
version = "1.0.0"
|
|
edition = "2024"
|
|
rust-version = "1.92"
|
|
description = "MRE elastography inverse solver using Physics-Informed Neural Networks"
|
|
license = "MIT OR Apache-2.0"
|
|
readme = "README.md"
|
|
|
|
[dependencies]
|
|
# RustyTorch++ core crates
|
|
rtx-tensor = { path = "../../crates/core/rtx-tensor", default-features = false }
|
|
rtx-nn = { path = "../../crates/core/rtx-nn", default-features = false }
|
|
|
|
# Shared types
|
|
mre-shared = { path = "../mre-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 }
|
|
rand = "0.8"
|
|
|
|
[dev-dependencies]
|
|
approx = "0.5"
|
|
|
|
[features]
|
|
default = ["cpu", "openblas", "metal"]
|
|
cuda = ["rtx-tensor/cuda", "rtx-nn/cuda", "cudarc"]
|
|
metal = ["rtx-tensor/metal", "rtx-nn/metal"]
|
|
cpu = ["rtx-tensor/cpu"]
|
|
openblas = ["rtx-tensor/openblas"]
|
|
|
|
[lints]
|
|
workspace = true
|