# 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 = "eros-engine-llm"
version = "0.4.0"
authors = ["etherfunlab <henrylin@etherfun.xyz>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "HTTP clients for OpenRouter (chat) and Voyage (embeddings), plus a TOML task→model config used by the eros-engine AI companion engine."
homepage = "https://github.com/etherfunlab/eros-engine"
readme = "README.md"
keywords = [
    "companion",
    "openrouter",
    "voyage",
    "embeddings",
    "llm",
]
categories = ["api-bindings"]
license = "AGPL-3.0-only"
repository = "https://github.com/etherfunlab/eros-engine"

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

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

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

[dependencies.eros-engine-core]
version = "0.4.0"

[dependencies.eventsource-stream]
version = "0.2"

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

[dependencies.rand]
version = "0.8"

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

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "1"

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

[dependencies.tokio-stream]
version = "0.1"

[dependencies.toml]
version = "0.8"

[dependencies.tracing]
version = "0.1"

[dev-dependencies.tokio]
version = "1.40"
features = [
    "full",
    "macros",
    "rt-multi-thread",
]

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