[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