52 lines
1.2 KiB
TOML
52 lines
1.2 KiB
TOML
[package]
|
|
name = "rtx-runtime"
|
|
version = "1.0.0"
|
|
edition.workspace = true
|
|
rust-version = "1.92"
|
|
authors.workspace = true
|
|
license.workspace = true
|
|
description = "RustyTorch++ GPU runtime system"
|
|
repository.workspace = true
|
|
keywords = ["runtime", "gpu", "cuda", "execution"]
|
|
categories = ["development-tools"]
|
|
|
|
[dependencies]
|
|
# Core dependencies
|
|
anyhow.workspace = true
|
|
thiserror.workspace = true
|
|
tracing.workspace = true
|
|
|
|
# Memory and synchronization
|
|
parking_lot = "0.12"
|
|
once_cell = "1.19"
|
|
bitfield-struct = "0.6"
|
|
|
|
# Numerical types
|
|
bytemuck = "1.14"
|
|
|
|
# CUDA integration (optional - only needed on systems with NVIDIA GPUs)
|
|
cudarc = { workspace = true, optional = true }
|
|
|
|
[dev-dependencies]
|
|
proptest.workspace = true
|
|
criterion.workspace = true
|
|
rand = "0.8"
|
|
static_assertions = "1.1"
|
|
tokio.workspace = true
|
|
|
|
# Metal GPU support for Apple Silicon (macOS only)
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
|
objc2 = { version = "0.6", optional = true }
|
|
objc2-foundation = { version = "0.3", optional = true }
|
|
objc2-metal = { version = "0.3", optional = true }
|
|
|
|
[features]
|
|
default = []
|
|
cuda = ["cudarc"]
|
|
rocm = []
|
|
metal = ["objc2", "objc2-foundation", "objc2-metal"]
|
|
|
|
|
|
[lints]
|
|
workspace = true
|