# 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 = "honya"
version = "0.5.0"
build = false
exclude = [
    "web/",
    "CLAUDE.md",
    "AGENTS.md",
    ".github/",
    ".remember/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A terminal app for AI-assisted Japanese→Thai light-novel translation (EPUB import + a three-agent LLM pipeline over an OpenRouter-compatible API)."
homepage = "https://honya.altqx.com"
readme = "README.md"
keywords = [
    "epub",
    "translation",
    "tui",
    "japanese",
    "light-novel",
]
categories = [
    "command-line-utilities",
    "text-processing",
    "localization",
]
license = "Apache-2.0"
repository = "https://github.com/altqx/honya"

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

[dependencies.anyhow]
version = "1"

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

[dependencies.chardetng]
version = "1"

[dependencies.chrono]
version = "0.4.45"
features = [
    "clock",
    "serde",
]

[dependencies.crossterm]
version = "0.29.0"
features = ["event-stream"]

[dependencies.csv]
version = "1.4"

[dependencies.ego-tree]
version = "0.11"

[dependencies.encoding_rs]
version = "0.8"

[dependencies.futures]
version = "0.3"

[dependencies.htmd]
version = "0.5"

[dependencies.once_cell]
version = "1.21.4"

[dependencies.pdf-extract]
version = "0.10"

[dependencies.ratatui]
version = "0.30.1"

[dependencies.regex]
version = "1.12"

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

[dependencies.roxmltree]
version = "0.21"

[dependencies.scraper]
version = "0.27"

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.11"

[dependencies.termimad]
version = "0.34.1"

[dependencies.thiserror]
version = "2"

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

[dependencies.tokio-tungstenite]
version = "0.24"
features = [
    "connect",
    "rustls-tls-webpki-roots",
]
default-features = false

[dependencies.unicode-segmentation]
version = "1"

[dependencies.unicode-width]
version = "0.2"

[dependencies.walkdir]
version = "2.5"

[dependencies.zip]
version = "8.6"
features = [
    "deflate",
    "deflate64",
    "bzip2",
    "lzma",
]
default-features = false
