[package]
edition = "2024"
name = "onnx-runtime-memory-api"
version = "0.1.0-dev.6"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Low-dependency memory mechanism contracts shared by allocators, governors, and execution providers"
readme = false
keywords = [
"onnx",
"memory",
"allocator",
"runtime",
"inference",
]
categories = [
"memory-management",
"science",
]
license = "MIT"
repository = "https://github.com/justinchuby/onnx-genai"
resolver = "2"
[lib]
name = "onnx_runtime_memory_api"
path = "src/lib.rs"
[[test]]
name = "binding_registry"
path = "tests/binding_registry.rs"
[[test]]
name = "capability_extensibility"
path = "tests/capability_extensibility.rs"
[[test]]
name = "deferred_release"
path = "tests/deferred_release.rs"
[dependencies.thiserror]
version = "2"
[lints.clippy]
chunks_exact_to_as_chunks = "allow"
uninlined_format_args = "warn"
[lints.rust]
unsafe_op_in_unsafe_fn = "warn"