spn-native 0.2.0

Native model inference and storage for SuperNovae ecosystem
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"
rust-version = "1.85"
name = "spn-native"
version = "0.2.0"
authors = [
    "Thibaut MELEN <thibaut@supernovae.studio>",
    "SuperNovae Studio <contact@supernovae.studio>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Native model inference and storage for SuperNovae ecosystem"
homepage = "https://supernovae.studio"
documentation = "https://docs.rs/spn-native"
readme = "README.md"
keywords = [
    "supernovae",
    "llm",
    "inference",
    "gguf",
    "huggingface",
]
categories = [
    "science",
    "filesystem",
]
license = "AGPL-3.0-or-later"
repository = "https://github.com/supernovae-st/supernovae-cli"

[features]
default = []
full = [
    "progress",
    "inference",
]
full-metal = [
    "progress",
    "inference-metal",
]
inference = ["dep:mistralrs"]
inference-metal = [
    "inference",
    "mistralrs/metal",
]
native = ["inference"]
progress = ["dep:indicatif"]

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

[dependencies.anyhow]
version = "1.0"

[dependencies.async-stream]
version = "0.3"

[dependencies.dirs]
version = "6.0"

[dependencies.futures-util]
version = "0.3"

[dependencies.indicatif]
version = "0.17"
optional = true

[dependencies.mistralrs]
version = "0.7"
features = []
optional = true
default-features = false

[dependencies.reqwest]
version = "0.12"
features = [
    "rustls-tls",
    "stream",
    "json",
]
default-features = false

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

[dependencies.serde_json]
version = "1.0"

[dependencies.sha2]
version = "0.10"

[dependencies.spn-core]
version = "0.2.0"

[dependencies.thiserror]
version = "1.0"

[dependencies.tokio]
version = "1.48"
features = [
    "rt-multi-thread",
    "fs",
    "io-util",
    "sync",
    "macros",
]

[dependencies.tracing]
version = "0.1"

[dev-dependencies.tempfile]
version = "3.20"

[dev-dependencies.tokio-test]
version = "0.4"