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.
42 lines
1.1 KiB
TOML
42 lines
1.1 KiB
TOML
[package]
|
|
name = "rtx-medical-core"
|
|
version = "1.0.0"
|
|
edition = "2024"
|
|
description = "Unified medical imaging super-crate consolidating I/O formats and volume handling"
|
|
license = "MIT OR Apache-2.0"
|
|
authors = ["RustyTorch Contributors"]
|
|
repository = "https://github.com/rustystack/rustytorch"
|
|
|
|
[features]
|
|
default = ["volume", "nifti"]
|
|
volume = []
|
|
nifti = ["dep:byteorder", "dep:memmap2", "dep:flate2"]
|
|
dicom = ["dep:dicom", "dep:dicom-object"]
|
|
gpu = ["dep:rtx-tensor"]
|
|
full = ["volume", "nifti", "dicom", "gpu"]
|
|
|
|
[dependencies]
|
|
thiserror = "2"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
nalgebra = { workspace = true }
|
|
rayon = { workspace = true }
|
|
|
|
# NIfTI dependencies
|
|
byteorder = { version = "1.5", optional = true }
|
|
memmap2 = { version = "0.9", optional = true }
|
|
flate2 = { version = "1.0", optional = true }
|
|
|
|
# DICOM dependencies
|
|
dicom = { version = "0.6", optional = true }
|
|
dicom-object = { version = "0.6", optional = true }
|
|
|
|
# GPU dependencies
|
|
rtx-tensor = { workspace = true, optional = true }
|
|
|
|
[dev-dependencies]
|
|
tempfile = "3.13"
|
|
serde_json = { workspace = true }
|
|
|
|
[lints]
|
|
workspace = true
|