[package] name = "rtx-vision-advanced" version = "1.0.0" edition.workspace = true rust-version = "1.92" authors = ["RustyTorch++ Team"] license = "Apache-2.0" description = "State-of-the-art computer vision capabilities with medical imaging, autonomous vehicle support, and production-ready deployment" repository = "https://github.com/rustytorch/rustytorch" [dependencies] # Core RTX dependencies rtx-tensor = { path = "../../core/rtx-tensor" } rtx-autograd = { path = "../../core/rtx-autograd" } rtx-transformers = { path = "../../training/rtx-transformers" } rtx-flash-attention = { path = "../../training/rtx-flash-attention" } rtx-vision = { path = "../rtx-vision" } rtx-memory = { path = "../../core/rtx-memory" } rtx-inference = { path = "../../production/rtx-inference" } # Core utilities anyhow = "1.0" thiserror = "2" tracing = "0.1" log = "0.4" # Image processing and computer vision image = "0.24" imageproc = "0.23" opencv = { version = "0.84", optional = true } rerun = { version = "0.16", optional = true } # Transitive-dependency version cap: rerun/kiddo pull `fixed`, whose 1.31.0 bumped its # MSRV to rustc 1.93 (uses unstable `unchecked_shifts`). This workspace pins # nightly-2025-10-25 (rustc 1.92), so cap `fixed` at the last 1.92-compatible release. fixed = "=1.30.0" # Medical imaging dicom = { version = "0.6", optional = true } dicom-object = { version = "0.6", optional = true } # Point cloud processing for autonomous vehicles pcd-rs = { version = "0.1", optional = true } las = { version = "0.7", optional = true } nalgebra.workspace = true nalgebra-glm = "0.18" # Advanced numeric computing ndarray = "0.15" ndarray-stats = "0.5" ndarray-linalg = { version = "0.16", optional = true } num-traits = "0.2" half = "2.3" rand = "0.8" rand_distr = "0.4" # Machine learning utilities # candle-core = { version = "0.3", optional = true } # Disabled - incompatible with Rust 2024 # candle-nn = { version = "0.3", optional = true } # Disabled - incompatible with Rust 2024 ort = { workspace = true, optional = true } # tch = { version = "0.13", optional = true } # Removed: PyTorch dependency # Serialization and I/O serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" bincode = "1.3" hdf5 = { version = "0.8", optional = true } # npy removed - was unused and brought in outdated nom 3.2.1 # Use npyz or ndarray-npy if .npy file support needed # Concurrency and async tokio = { version = "1.35", features = ["full"] } rayon = "1.8" crossbeam = "0.8" parking_lot = "0.12" # GPU computing and optimization - using workspace cudarc 0.18.1 cudarc = { workspace = true, optional = true } wgpu = { version = "0.19", optional = true } metal = { version = "0.27", optional = true } # Network models and pre-trained weights safetensors = "0.4" memmap2 = "0.9" reqwest = { version = "0.11", features = ["json", "stream"] } futures = "0.3" # Evaluation and benchmarking criterion = { version = "0.5", optional = true } indicatif = "0.17" console = "0.15" # Geometric and mathematical operations geo = { version = "0.26", optional = true } rstar = { version = "0.10", optional = true } kiddo = { version = "4.0", optional = true } [dev-dependencies] # Testing framework proptest = "1.4" criterion = "0.5" approx = "0.5" tempfile = "3.8" tokio-test = "0.4" # Benchmarking divan = "0.1" [features] default = [] gpu = ["cudarc", "wgpu"] cuda = ["cudarc"] metal = ["dep:metal"] opencv = ["dep:opencv"] autonomous = ["pcd-rs", "las", "geo", "rstar", "kiddo"] onnx = ["ort"] linalg = ["ndarray-linalg"] # BLAS-dependent linear algebra (requires system BLAS) # pytorch = ["tch"] # Removed: PyTorch feature no longer available # candle = ["candle-core", "candle-nn"] # Disabled - incompatible with Rust 2024 visualization = ["rerun"] benchmarks = ["criterion"] [lib] name = "rtx_vision_advanced" path = "src/lib.rs" [[bench]] name = "detection_bench" harness = false required-features = ["benchmarks"] [[bench]] name = "segmentation_bench" harness = false required-features = ["benchmarks"] [[bench]] name = "medical_bench" harness = false required-features = ["benchmarks", "medical"] [[bench]] name = "autonomous_bench" harness = false required-features = ["benchmarks", "autonomous"] [lints] workspace = true