From 726c6ec4e552f431e7016de7dc48605649bf67d0 Mon Sep 17 00:00:00 2001 From: xfy Date: Tue, 16 Jun 2026 17:09:39 +0800 Subject: [PATCH] build: make pulldown-cmark optional and gated by server feature --- Cargo.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 72e81b6..8ff7447 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,7 +13,7 @@ argon2 = { version = "0.5", optional = true } uuid = { version = "1", features = ["v4", "js"], optional = true } chrono = { version = "0.4", features = ["serde"] } regex = { version = "1.12", optional = true } -pulldown-cmark = "0.13" +pulldown-cmark = { version = "0.13", optional = true } dotenvy = { version = "0.15", optional = true } tracing = { version = "0.1", optional = true, features = ["release_max_level_info"] } tracing-subscriber = { version = "0.3", optional = true } @@ -63,6 +63,7 @@ server = [ "dep:argon2", "dep:uuid", "dep:regex", + "dep:pulldown-cmark", "dep:dotenvy", "dep:tracing", "dep:tracing-subscriber",