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.
63 lines
2.1 KiB
TOML
63 lines
2.1 KiB
TOML
[package]
|
|
name = "rtx-rustybooks"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
description = "Integration bridge between RustyBooks GPU crates and RustyTorch ML framework"
|
|
license = "MIT OR Apache-2.0"
|
|
repository = "https://github.com/rustytorch/rustytorch"
|
|
|
|
[dependencies]
|
|
# RustyBooks GPU crates - REMOVED (rustybooks merged into horizon)
|
|
# gpu-direct = { path = "../../../../rustybooks/crates/gpu/gpu-direct", optional = true }
|
|
# tensor-accelerator = { path = "../../../../rustybooks/crates/gpu/tensor-accelerator", optional = true }
|
|
# gpu-profiler = { path = "../../../../rustybooks/crates/gpu/gpu-profiler", optional = true }
|
|
|
|
# Core dependencies
|
|
tokio = { version = "1.38", features = ["rt", "sync", "fs"] }
|
|
thiserror = "2"
|
|
anyhow = "1.0"
|
|
parking_lot = "0.12"
|
|
tracing = "0.1"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
|
|
# Async support
|
|
async-trait = "0.1"
|
|
futures = "0.3"
|
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
|
objc2 = { version = "0.6", optional = true }
|
|
objc2-metal = { version = "0.3", optional = true }
|
|
|
|
[dev-dependencies]
|
|
criterion = { version = "0.5", features = ["html_reports"] }
|
|
tempfile = "3.10"
|
|
|
|
[features]
|
|
default = []
|
|
# NOTE: rustybooks GPU crates removed - features disabled until replacements available
|
|
# Direct storage integration (gpu-direct) - DISABLED
|
|
# direct-storage = ["gpu-direct"]
|
|
# direct-storage-metal = ["direct-storage", "gpu-direct/metal", "objc2", "objc2-metal"]
|
|
# direct-storage-cuda = ["direct-storage", "gpu-direct/cuda"]
|
|
# Profiling integration (gpu-profiler) - DISABLED
|
|
# profiling = ["gpu-profiler"]
|
|
# profiling-metal = ["profiling", "gpu-profiler/metal"]
|
|
# profiling-cuda = ["profiling", "gpu-profiler/cuda"]
|
|
# TMA integration (tensor-accelerator) - DISABLED
|
|
# tma = ["tensor-accelerator"]
|
|
# tma-metal = ["tma", "tensor-accelerator/metal"]
|
|
# tma-cuda = ["tma", "tensor-accelerator/cuda13"]
|
|
# Convenience bundles - DISABLED
|
|
# metal = ["direct-storage-metal", "profiling-metal", "tma-metal"]
|
|
# cuda = ["direct-storage-cuda", "profiling-cuda", "tma-cuda"]
|
|
# full = ["metal", "cuda"]
|
|
|
|
# Benchmarks will be added later
|
|
# [[bench]]
|
|
# name = "integration_bench"
|
|
# harness = false
|
|
|
|
[lints]
|
|
workspace = true
|