From d83a75e3f4075e88418a62bdacbb34337028bb19 Mon Sep 17 00:00:00 2001 From: Kitaiti Makoto Date: Fri, 7 Jan 2022 05:26:32 +0900 Subject: [PATCH] Add askama_escape to plume-common --- Cargo.lock | 11 +++++++++-- plume-common/Cargo.toml | 1 + 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 4d4f1a8d..1c3c33c7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -204,6 +204,12 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "719b48039ffac1564f67d70162109ba9341125cee0096a540e478355b3c724a7" +[[package]] +name = "askama_escape" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9a1bb320f97e6edf9f756bf015900038e43c7700e059688e5724a928c8f3b8d5" + [[package]] name = "async-trait" version = "0.1.52" @@ -2981,7 +2987,7 @@ name = "plume" version = "0.7.1-dev" dependencies = [ "activitypub", - "askama_escape", + "askama_escape 0.1.0", "atom_syndication", "chrono", "clap", @@ -3042,6 +3048,7 @@ dependencies = [ "activitystreams-derive", "activitystreams-traits", "array_tool", + "askama_escape 0.10.2", "base64 0.10.1", "chrono", "heck", @@ -3094,7 +3101,7 @@ version = "0.7.1-dev" dependencies = [ "activitypub", "ammonia", - "askama_escape", + "askama_escape 0.1.0", "bcrypt", "chrono", "diesel", diff --git a/plume-common/Cargo.toml b/plume-common/Cargo.toml index 6e1d9912..95d2e7e1 100644 --- a/plume-common/Cargo.toml +++ b/plume-common/Cargo.toml @@ -24,6 +24,7 @@ syntect = "4.5.0" tokio = "0.1.22" regex-syntax = { version = "0.6.17", default-features = false, features = ["unicode-perl"] } tracing = "0.1.22" +askama_escape = "0.10.2" [dependencies.chrono] features = ["serde"]