deps: add tower-governor for rate limiting
This commit is contained in:
parent
185bcab9f9
commit
72d28e2db3
@ -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 }
|
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 }
|
image = { version = "0.25", optional = true }
|
||||||
moka = { version = "0.12", features = ["future"], optional = true }
|
moka = { version = "0.12", features = ["future"], optional = true }
|
||||||
|
tower_governor = { version = "0.7", optional = true }
|
||||||
|
|
||||||
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
[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"] }
|
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:axum",
|
||||||
"dep:image",
|
"dep:image",
|
||||||
"dep:moka",
|
"dep:moka",
|
||||||
|
"dep:tower_governor",
|
||||||
]
|
]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user