# 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 = "sipp-rs"
version = "0.1.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Unified Rust library for extensible Sipp inference"
readme = "README.md"
keywords = [
    "ai",
    "llm",
    "inference",
    "gguf",
]
categories = [
    "api-bindings",
    "science",
]
license = "Apache-2.0"
repository = "https://github.com/noumena-labs/Sipp"

[features]
backend-dl = ["sipp-sys/backend-dl"]
cuda = ["sipp-sys/cuda"]
default = [
    "gateway",
    "providers",
]
gateway = ["dep:futures-util"]
metal = ["sipp-sys/metal"]
openmp = ["sipp-sys/openmp"]
providers = [
    "dep:async-trait",
    "dep:bytes",
    "dep:futures-util",
]
vulkan = ["sipp-sys/vulkan"]

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

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

[dependencies.async-trait]
version = "0.1"
optional = true

[dependencies.bytes]
version = "1"
optional = true

[dependencies.cxx]
version = "1"

[dependencies.futures]
version = "0.3"

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

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

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

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

[dependencies.serde_json]
version = "1.0"

[dependencies.sha2]
version = "0.10"

[dependencies.sipp-sys]
version = "0.1.1"

[dependencies.thiserror]
version = "2.0"

[dev-dependencies.anyhow]
version = "1.0"

[dev-dependencies.async-trait]
version = "0.1"

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

[dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt-multi-thread",
    "test-util",
    "time",
]

[dev-dependencies.wiremock]
version = "0.6"

[target.'cfg(not(target_family = "wasm"))'.dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "stream",
    "rustls-tls",
]
default-features = false

[target.'cfg(not(target_family = "wasm"))'.dependencies.tokio]
version = "1"
features = [
    "rt",
    "net",
    "time",
    "sync",
]
