# 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.85"
name = "kotonoha-server"
version = "0.1.10"
authors = ["yukimemi <yukimemi@gmail.com>"]
build = false
include = [
    "src/**/*",
    "web/dist/**/*",
    "Cargo.toml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "axum HTTP + WebSocket server that bridges the kotonoha frontend to claude/gemini/codex CLIs"
homepage = "https://github.com/yukimemi/kotonoha"
readme = false
license = "MIT"
repository = "https://github.com/yukimemi/kotonoha"
resolver = "2"

[[bin]]
name = "kotonoha"
path = "src/main.rs"

[dependencies.anyhow]
version = "1.0.102"

[dependencies.axum]
version = "0.8.9"
features = [
    "ws",
    "macros",
]

[dependencies.clap]
version = "4.6.1"
features = [
    "derive",
    "env",
]

[dependencies.futures]
version = "0.3.32"

[dependencies.indicatif]
version = "0.18.4"

[dependencies.kotonoha-core]
version = "0.1.10"

[dependencies.kotonoha-llm]
version = "0.1.10"

[dependencies.kotonoha-tts]
version = "0.1.10"

[dependencies.mime_guess]
version = "2.0.5"

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

[dependencies.rust-embed]
version = "8.11.0"

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

[dependencies.serde_json]
version = "1.0.150"

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

[dependencies.tower-http]
version = "0.6.11"
features = [
    "cors",
    "trace",
    "fs",
]

[dependencies.tracing]
version = "0.1.44"

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