Replace leaky_bucket with governor crate

This commit is contained in:
Igor Katson 2024-11-16 10:55:33 +00:00
parent 3924197461
commit 1dbdeb5bbe
No known key found for this signature in database
GPG key ID: B4EC22B66D61A3F5
4 changed files with 117 additions and 49 deletions

View file

@ -61,7 +61,7 @@ tokio = { version = "1", features = [
"fs",
"io-util",
] }
leaky-bucket = "1.1"
governor = "0.7"
console-subscriber = { version = "0.4", optional = true }
axum = { version = "0.7", optional = true }
tower-http = { version = "0.5", features = ["cors", "trace"], optional = true }