word-freq-analyzer/Cargo.toml
hr567 a536e33580
Add Jieba segmentation for words count
Signed-off-by: hr567 <hr567@hr567.me>
2024-06-11 16:25:37 +08:00

37 lines
773 B
TOML

[package]
name = "word_freq_analyzer"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
clap = { version = "4.5.7", features = ["derive"] }
dashmap = { version = "5.5.3", features = ["serde"] }
futures = "0.3.30"
indicatif = "0.17.8"
jieba-rs = { version = "0.7.0", default-features = false }
once_cell = "1.19.0"
serde_json = "1.0.117"
tokio = { version = "1.38.0", features = [
"rt",
"rt-multi-thread",
"io-util",
"time",
"macros",
"sync",
"fs",
"parking_lot",
] }
tracing = "0.1.40"
tracing-subscriber = "0.3.18"
[profile.release]
lto = true
panic = "abort"
codegen-units = 1
debug = true
split-debuginfo = "packed"
[build-dependencies]