[package] name = "rtx-onnx" version.workspace = true edition.workspace = true authors.workspace = true license.workspace = true description = "ONNX Runtime integration for RustyTorch++ inference" repository.workspace = true [dependencies] # ONNX Runtime Rust bindings ort.workspace = true # Internal RTX crates rtx-tensor = { workspace = true, features = ["cpu"] } rtx-runtime = { workspace = true } # Tensor data conversion ndarray.workspace = true # Error handling thiserror.workspace = true anyhow.workspace = true # Async support tokio.workspace = true async-trait.workspace = true # Serialization serde.workspace = true # Logging tracing.workspace = true [dev-dependencies] tokio-test.workspace = true tempfile.workspace = true [features] default = ["cpu"] cpu = [] cuda = ["ort/cuda"] coreml = ["ort/coreml"] tensorrt = ["ort/tensorrt"] directml = ["ort/directml"] # Download ONNX Runtime binaries automatically download-binaries = ["ort/download-binaries"] [lints] workspace = true