deps: add tower-governor for rate limiting

This commit is contained in:
xfy 2026-06-08 16:37:50 +08:00
parent 185bcab9f9
commit 72d28e2db3

View File

@ -27,6 +27,7 @@ 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 }
tower_governor = { version = "0.7", optional = true }
[target.'cfg(target_arch = "wasm32")'.dependencies]
web-sys = { version = "0.3", features = ["Document", "Window", "HtmlDocument", "Storage", "Element", "DomTokenList", "MediaQueryList", "HtmlScriptElement", "HtmlImageElement", "MouseEvent", "KeyboardEvent", "Node", "HtmlButtonElement", "EventTarget", "HtmlElement"] }
@ -59,4 +60,5 @@ server = [
"dep:axum",
"dep:image",
"dep:moka",
"dep:tower_governor",
]