]> Untitled Git - lemmy.git/blobdiff - crates/api_common/Cargo.toml
Sanitize html (#3708)
[lemmy.git] / crates / api_common / Cargo.toml
index 8a23a4cb2475425b59c54ad26e2b53b8c8ea658a..d74acd1363a43b8dcf7573f8c4d2ca191220f42f 100644 (file)
@@ -34,6 +34,7 @@ full = [
   "actix-web",
   "futures",
   "once_cell",
+  "ammonia",
 ]
 
 [dependencies]
@@ -66,3 +67,4 @@ once_cell = { workspace = true, optional = true }
 actix-web = { workspace = true, optional = true }
 # necessary for wasmt compilation
 getrandom = { version = "0.2.10", features = ["js"] }
+ammonia = { version = "3.3.0", optional = true }