tl_runtime 0.3.8

Runtime library for TL differentiable programming language
# 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 = "tl_runtime"
version = "0.3.8"
authors = ["Jun Suzuki"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Runtime library for TL differentiable programming language"
readme = "README.md"
keywords = [
    "machine-learning",
    "deep-learning",
    "tensor",
    "runtime",
]
categories = [
    "science",
    "mathematics",
]
license = "MIT"
repository = "https://github.com/JunSuzukiJapan/tl"

[features]
cuda = ["dep:tl_cuda"]
default = ["metal"]
metal = ["dep:tl_metal"]

[lib]
name = "tl_runtime"
crate-type = [
    "staticlib",
    "rlib",
]
path = "src/lib.rs"

[[test]]
name = "gguf_test"
path = "tests/gguf_test.rs"

[dependencies.byteorder]
version = "1.5"

[dependencies.gguf-rs]
version = "0.1.5"

[dependencies.half]
version = "2.7.1"

[dependencies.image]
version = "0.25"

[dependencies.libc]
version = "0.2.178"

[dependencies.log]
version = "0.4"

[dependencies.memmap2]
version = "0.9.9"

[dependencies.once_cell]
version = "1.18.0"

[dependencies.rand]
version = "0.8.5"

[dependencies.reqwest]
version = "0.13.1"
features = [
    "blocking",
    "json",
    "multipart",
    "native-tls",
    "http2",
]
default-features = false

[dependencies.safetensors]
version = "0.4.1"

[dependencies.tl_backend]
version = "0.3.8"

[dependencies.tl_cpu]
version = "0.3.8"

[dependencies.tl_cuda]
version = "0.3.8"
optional = true

[dependencies.tl_metal]
version = "0.3.8"
optional = true

[dependencies.tokenizers]
version = "0.19.1"

[dependencies.tokio]
version = "1.48.0"
features = ["full"]

[build-dependencies.cc]
version = "1.0"