Files
rustytorch/demos/rtx-slidescope/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

52 lines
1.2 KiB
TOML

[package]
name = "rtx-slidescope"
version = "0.1.0"
edition = "2024"
description = "GPU-accelerated pathology slide processing with NMF stain unmixing"
license = "MIT OR Apache-2.0"
rust-version = "1.92"
[features]
default = ["cpu"]
cpu = ["rtx-tensor/cpu"]
cuda = ["rtx-tensor/cuda", "dep:cudarc"]
metal = ["rtx-tensor/metal"]
[dependencies]
# RustyTorch++ core tensor library (unified GPU backend)
rtx-tensor = { path = "../../crates/core/rtx-tensor", default-features = false }
# Internal crates
slidescope-shared = { path = "../slidescope-shared" }
# GPU acceleration - CUDA (NVIDIA) - only for direct cudarc access if needed
cudarc = { version = "0.18", features = ["std", "driver", "runtime", "nvrtc", "cublas"], optional = true }
# Math and arrays
ndarray = { version = "0.16", features = ["rayon"] }
rayon = "1.10"
# Image processing
image = { version = "0.25", features = ["tiff", "png", "jpeg"] }
# Random number generation
rand = "0.8"
rand_chacha = "0.3"
# Error handling
anyhow = "1.0"
thiserror = "2"
# Logging
tracing = "0.1"
# Serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
[dev-dependencies]
tokio-test = "0.4"
[lints]
workspace = true