38 lines
934 B
TOML
38 lines
934 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 = "1.0"
|
|
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
|