X-Git-Url: http://these/git/?a=blobdiff_plain;f=Cargo.lock;h=98a8909592ca426e4f575966264800210381e741;hb=bed9474cf05af9e6935365681a4761544115b58a;hp=0597cfeb577d5aa98752950d790fb92c8963d49e;hpb=95e758e7079727d86a4e4f542d6b261fbf0ccc37;p=lemmy.git diff --git a/Cargo.lock b/Cargo.lock index 0597cfeb..98a89095 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -386,6 +386,19 @@ dependencies = [ "alloc-no-stdlib", ] +[[package]] +name = "ammonia" +version = "3.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "64e6d1c7838db705c9b756557ee27c384ce695a1c51a6fe528784cb1c6840170" +dependencies = [ + "html5ever", + "maplit", + "once_cell", + "tendril", + "url", +] + [[package]] name = "android-tzdata" version = "0.1.1" @@ -426,6 +439,19 @@ dependencies = [ "serde_json", ] +[[package]] +name = "async-compression" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "62b74f44609f0f91493e3082d3734d98497e094777144380ea4db9f9905dd5b6" +dependencies = [ + "flate2", + "futures-core", + "memchr", + "pin-project-lite", + "tokio", +] + [[package]] name = "async-io" version = "1.13.0" @@ -2547,6 +2573,7 @@ checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" name = "lemmy_api" version = "0.18.1" dependencies = [ + "activitypub_federation", "actix-web", "anyhow", "async-trait", @@ -2574,6 +2601,7 @@ version = "0.18.1" dependencies = [ "activitypub_federation", "actix-web", + "ammonia", "anyhow", "chrono", "encoding", @@ -2650,7 +2678,6 @@ dependencies = [ "serde_json", "serde_with", "serial_test", - "sha2", "strum_macros", "task-local-extensions", "tokio", @@ -2683,7 +2710,6 @@ dependencies = [ "serde_json", "serde_with", "serial_test", - "sha2", "strum", "strum_macros", "tokio", @@ -2988,6 +3014,12 @@ dependencies = [ "libc", ] +[[package]] +name = "maplit" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3e2e65a1a2e43cfcb47a895c4c8b10d1f4a61097f9f254f183aee60cad9c651d" + [[package]] name = "markdown-it" version = "0.5.1" @@ -4156,6 +4188,7 @@ version = "0.11.18" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cde824a14b7c14f85caff81225f411faacc04a2013f41670f41443742b1c1c55" dependencies = [ + "async-compression", "base64 0.21.2", "bytes", "encoding_rs",