hmll-sys 0.1.0-rc.1

Low-level FFI bindings to the hmll library for high-performance ML model loading
# 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"
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