[package]
name = "btcli"
version = "0.5.8"
edition = "2024"
license = "MPL-2.0"
authors = ["S.A. (@snoware) <2026>"]
description = "An online command-line translation tool for Chinese and other languages with TUI interface."
documentation = "https://docs.rs/btcli"
readme = "README.md"
repository = "https://gitee.com/ironbayberry/btcli"
homepage = "https://swe-iss.rth1.xyz/softwares/btcli"
keywords = ["translate", "Chinese", "TUI", "SASWE", "open-source"]
categories = ["command-line-utilities"]
[lints.rust]
unsafe_code = "forbid"
[[bin]]
name = "btcli"
path = "src/main.rs"
[[bin]]
name = "post_build"
path = "post_build.rs"
[lib]
name = "btcli_lib"
path = "src/lib.rs"
[dependencies]
serde = { version = "1.0.228", features = ["derive"] }
toml = "0.9.11"
ureq = { version = "3.1.4", features = ["json"] }
serde_json = "1.0.149"
clipboard = "0.5.0"
md5 = "0.8.0"
rand = "0.9.2"
log = { version = "0.4", features = ["std"] }
chrono = "0.4"
lazy_static = "1.5"
base64 = "0.22.1"
cursive = { version = "0.21.1", optional = true }
[features]
default = ["ui"]
ui = ["dep:cursive"]
[profile.default]
inherits = "release"
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
panic = "abort"
strip = true
[workspace]
members = []