From 8109740e941646952452d990398a7c9153d8afb8 Mon Sep 17 00:00:00 2001 From: xfy Date: Mon, 8 Jun 2026 14:48:45 +0800 Subject: [PATCH] chore: add image and moka dependencies for image processing --- Cargo.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 8dd5389..7a43255 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -25,6 +25,8 @@ axum = { version = "0.8", optional = true, features = ["multipart"] } serde_json = "1.0" ammonia = { version = "4", optional = true } syntect = { version = "5", default-features = false, features = ["default-syntaxes", "default-themes", "default-fancy", "html", "parsing", "dump-load", "yaml-load"], optional = true } +image = { version = "0.25", optional = true } +moka = { version = "0.12", features = ["future"], optional = true } [target.'cfg(target_arch = "wasm32")'.dependencies] web-sys = { version = "0.3", features = ["Document", "Window", "HtmlDocument", "Storage", "Element", "DomTokenList", "MediaQueryList", "HtmlScriptElement"] } @@ -55,4 +57,6 @@ server = [ "dep:ammonia", "dep:syntect", "dep:axum", + "dep:image", + "dep:moka", ]