aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-06-21 23:12:02 +0800
committer魏曹先生 <1992414357@qq.com>2026-06-21 23:12:37 +0800
commite703c9376cd000161672ff225ff8e0f3c167ed9f (patch)
tree7d93889eb145e09c6a46f5bbee898ed43cc83e92 /Cargo.toml
parent2f0c1f3fda6025da64636a4cfd01d4f98bc7d50b (diff)
feat: add TOML config file support with CLI fallback
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml2
1 files changed, 2 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 7821ca1..d8fc385 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -10,6 +10,8 @@ path = "src/main.rs"
[dependencies]
clap = { version = "4.6.1", features = ["derive"] }
+serde = { version = "1", features = ["derive"] }
+toml = "0.8"
tokio = { version = "1.52.3", features = ["net", "rt", "rt-multi-thread", "macros"] }
tracing-subscriber = { version = "0.3.19", features = ["env-filter"] }
pinyin = { version = "0.11.0", features = ["with_tone", "with_tone_num", "with_tone_num_end"] }