mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-14 08:23:59 +00:00
1c7bfd6be8
* Fixes #1884 - Switches markdown libraries and creates a custom rule to manage spoiler blocks * Add tests to cover invalid spoiler input * Consolidate tests, add comments * Make immutable, static instance of markdown parser --------- Co-authored-by: Nutomic <me@nutomic.com>
54 lines
1.4 KiB
TOML
54 lines
1.4 KiB
TOML
[package]
|
|
name = "lemmy_utils"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
description.workspace = true
|
|
license.workspace = true
|
|
homepage.workspace = true
|
|
documentation.workspace = true
|
|
repository.workspace = true
|
|
|
|
[lib]
|
|
name = "lemmy_utils"
|
|
path = "src/lib.rs"
|
|
doctest = false
|
|
|
|
[dependencies]
|
|
regex = { workspace = true }
|
|
chrono = { workspace = true }
|
|
tracing = { workspace = true }
|
|
tracing-error = { workspace = true }
|
|
itertools = { workspace = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
once_cell = { workspace = true }
|
|
url = { workspace = true }
|
|
actix-web = { workspace = true }
|
|
anyhow = { workspace = true }
|
|
reqwest-middleware = { workspace = true }
|
|
strum = { workspace = true }
|
|
strum_macros = { workspace = true }
|
|
futures = { workspace = true }
|
|
diesel = { workspace = true, features = ["chrono"] }
|
|
http = { workspace = true }
|
|
doku = { workspace = true, features = ["url-2"] }
|
|
uuid = { workspace = true, features = ["serde", "v4"] }
|
|
rosetta-i18n = { workspace = true }
|
|
typed-builder = { workspace = true }
|
|
percent-encoding = { workspace = true }
|
|
tokio = { workspace = true }
|
|
openssl = "0.10.42"
|
|
html2text = "0.4.3"
|
|
deser-hjson = "1.0.2"
|
|
smart-default = "0.6.0"
|
|
jsonwebtoken = "8.1.1"
|
|
lettre = "0.10.1"
|
|
markdown-it = "0.5.0"
|
|
totp-rs = { version = "4.2.0", features = ["gen_secret", "otpauth"] }
|
|
|
|
[dev-dependencies]
|
|
reqwest = { workspace = true }
|
|
tokio = { workspace = true, features = ["macros"] }
|
|
|
|
[build-dependencies]
|
|
rosetta-build = "0.1.2"
|