# 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"
rust-version = "1.87"
name = "llm-cascade"
version = "0.1.2"
build = false
exclude = [
    ".claude/",
    ".kilo/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Resilient cascading LLM inference with automatic failover across multiple providers"
documentation = "https://docs.rs/llm-cascade"
readme = "README.md"
keywords = [
    "llm",
    "cascade",
    "failover",
    "openai",
    "anthropic",
]
categories = [
    "asynchronous",
    "web-programming::http-client",
]
license = "MIT"
repository = "https://github.com/paluigi/llm-cascade"

[features]
default = ["keyring"]
keyring = ["dep:keyring"]

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

[[bin]]
name = "llm-cascade"
path = "src/main.rs"

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

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.clap]
version = "4"
features = ["derive"]

[dependencies.keyring]
version = "3"
features = ["sync-secret-service"]
optional = true

[dependencies.reqwest]
version = "0.13"
features = ["json"]

[dependencies.rpassword]
version = "7"

[dependencies.rusqlite]
version = "0.39"
features = ["bundled"]

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

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

[dependencies.toml]
version = "1"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
