# 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 = "2024"
name = "rig-tei"
version = "0.1.2"
authors = ["jerrychir <jerrychir@gmail.com>"]
build = false
include = [
    "/src/**",
    "/Cargo.toml",
    "/README*",
    "/LICENSE*",
    "/examples/**",
    "/docs/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rig adapter for TEI: integrates the Text Embedding Inference service with the Rig ecosystem (request/response types, streaming, error handling)."
homepage = "https://github.com/ooiai/rig-extend"
documentation = "https://docs.rs/rig-tei"
readme = "README.md"
keywords = [
    "rig",
    "tei",
    "embedding",
    "ai",
    "provider",
]
categories = [
    "api-bindings",
    "web-programming::http-client",
]
license = "MIT"

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

[[example]]
name = "tei_embeddings"
path = "examples/tei_embeddings.rs"

[[example]]
name = "tei_rerank"
path = "examples/tei_rerank.rs"

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

[dependencies.base64]
version = "0.22.1"

[dependencies.reqwest]
version = "0.12.24"
features = [
    "json",
    "stream",
]
default-features = false

[dependencies.rig-core]
version = "0.25.0"

[dependencies.rig-derive]
version = "0.1.9"

[dependencies.schemars]
version = "1.1.0"

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

[dependencies.serde_json]
version = "1.0.145"

[dependencies.thiserror]
version = "2.0.17"

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

[dependencies.tracing]
version = "0.1.43"

[dependencies.uuid]
version = "1.19.0"
features = ["v4"]

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

[dev-dependencies.tracing-subscriber]
version = "0.3.22"
