btcli 0.5.4

An online command-line translation tool for Chinese and other languages with TUI interface.
# 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 = "btcli"
version = "0.5.4"
authors = ["S.A. (@snoware) <2026>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "An online command-line translation tool for Chinese and other languages with TUI interface."
homepage = "https://swe-iss.rth1.xyz/softwares/btcli"
documentation = "https://docs.rs/btcli"
readme = "README.md"
keywords = [
    "translate",
    "Chinese",
    "TUI",
    "human_AI_Cooperation",
    "open-source",
]
categories = ["command-line-utilities"]
license = "MPL-2.0"
repository = "https://gitee.com/ironbayberry/btcli"

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

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

[[test]]
name = "cli_test"
path = "tests/cli_test.rs"

[dependencies.base64]
version = "0.22.1"

[dependencies.chrono]
version = "0.4"

[dependencies.clipboard]
version = "0.5.0"

[dependencies.cursive]
version = "0.21.1"

[dependencies.lazy_static]
version = "1.5"

[dependencies.log]
version = "0.4"
features = ["std"]

[dependencies.md5]
version = "0.8.0"

[dependencies.rand]
version = "0.9.2"

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

[dependencies.serde_json]
version = "1.0.149"

[dependencies.toml]
version = "0.9.11"

[dependencies.ureq]
version = "3.1.4"
features = ["json"]

[lints.rust]
unsafe_code = "forbid"

[profile.default]
inherits = "release"

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