# 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 = "catsu"
version = "0.1.8"
build = false
exclude = [
    ".venv/**",
    ".pytest_cache/**",
    ".github/**",
    "docs/**",
    "website/**",
    "packages/**",
    "tests/**",
    "prototypes/**",
    "assets/**",
    "examples/*.py",
    "examples/README.md",
    "pyproject.toml",
    "uv.lock",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-performance embeddings client for multiple providers"
readme = "README.md"
keywords = [
    "embeddings",
    "openai",
    "voyageai",
    "async",
    "http-client",
]
categories = [
    "web-programming::http-client",
    "asynchronous",
]
license = "Apache-2.0"
repository = "https://github.com/chonkie-inc/catsu"

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.once_cell]
version = "1.21"

[dependencies.rand]
version = "0.9"

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

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

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "2.0"

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

[dependencies.tracing]
version = "0.1"

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