Files
rustytorch/crates/models/rtx-vision/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

58 lines
1.0 KiB
TOML

[package]
name = "rtx-vision"
version = "1.0.0"
edition.workspace = true
rust-version = "1.92"
authors = ["RustyTorch++ Team"]
license = "Apache-2.0"
description = "Vision Transformers and computer vision models for RustyTorch++"
repository = "https://github.com/rustytorch/rustytorch"
[dependencies]
# RTX crates
rtx-tensor = { path = "../../core/rtx-tensor" }
# Core utilities
anyhow = "1.0"
thiserror = "2"
tracing = "0.1"
# Image processing
image = "0.24"
imageproc = "0.23"
# Numeric computing
ndarray = "0.15"
nalgebra.workspace = true
num-traits = "0.2"
half = "2.3"
rand = "0.8"
rand_distr = "0.4"
# Serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
bincode = "1.3"
# Mock dependencies are handled internally
[dev-dependencies]
# Testing framework
proptest = "1.4"
criterion = "0.5"
approx = "0.5"
tempfile = "3.8"
# Async for integration tests
tokio = { version = "1.35", features = ["full"] }
[features]
default = ["mock-tensor"]
mock-tensor = []
[lib]
name = "rtx_vision"
path = "src/lib.rs"
[lints]
workspace = true