[package]
edition = "2024"
name = "onnx-runtime-loader"
version = "0.1.0-dev.5"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "ONNX protobuf loader for the ORT 2.0 runtime: model parsing, weight mmap, and shape inference into onnx-runtime-ir"
readme = false
keywords = [
"onnx",
"loader",
"protobuf",
"inference",
"runtime",
]
categories = [
"science",
"parser-implementations",
]
license = "MIT"
repository = "https://github.com/justinchuby/onnx-genai"
resolver = "2"
[lib]
name = "onnx_runtime_loader"
path = "src/lib.rs"
[[test]]
name = "encoder"
path = "tests/encoder.rs"
[[test]]
name = "epcontext"
path = "tests/epcontext.rs"
[[test]]
name = "external_data_paths"
path = "tests/external_data_paths.rs"
[[test]]
name = "function_inline"
path = "tests/function_inline.rs"
[[test]]
name = "ir_container_determinism"
path = "tests/ir_container_determinism.rs"
[[test]]
name = "legality"
path = "tests/legality.rs"
[[test]]
name = "loader"
path = "tests/loader.rs"
[[test]]
name = "writer"
path = "tests/writer.rs"
[dependencies.memmap2]
version = "0.9"
[dependencies.onnx-runtime-ir]
version = "=0.1.0-dev.5"
[dependencies.onnx-runtime-shape-inference]
version = "=0.1.0-dev.5"
[dependencies.onnx-runtime-tracer]
version = "=0.1.0-dev.5"
[dependencies.prost]
version = "0.13"
[dependencies.prost-reflect]
version = "0.14"
features = ["text-format"]
[dependencies.thiserror]
version = "2"
[dev-dependencies.prost]
version = "0.13"
[build-dependencies.prost]
version = "0.13"
[build-dependencies.prost-build]
version = "0.13"
[build-dependencies.protox]
version = "0.7"