summaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-01-07 19:04:41 +0800
committer魏曹先生 <1992414357@qq.com>2026-01-07 19:04:41 +0800
commit81ea89384eb4cfda14518a6ccb439d97399ad74f (patch)
treed7a7d3c90953574fa09d548ac6b93ae6e1ddfcc2 /Cargo.toml
parent6e18bb52bcf50e53c1d130a17d0143d671b64ab0 (diff)
Add JSON output support for multiple commands
- Add serde and serde_json dependencies - Add JSON output modules for accounts, align, analyzer, here, info, and sheets - Add --json and --pretty flags to sheet list, sheet align, here, status, info, and account list commands - Implement JSON serialization for here command output - Update command argument structs to include JSON output options
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml4
1 files changed, 4 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 524c96a..5e76958 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -38,6 +38,10 @@ toml = "0.9"
# Just Enough VCS
just_enough_vcs = { path = "../VersionControl", features = ["all"] }
+# Serialize
+serde = { version = "1", features = ["derive"] }
+serde_json = "1"
+
# Command Line
clap = { version = "4.5", features = ["derive"] }