onnx-runtime-loader 0.1.0-dev.4

ONNX protobuf loader for the ORT 2.0 runtime: model parsing, weight mmap, and shape inference into onnx-runtime-ir
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "onnx-runtime-loader"
version = "0.1.0-dev.4"
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.4"

[dependencies.onnx-runtime-shape-inference]
version = "=0.1.0-dev.4"

[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"