Support for comment nesting with a tree structure

This commit is contained in:
Bnyro
2023-07-08 18:02:02 +02:00
parent eda3567c1a
commit 5e0c84aec7
5 changed files with 37 additions and 8 deletions

16
Cargo.lock generated
View File

@@ -577,6 +577,12 @@ dependencies = [
"subtle",
]
[[package]]
name = "either"
version = "1.8.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7fcaabb2fef8c910e7f4c7ce9f67a1283a1715879a7c230ca9d6d1ae31f16d91"
[[package]]
name = "encoding_rs"
version = "0.8.32"
@@ -1322,6 +1328,15 @@ dependencies = [
"phf 0.11.2",
]
[[package]]
name = "itertools"
version = "0.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b1c173a5686ce8bfa551b3563d0c2170bf24ca44da99c7ca4bfdab5418c3fe57"
dependencies = [
"either",
]
[[package]]
name = "itoa"
version = "1.0.6"
@@ -1444,6 +1459,7 @@ version = "0.2.0"
dependencies = [
"chrono",
"html2pango",
"itertools",
"lemmy_api_common",
"markdown",
"mime_guess",