Distributed rate limit, fix search panic, add migration task (#3419)

* Distributed rate limit, fix search panic, add migration task

* Add binary info to root endpoint
This commit is contained in:
Jai Agrawal
2025-03-25 01:10:43 -07:00
committed by GitHub
parent 5fbf5b22c0
commit b5a9a93323
11 changed files with 317 additions and 277 deletions

74
Cargo.lock generated
View File

@@ -2469,6 +2469,12 @@ dependencies = [
"const-random",
]
[[package]]
name = "dotenv-build"
version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f4547f16c17f6051a12cdb8c62b803f94bee6807c74aa7c530b30b737df981fc"
[[package]]
name = "dotenvy"
version = "0.15.7"
@@ -3345,26 +3351,6 @@ dependencies = [
"system-deps",
]
[[package]]
name = "governor"
version = "0.6.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "68a7f542ee6b35af73b06abc0dad1c1bae89964e4e253bc4b587b91c9637867b"
dependencies = [
"cfg-if 1.0.0",
"dashmap 5.5.3",
"futures 0.3.30",
"futures-timer",
"no-std-compat",
"nonzero_ext",
"parking_lot 0.12.3",
"portable-atomic",
"quanta",
"rand 0.8.5",
"smallvec 1.13.2",
"spinning_top",
]
[[package]]
name = "group"
version = "0.13.0"
@@ -4529,17 +4515,18 @@ dependencies = [
"dashmap 5.5.3",
"deadpool-redis",
"derive-new",
"dotenv-build",
"dotenvy",
"either",
"flate2",
"futures 0.3.30",
"futures-timer",
"futures-util",
"governor",
"hex",
"hmac 0.11.0",
"hyper 0.14.31",
"hyper-tls 0.5.0",
"iana-time-zone",
"image 0.24.9",
"itertools 0.12.1",
"jemalloc_pprof",
@@ -5253,12 +5240,6 @@ dependencies = [
"memoffset 0.9.1",
]
[[package]]
name = "no-std-compat"
version = "0.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b93853da6d84c2e3c7d730d6473e8817692dd89be387eb01b94d7f108ecb5b8c"
[[package]]
name = "nodrop"
version = "0.1.14"
@@ -5275,12 +5256,6 @@ dependencies = [
"minimal-lexical",
]
[[package]]
name = "nonzero_ext"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "38bf9645c8b145698bb0b18a4637dcacbc421ea49bef2317e4fd8065a387cf21"
[[package]]
name = "normpath"
version = "1.3.0"
@@ -6564,21 +6539,6 @@ dependencies = [
"bytemuck",
]
[[package]]
name = "quanta"
version = "0.12.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8e5167a477619228a0b284fac2674e3c388cba90631d7b7de620e6f1fcd08da5"
dependencies = [
"crossbeam-utils 0.8.20",
"libc",
"once_cell",
"raw-cpuid",
"wasi 0.11.0+wasi-snapshot-preview1",
"web-sys",
"winapi 0.3.9",
]
[[package]]
name = "quick-error"
version = "2.0.1"
@@ -6792,15 +6752,6 @@ dependencies = [
"rand_core 0.5.1",
]
[[package]]
name = "raw-cpuid"
version = "11.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1ab240315c661615f2ee9f0f2cd32d5a7343a84d5ebcccb99d46e6637565e7b0"
dependencies = [
"bitflags 2.6.0",
]
[[package]]
name = "raw-window-handle"
version = "0.5.2"
@@ -8284,15 +8235,6 @@ dependencies = [
"lock_api 0.4.12",
]
[[package]]
name = "spinning_top"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d96d2d1d716fb500937168cc09353ffdc7a012be8475ac7308e1bdf0e3923300"
dependencies = [
"lock_api 0.4.12",
]
[[package]]
name = "spki"
version = "0.7.3"