[package]
edition = "2021"
rust-version = "1.70"
name = "hmll-sys"
version = "0.1.0-rc.1"
authors = [
"Morgan Funtowicz <morgan@huggingface.co>",
"Luc Georges <luc@huggingface.co>",
]
build = "build.rs"
links = "hmll"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Low-level FFI bindings to the hmll library for high-performance ML model loading"
homepage = "https://github.com/huggingface/hmll"
documentation = "https://docs.rs/hmll-sys"
readme = "README.md"
keywords = [
"ffi",
"bindings",
"ml",
"machine-learning",
"huggingface",
]
categories = [
"external-ffi-bindings",
"science",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/huggingface/hmll"
[features]
cuda = []
default = [
"vendored",
"io_uring",
]
io_uring = []
safetensors = []
vendored = ["cmake"]
[lib]
name = "hmll_sys"
path = "src/lib.rs"
[dependencies]
[build-dependencies.bindgen]
version = "0.72.1"
[build-dependencies.cmake]
version = "0.1"
optional = true
[build-dependencies.pkg-config]
version = "0.3"
[profile.bench]
opt-level = 3
lto = "fat"
codegen-units = 1
inherits = "release"
[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
strip = true