kapsl-backends 0.1.0

Pluggable inference backends (ONNX, llama.cpp) for the Kapsl engine
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 = "2021"
name = "kapsl-backends"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pluggable inference backends (ONNX, llama.cpp) for the Kapsl engine"
readme = false
license = "Apache-2.0"
repository = "https://github.com/kapsl-runtime/kapsl-sdk"

[lib]
name = "kapsl_backends"
path = "src/lib.rs"

[dependencies.async-trait]
version = "0.1.89"

[dependencies.futures]
version = "0.3"

[dependencies.half]
version = "2.0"

[dependencies.kapsl-core]
version = "0.1.0"

[dependencies.kapsl-engine-api]
version = "0.1.0"

[dependencies.kapsl-hal]
version = "0.1.0"

[dependencies.kapsl-llm]
version = "0.1.0"
features = ["gguf"]

[dependencies.log]
version = "0.4"

[dependencies.lru]
version = "0.12"

[dependencies.ndarray]
version = "0.17"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.thiserror]
version = "1.0"

[dependencies.tokio]
version = "1"
features = [
    "sync",
    "rt",
    "macros",
]

[target."cfg(not(windows))".dependencies.ort]
version = "=2.0.0-rc.11"
features = [
    "download-binaries",
    "cuda",
    "tensorrt",
    "rocm",
    "coreml",
    "openvino",
    "half",
    "ndarray",
]

[target."cfg(windows)".dependencies.ort]
version = "=2.0.0-rc.11"
features = [
    "download-binaries",
    "directml",
    "cuda",
    "tensorrt",
    "rocm",
    "coreml",
    "openvino",
    "half",
    "ndarray",
]