add dependencies

add configuration

implement GCRA logic

add rate-limiting to `ruma_wrapper`

adding tests and correcting the implementation
This commit is contained in:
avdb13 2025-04-23 09:41:11 +00:00
parent 1529d60a6a
commit 371ea1dbf5
8 changed files with 631 additions and 9 deletions

View file

@ -96,6 +96,7 @@ axum-server = { version = "0.7.2", features = ["tls-rustls-no-provider"] }
base64 = "0.22.1"
bytes = "1.10.1"
clap = { version = "4.5.34", default-features = false, features = ["std", "derive", "help", "usage", "error-context", "string", "wrap_help"] }
dashmap = "6.1.0"
futures-util = { version = "0.3.31", default-features = false }
hmac = "0.12.1"
html-escape = "0.2.13"
@ -117,6 +118,7 @@ phf = { version = "0.11.3", features = ["macros"] }
pin-project-lite = "0.2.16"
prometheus = "0.13.4"
proxy-header = { version = "0.1.2", features = ["tokio"] }
quanta = "0.12.5"
rand = "0.8.5"
regex = "1.11.1"
reqwest = { version = "0.12.15", default-features = false, features = ["http2", "rustls-tls-native-roots", "socks"] }