summaryrefslogtreecommitdiffstats
path: root/Cargo.toml
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2023-03-03 09:38:53 +0800
committersigoden <sigoden@gmail.com>2023-03-03 10:11:23 +0800
commit627a2d08ce0932241a21a281712e58427c15d478 (patch)
treebf7059a6c9c8e0df939888ba37dc4759640f30b7 /Cargo.toml
parent9e8a5481cf9aa4dfd75d5c55c003b3813ccbca1e (diff)
downloadaichat-627a2d08ce0932241a21a281712e58427c15d478.tar.gz
refactor: config path and config data
use yaml other than toml for configuration. use $AICHAT_CONFIG_DIR other than $HOME for config dir. split roles to seperate config file
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 6441939..5038caa 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -24,8 +24,8 @@ reedline = "0.16.0"
reqwest = { version = "0.11.14", features = ["json", "stream", "socks"] }
serde = { version = "1.0.152", features = ["derive"] }
serde_json = "1.0.93"
+serde_yaml = "0.9.17"
tokio = { version = "1.26.0", features = ["full"] }
-toml = "0.7.2"
[profile.release]
lto = true