transbot 0.1.5

A simple translation robot that translates HTMLs/EPUBs/MarkDowns/TEXT based on LLMs.
Documentation
# 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 = "transbot"
version = "0.1.5"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A simple translation robot that translates HTMLs/EPUBs/MarkDowns/TEXT based on LLMs."
documentation = "https://docs.rs/transbot"
readme = "README.md"
keywords = ["translation"]
license = "MIT"
repository = "https://github.com/Zhiming-WU/transbot.git"

[features]
cli = [
    "dep:clap",
    "dep:mime_guess",
    "dep:ctrlc",
]

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

[[bin]]
name = "transbot_cli"
path = "src/bin/transbot_cli.rs"
required-features = ["cli"]

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

[dependencies.anyhow]
version = "1.0.102"

[dependencies.bincode]
version = "1.3"

[dependencies.clap]
version = "4.6.1"
features = [
    "derive",
    "std",
]
optional = true

[dependencies.ctrlc]
version = "3.5.2"
optional = true

[dependencies.lol_html]
version = "2.8.1"

[dependencies.mime_guess]
version = "2.0.5"
optional = true

[dependencies.pulldown-cmark]
version = "0.13.3"

[dependencies.pulldown-cmark-to-cmark]
version = "22.0.0"

[dependencies.quick-xml]
version = "0.39.2"

[dependencies.rbook]
version = "0.7.6"

[dependencies.regex]
version = "1.12.3"

[dependencies.reqwest]
version = "0.13.2"
features = [
    "blocking",
    "json",
    "socks",
]

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

[dependencies.serde_json]
version = "1.0.149"

[dependencies.text-splitter]
version = "0.30.1"

[dependencies.url]
version = "2.5.8"

[profile.release]
opt-level = "z"
lto = true
codegen-units = 1
panic = "abort"
strip = true