[package]
name = "rlx-runtime"
version = "0.2.2"
edition.workspace = true
rust-version.workspace = true
description = "RLX runtime — feature-gated backends, session API, compile+execute pipeline"
authors.workspace = true
license.workspace = true
keywords.workspace = true
categories.workspace = true
readme = "README.md"
repository.workspace = true
homepage.workspace = true
documentation.workspace = true
[features]
default = ["cpu"]
cpu = ["dep:rlx-cpu", "rlx-cpu/splat"]
kernel-trace = []
nan-check = []
mock-requests = []
blas-accelerate = ["cpu"]
blas-mkl = ["cpu"]
blas-openblas = ["cpu"]
ane = []
gpu = ["dep:rlx-wgpu", "rlx-wgpu/splat"]
metal = ["dep:rlx-metal", "rlx-cpu/splat"]
mlx = ["dep:rlx-mlx", "rlx-cpu/splat"]
apple = ["metal", "mlx", "gpu"]
cuda = ["dep:rlx-cuda", "rlx-cpu/splat"]
rocm = ["dep:rlx-rocm", "rlx-cpu/splat"]
tpu = ["dep:rlx-tpu", "rlx-cpu/splat"]
vulkan = ["gpu"]
opengl = []
directx = []
webgpu = []
[dependencies]
rlx-ir = { path = "../rlx-ir", version = "0.2.2", features = ["serialize"] }
rlx-opt = { path = "../rlx-opt", version = "0.2.2" }
rlx-driver = { path = "../rlx-driver", version = "0.2.1" }
rlx-cpu = { path = "../rlx-cpu", version = "0.2.3", optional = true }
rlx-metal = { path = "../rlx-metal", version = "0.2.2", optional = true }
rlx-mlx = { path = "../rlx-mlx", version = "0.2.2", optional = true }
rlx-wgpu = { path = "../rlx-wgpu", version = "0.2.3", optional = true }
rlx-cuda = { path = "../rlx-cuda", version = "0.2.2", optional = true }
rlx-rocm = { path = "../rlx-rocm", version = "0.2.2", optional = true }
rlx-tpu = { path = "../rlx-tpu", version = "0.2.2", optional = true }
rlx-macros = { path = "../rlx-macros", version = "0.2.1" }
half = "2"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
[dev-dependencies]
rlx-autodiff = { path = "../rlx-autodiff", version = "0.2.2" }
rlx-compile = { path = "../rlx-compile", version = "0.2.2", features = ["training"] }
rlx-splat = { path = "../rlx-splat", version = "0.2.1", default-features = false, features = ["test-support", "io"] }
rlx-sparse = { path = "../rlx-sparse", version = "0.2.1", default-features = false, features = ["cpu"] }
rlx-linalg = { path = "../rlx-linalg", version = "0.2.1" }
rlx-gguf = { path = "../rlx-gguf", version = "0.2.1" }
anyhow = "1"
half = "2"
[lints]
workspace = true
[[example]]
name = "splat_decomposed_session"
required-features = ["cpu"]
[[example]]
name = "splat_render_ply_session"
required-features = ["cpu"]
[[example]]
name = "splat_common_splat_session"
required-features = ["cpu"]
[package.metadata.docs.rs]
features = ["cpu", "gpu"]
rustdoc-args = ["--cfg", "docsrs"]
all-features = false