summaryrefslogtreecommitdiffstats
path: root/Cargo.toml
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2023-03-07 11:38:44 +0800
committerGitHub <noreply@github.com>2023-03-07 11:38:44 +0800
commit1640456049cda9999bb27501af30e05e46b0360d (patch)
tree8cc1ad88bd233a5898bff0520fd933db41f1e0da /Cargo.toml
parentc12ae0275108acbbb124a41ff936b441723ae625 (diff)
downloadaichat-1640456049cda9999bb27501af30e05e46b0360d.tar.gz
refactor: use syntect for highlight, abandon mdcat (#26)
* refactor: use syntect for highlight, abandon mdcat * split src/render.rs to sub modules. embed a default theme * simulate typing effect. * fix format
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml5
1 files changed, 2 insertions, 3 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 8300c3f..216e8cb 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -25,18 +25,17 @@ serde = { version = "1.0.152", features = ["derive"] }
serde_json = "1.0.93"
serde_yaml = "0.9.17"
tokio = { version = "1.26.0", features = ["full"] }
-mdcat = { version = "1.1.0", default-features = false, features =["static"] }
-pulldown-cmark = { version = "0.9.2", default-features = false, features = ['simd'] }
crossbeam = "0.8.2"
crossterm = "0.26.1"
copypasta = "0.8.2"
chrono = "0.4.23"
atty = "0.2.14"
+unicode-width = "0.1.10"
[dependencies.syntect]
version = "5.0.0"
default-features = false
-features = ["parsing", "regex-fancy", "default-themes", "default-syntaxes"]
+features = ["parsing", "regex-fancy", "default-syntaxes"]
[profile.release]
lto = true