├── .env.example ├── .gitignore ├── CHANGELOG.md ├── Cargo.lock ├── Cargo.toml ├── LICENSE ├── README.md └── src └── main.rs /.env.example: -------------------------------------------------------------------------------- 1 | SURREAL_URL_SQL="http://localhost:8000/sql" 2 | SURREAL_USER="root" 3 | SURREAL_PASS="CHANGEME_TO_YOUR_PASSWORD" -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | target/ -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | ## v0.7.5 2 | 3 | - [BREAKING] Change DB record ID structure 4 | - Use record ID range queries for init and fetching new posts 5 | - Limit block count to 32 6 | - Change feed proxy URL 7 | - Add some timeouts 8 | - Fetch "Single User" inputs from DB for unlimited post history 9 | - Add label type to "Remove" block 10 | - Fix RegEx performance issue 11 | - Add some more debug outputs 12 | - Improve error handling 13 | 14 | 15 | ## v0.7.1 16 | 17 | - RegEx search now supports alt text and links 18 | - Remove by reply/repost count 19 | - Remove list of users 20 | - Stash+Pop blocks for more advanced feeds 21 | - Remove duplicates 22 | - List Input: set timeframe 23 | - Debug info: result counts 24 | - Performance optimizations! 25 | -------------------------------------------------------------------------------- /Cargo.lock: -------------------------------------------------------------------------------- 1 | # This file is automatically @generated by Cargo. 2 | # It is not intended for manual editing. 3 | version = 4 4 | 5 | [[package]] 6 | name = "addr2line" 7 | version = "0.24.1" 8 | source = "registry+https://github.com/rust-lang/crates.io-index" 9 | checksum = "f5fb1d8e4442bd405fdfd1dacb42792696b0cf9cb15882e5d097b742a676d375" 10 | dependencies = [ 11 | "gimli", 12 | ] 13 | 14 | [[package]] 15 | name = "adler2" 16 | version = "2.0.0" 17 | source = "registry+https://github.com/rust-lang/crates.io-index" 18 | checksum = "512761e0bb2578dd7380c6baaa0f4ce03e84f95e960231d1dec8bf4d7d6e2627" 19 | 20 | [[package]] 21 | name = "ahash" 22 | version = "0.8.11" 23 | source = "registry+https://github.com/rust-lang/crates.io-index" 24 | checksum = "e89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011" 25 | dependencies = [ 26 | "cfg-if", 27 | "const-random", 28 | "getrandom", 29 | "once_cell", 30 | "version_check", 31 | "zerocopy", 32 | ] 33 | 34 | [[package]] 35 | name = "aho-corasick" 36 | version = "1.1.3" 37 | source = "registry+https://github.com/rust-lang/crates.io-index" 38 | checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916" 39 | dependencies = [ 40 | "memchr", 41 | ] 42 | 43 | [[package]] 44 | name = "allocator-api2" 45 | version = "0.2.18" 46 | source = "registry+https://github.com/rust-lang/crates.io-index" 47 | checksum = "5c6cb57a04249c6480766f7f7cef5467412af1490f8d1e243141daddada3264f" 48 | 49 | [[package]] 50 | name = "android-tzdata" 51 | version = "0.1.1" 52 | source = "registry+https://github.com/rust-lang/crates.io-index" 53 | checksum = "e999941b234f3131b00bc13c22d06e8c5ff726d1b6318ac7eb276997bbb4fef0" 54 | 55 | [[package]] 56 | name = "android_system_properties" 57 | version = "0.1.5" 58 | source = "registry+https://github.com/rust-lang/crates.io-index" 59 | checksum = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311" 60 | dependencies = [ 61 | "libc", 62 | ] 63 | 64 | [[package]] 65 | name = "anyhow" 66 | version = "1.0.89" 67 | source = "registry+https://github.com/rust-lang/crates.io-index" 68 | checksum = "86fdf8605db99b54d3cd748a44c6d04df638eb5dafb219b135d0149bd0db01f6" 69 | 70 | [[package]] 71 | name = "arc-swap" 72 | version = "1.7.1" 73 | source = "registry+https://github.com/rust-lang/crates.io-index" 74 | checksum = "69f7f8c3906b62b754cd5326047894316021dcfe5a194c8ea52bdd94934a3457" 75 | 76 | [[package]] 77 | name = "arrayref" 78 | version = "0.3.9" 79 | source = "registry+https://github.com/rust-lang/crates.io-index" 80 | checksum = "76a2e8124351fda1ef8aaaa3bbd7ebbcb486bbcd4225aca0aa0d84bb2db8fecb" 81 | 82 | [[package]] 83 | name = "arrayvec" 84 | version = "0.7.6" 85 | source = "registry+https://github.com/rust-lang/crates.io-index" 86 | checksum = "7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50" 87 | 88 | [[package]] 89 | name = "async-trait" 90 | version = "0.1.82" 91 | source = "registry+https://github.com/rust-lang/crates.io-index" 92 | checksum = "a27b8a3a6e1a44fa4c8baf1f653e4172e81486d4941f2237e20dc2d0cf4ddff1" 93 | dependencies = [ 94 | "proc-macro2", 95 | "quote", 96 | "syn", 97 | ] 98 | 99 | [[package]] 100 | name = "autocfg" 101 | version = "1.3.0" 102 | source = "registry+https://github.com/rust-lang/crates.io-index" 103 | checksum = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0" 104 | 105 | [[package]] 106 | name = "axum" 107 | version = "0.6.20" 108 | source = "registry+https://github.com/rust-lang/crates.io-index" 109 | checksum = "3b829e4e32b91e643de6eafe82b1d90675f5874230191a4ffbc1b336dec4d6bf" 110 | dependencies = [ 111 | "async-trait", 112 | "axum-core", 113 | "bitflags 1.3.2", 114 | "bytes", 115 | "futures-util", 116 | "http", 117 | "http-body", 118 | "hyper", 119 | "itoa", 120 | "matchit", 121 | "memchr", 122 | "mime", 123 | "percent-encoding", 124 | "pin-project-lite", 125 | "rustversion", 126 | "serde", 127 | "serde_json", 128 | "serde_path_to_error", 129 | "serde_urlencoded", 130 | "sync_wrapper", 131 | "tokio", 132 | "tower", 133 | "tower-layer", 134 | "tower-service", 135 | ] 136 | 137 | [[package]] 138 | name = "axum-core" 139 | version = "0.3.4" 140 | source = "registry+https://github.com/rust-lang/crates.io-index" 141 | checksum = "759fa577a247914fd3f7f76d62972792636412fbfd634cd452f6a385a74d2d2c" 142 | dependencies = [ 143 | "async-trait", 144 | "bytes", 145 | "futures-util", 146 | "http", 147 | "http-body", 148 | "mime", 149 | "rustversion", 150 | "tower-layer", 151 | "tower-service", 152 | ] 153 | 154 | [[package]] 155 | name = "axum-macros" 156 | version = "0.3.8" 157 | source = "registry+https://github.com/rust-lang/crates.io-index" 158 | checksum = "cdca6a10ecad987bda04e95606ef85a5417dcaac1a78455242d72e031e2b6b62" 159 | dependencies = [ 160 | "heck", 161 | "proc-macro2", 162 | "quote", 163 | "syn", 164 | ] 165 | 166 | [[package]] 167 | name = "backtrace" 168 | version = "0.3.74" 169 | source = "registry+https://github.com/rust-lang/crates.io-index" 170 | checksum = "8d82cb332cdfaed17ae235a638438ac4d4839913cc2af585c3c6746e8f8bee1a" 171 | dependencies = [ 172 | "addr2line", 173 | "cfg-if", 174 | "libc", 175 | "miniz_oxide", 176 | "object", 177 | "rustc-demangle", 178 | "windows-targets 0.52.6", 179 | ] 180 | 181 | [[package]] 182 | name = "base64" 183 | version = "0.21.7" 184 | source = "registry+https://github.com/rust-lang/crates.io-index" 185 | checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567" 186 | 187 | [[package]] 188 | name = "bitflags" 189 | version = "1.3.2" 190 | source = "registry+https://github.com/rust-lang/crates.io-index" 191 | checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" 192 | 193 | [[package]] 194 | name = "bitflags" 195 | version = "2.6.0" 196 | source = "registry+https://github.com/rust-lang/crates.io-index" 197 | checksum = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de" 198 | 199 | [[package]] 200 | name = "blake3" 201 | version = "1.5.4" 202 | source = "registry+https://github.com/rust-lang/crates.io-index" 203 | checksum = "d82033247fd8e890df8f740e407ad4d038debb9eb1f40533fffb32e7d17dc6f7" 204 | dependencies = [ 205 | "arrayref", 206 | "arrayvec", 207 | "cc", 208 | "cfg-if", 209 | "constant_time_eq", 210 | ] 211 | 212 | [[package]] 213 | name = "boxcar" 214 | version = "0.2.8" 215 | source = "registry+https://github.com/rust-lang/crates.io-index" 216 | checksum = "2721c3c5a6f0e7f7e607125d963fedeb765f545f67adc9d71ed934693881eb42" 217 | 218 | [[package]] 219 | name = "bumpalo" 220 | version = "3.16.0" 221 | source = "registry+https://github.com/rust-lang/crates.io-index" 222 | checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c" 223 | 224 | [[package]] 225 | name = "bytecheck" 226 | version = "0.8.0" 227 | source = "registry+https://github.com/rust-lang/crates.io-index" 228 | checksum = "50c8f430744b23b54ad15161fcbc22d82a29b73eacbe425fea23ec822600bc6f" 229 | dependencies = [ 230 | "bytecheck_derive", 231 | "ptr_meta", 232 | "rancor", 233 | "simdutf8", 234 | ] 235 | 236 | [[package]] 237 | name = "bytecheck_derive" 238 | version = "0.8.0" 239 | source = "registry+https://github.com/rust-lang/crates.io-index" 240 | checksum = "523363cbe1df49b68215efdf500b103ac3b0fb4836aed6d15689a076eadb8fff" 241 | dependencies = [ 242 | "proc-macro2", 243 | "quote", 244 | "syn", 245 | ] 246 | 247 | [[package]] 248 | name = "bytemuck" 249 | version = "1.21.0" 250 | source = "registry+https://github.com/rust-lang/crates.io-index" 251 | checksum = "ef657dfab802224e671f5818e9a4935f9b1957ed18e58292690cc39e7a4092a3" 252 | 253 | [[package]] 254 | name = "byteorder" 255 | version = "1.5.0" 256 | source = "registry+https://github.com/rust-lang/crates.io-index" 257 | checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" 258 | 259 | [[package]] 260 | name = "bytes" 261 | version = "1.7.2" 262 | source = "registry+https://github.com/rust-lang/crates.io-index" 263 | checksum = "428d9aa8fbc0670b7b8d6030a7fadd0f86151cae55e4dbbece15f3780a3dfaf3" 264 | 265 | [[package]] 266 | name = "cc" 267 | version = "1.1.21" 268 | source = "registry+https://github.com/rust-lang/crates.io-index" 269 | checksum = "07b1695e2c7e8fc85310cde85aeaab7e3097f593c91d209d3f9df76c928100f0" 270 | dependencies = [ 271 | "shlex", 272 | ] 273 | 274 | [[package]] 275 | name = "cfg-if" 276 | version = "1.0.0" 277 | source = "registry+https://github.com/rust-lang/crates.io-index" 278 | checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" 279 | 280 | [[package]] 281 | name = "chrono" 282 | version = "0.4.38" 283 | source = "registry+https://github.com/rust-lang/crates.io-index" 284 | checksum = "a21f936df1771bf62b77f047b726c4625ff2e8aa607c01ec06e5a05bd8463401" 285 | dependencies = [ 286 | "android-tzdata", 287 | "iana-time-zone", 288 | "js-sys", 289 | "num-traits", 290 | "wasm-bindgen", 291 | "windows-targets 0.52.6", 292 | ] 293 | 294 | [[package]] 295 | name = "const-random" 296 | version = "0.1.18" 297 | source = "registry+https://github.com/rust-lang/crates.io-index" 298 | checksum = "87e00182fe74b066627d63b85fd550ac2998d4b0bd86bfed477a0ae4c7c71359" 299 | dependencies = [ 300 | "const-random-macro", 301 | ] 302 | 303 | [[package]] 304 | name = "const-random-macro" 305 | version = "0.1.16" 306 | source = "registry+https://github.com/rust-lang/crates.io-index" 307 | checksum = "f9d839f2a20b0aee515dc581a6172f2321f96cab76c1a38a4c584a194955390e" 308 | dependencies = [ 309 | "getrandom", 310 | "once_cell", 311 | "tiny-keccak", 312 | ] 313 | 314 | [[package]] 315 | name = "constant_time_eq" 316 | version = "0.3.1" 317 | source = "registry+https://github.com/rust-lang/crates.io-index" 318 | checksum = "7c74b8349d32d297c9134b8c88677813a227df8f779daa29bfc29c183fe3dca6" 319 | 320 | [[package]] 321 | name = "core-foundation" 322 | version = "0.9.4" 323 | source = "registry+https://github.com/rust-lang/crates.io-index" 324 | checksum = "91e195e091a93c46f7102ec7818a2aa394e1e1771c3ab4825963fa03e45afb8f" 325 | dependencies = [ 326 | "core-foundation-sys", 327 | "libc", 328 | ] 329 | 330 | [[package]] 331 | name = "core-foundation-sys" 332 | version = "0.8.7" 333 | source = "registry+https://github.com/rust-lang/crates.io-index" 334 | checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b" 335 | 336 | [[package]] 337 | name = "crossbeam-utils" 338 | version = "0.8.21" 339 | source = "registry+https://github.com/rust-lang/crates.io-index" 340 | checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28" 341 | 342 | [[package]] 343 | name = "crunchy" 344 | version = "0.2.2" 345 | source = "registry+https://github.com/rust-lang/crates.io-index" 346 | checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7" 347 | 348 | [[package]] 349 | name = "dashmap" 350 | version = "6.1.0" 351 | source = "registry+https://github.com/rust-lang/crates.io-index" 352 | checksum = "5041cc499144891f3790297212f32a74fb938e5136a14943f338ef9e0ae276cf" 353 | dependencies = [ 354 | "cfg-if", 355 | "crossbeam-utils", 356 | "hashbrown", 357 | "lock_api", 358 | "once_cell", 359 | "parking_lot_core", 360 | ] 361 | 362 | [[package]] 363 | name = "data-encoding" 364 | version = "2.6.0" 365 | source = "registry+https://github.com/rust-lang/crates.io-index" 366 | checksum = "e8566979429cf69b49a5c740c60791108e86440e8be149bbea4fe54d2c32d6e2" 367 | 368 | [[package]] 369 | name = "dotenvy" 370 | version = "0.15.7" 371 | source = "registry+https://github.com/rust-lang/crates.io-index" 372 | checksum = "1aaf95b3e5c8f23aa320147307562d361db0ae0d51242340f558153b4eb2439b" 373 | 374 | [[package]] 375 | name = "elsa" 376 | version = "1.10.0" 377 | source = "registry+https://github.com/rust-lang/crates.io-index" 378 | checksum = "d98e71ae4df57d214182a2e5cb90230c0192c6ddfcaa05c36453d46a54713e10" 379 | dependencies = [ 380 | "stable_deref_trait", 381 | ] 382 | 383 | [[package]] 384 | name = "encoding_rs" 385 | version = "0.8.34" 386 | source = "registry+https://github.com/rust-lang/crates.io-index" 387 | checksum = "b45de904aa0b010bce2ab45264d0631681847fa7b6f2eaa7dab7619943bc4f59" 388 | dependencies = [ 389 | "cfg-if", 390 | ] 391 | 392 | [[package]] 393 | name = "equivalent" 394 | version = "1.0.1" 395 | source = "registry+https://github.com/rust-lang/crates.io-index" 396 | checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" 397 | 398 | [[package]] 399 | name = "errno" 400 | version = "0.3.9" 401 | source = "registry+https://github.com/rust-lang/crates.io-index" 402 | checksum = "534c5cf6194dfab3db3242765c03bbe257cf92f22b38f6bc0c58d59108a820ba" 403 | dependencies = [ 404 | "libc", 405 | "windows-sys 0.52.0", 406 | ] 407 | 408 | [[package]] 409 | name = "fastrand" 410 | version = "2.1.1" 411 | source = "registry+https://github.com/rust-lang/crates.io-index" 412 | checksum = "e8c02a5121d4ea3eb16a80748c74f5549a5665e4c21333c6098f283870fbdea6" 413 | 414 | [[package]] 415 | name = "float-cmp" 416 | version = "0.9.0" 417 | source = "registry+https://github.com/rust-lang/crates.io-index" 418 | checksum = "98de4bbd547a563b716d8dfa9aad1cb19bfab00f4fa09a6a4ed21dbcf44ce9c4" 419 | dependencies = [ 420 | "num-traits", 421 | ] 422 | 423 | [[package]] 424 | name = "fnv" 425 | version = "1.0.7" 426 | source = "registry+https://github.com/rust-lang/crates.io-index" 427 | checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" 428 | 429 | [[package]] 430 | name = "foreign-types" 431 | version = "0.3.2" 432 | source = "registry+https://github.com/rust-lang/crates.io-index" 433 | checksum = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1" 434 | dependencies = [ 435 | "foreign-types-shared", 436 | ] 437 | 438 | [[package]] 439 | name = "foreign-types-shared" 440 | version = "0.1.1" 441 | source = "registry+https://github.com/rust-lang/crates.io-index" 442 | checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" 443 | 444 | [[package]] 445 | name = "form_urlencoded" 446 | version = "1.2.1" 447 | source = "registry+https://github.com/rust-lang/crates.io-index" 448 | checksum = "e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456" 449 | dependencies = [ 450 | "percent-encoding", 451 | ] 452 | 453 | [[package]] 454 | name = "futures-channel" 455 | version = "0.3.30" 456 | source = "registry+https://github.com/rust-lang/crates.io-index" 457 | checksum = "eac8f7d7865dcb88bd4373ab671c8cf4508703796caa2b1985a9ca867b3fcb78" 458 | dependencies = [ 459 | "futures-core", 460 | ] 461 | 462 | [[package]] 463 | name = "futures-core" 464 | version = "0.3.30" 465 | source = "registry+https://github.com/rust-lang/crates.io-index" 466 | checksum = "dfc6580bb841c5a68e9ef15c77ccc837b40a7504914d52e47b8b0e9bbda25a1d" 467 | 468 | [[package]] 469 | name = "futures-sink" 470 | version = "0.3.30" 471 | source = "registry+https://github.com/rust-lang/crates.io-index" 472 | checksum = "9fb8e00e87438d937621c1c6269e53f536c14d3fbd6a042bb24879e57d474fb5" 473 | 474 | [[package]] 475 | name = "futures-task" 476 | version = "0.3.30" 477 | source = "registry+https://github.com/rust-lang/crates.io-index" 478 | checksum = "38d84fa142264698cdce1a9f9172cf383a0c82de1bddcf3092901442c4097004" 479 | 480 | [[package]] 481 | name = "futures-util" 482 | version = "0.3.30" 483 | source = "registry+https://github.com/rust-lang/crates.io-index" 484 | checksum = "3d6401deb83407ab3da39eba7e33987a73c3df0c82b4bb5813ee871c19c41d48" 485 | dependencies = [ 486 | "futures-core", 487 | "futures-task", 488 | "pin-project-lite", 489 | "pin-utils", 490 | ] 491 | 492 | [[package]] 493 | name = "getrandom" 494 | version = "0.2.15" 495 | source = "registry+https://github.com/rust-lang/crates.io-index" 496 | checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7" 497 | dependencies = [ 498 | "cfg-if", 499 | "js-sys", 500 | "libc", 501 | "wasi", 502 | "wasm-bindgen", 503 | ] 504 | 505 | [[package]] 506 | name = "gimli" 507 | version = "0.31.0" 508 | source = "registry+https://github.com/rust-lang/crates.io-index" 509 | checksum = "32085ea23f3234fc7846555e85283ba4de91e21016dc0455a16286d87a292d64" 510 | 511 | [[package]] 512 | name = "h2" 513 | version = "0.3.26" 514 | source = "registry+https://github.com/rust-lang/crates.io-index" 515 | checksum = "81fe527a889e1532da5c525686d96d4c2e74cdd345badf8dfef9f6b39dd5f5e8" 516 | dependencies = [ 517 | "bytes", 518 | "fnv", 519 | "futures-core", 520 | "futures-sink", 521 | "futures-util", 522 | "http", 523 | "indexmap", 524 | "slab", 525 | "tokio", 526 | "tokio-util", 527 | "tracing", 528 | ] 529 | 530 | [[package]] 531 | name = "halfbrown" 532 | version = "0.2.5" 533 | source = "registry+https://github.com/rust-lang/crates.io-index" 534 | checksum = "8588661a8607108a5ca69cab034063441a0413a0b041c13618a7dd348021ef6f" 535 | dependencies = [ 536 | "hashbrown", 537 | "serde", 538 | ] 539 | 540 | [[package]] 541 | name = "hashbrown" 542 | version = "0.14.5" 543 | source = "registry+https://github.com/rust-lang/crates.io-index" 544 | checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" 545 | dependencies = [ 546 | "ahash", 547 | "allocator-api2", 548 | ] 549 | 550 | [[package]] 551 | name = "heck" 552 | version = "0.4.1" 553 | source = "registry+https://github.com/rust-lang/crates.io-index" 554 | checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" 555 | 556 | [[package]] 557 | name = "hermit-abi" 558 | version = "0.3.9" 559 | source = "registry+https://github.com/rust-lang/crates.io-index" 560 | checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024" 561 | 562 | [[package]] 563 | name = "http" 564 | version = "0.2.12" 565 | source = "registry+https://github.com/rust-lang/crates.io-index" 566 | checksum = "601cbb57e577e2f5ef5be8e7b83f0f63994f25aa94d673e54a92d5c516d101f1" 567 | dependencies = [ 568 | "bytes", 569 | "fnv", 570 | "itoa", 571 | ] 572 | 573 | [[package]] 574 | name = "http-body" 575 | version = "0.4.6" 576 | source = "registry+https://github.com/rust-lang/crates.io-index" 577 | checksum = "7ceab25649e9960c0311ea418d17bee82c0dcec1bd053b5f9a66e265a693bed2" 578 | dependencies = [ 579 | "bytes", 580 | "http", 581 | "pin-project-lite", 582 | ] 583 | 584 | [[package]] 585 | name = "http-range-header" 586 | version = "0.3.1" 587 | source = "registry+https://github.com/rust-lang/crates.io-index" 588 | checksum = "add0ab9360ddbd88cfeb3bd9574a1d85cfdfa14db10b3e21d3700dbc4328758f" 589 | 590 | [[package]] 591 | name = "httparse" 592 | version = "1.9.4" 593 | source = "registry+https://github.com/rust-lang/crates.io-index" 594 | checksum = "0fcc0b4a115bf80b728eb8ea024ad5bd707b615bfed49e0665b6e0f86fd082d9" 595 | 596 | [[package]] 597 | name = "httpdate" 598 | version = "1.0.3" 599 | source = "registry+https://github.com/rust-lang/crates.io-index" 600 | checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9" 601 | 602 | [[package]] 603 | name = "hyper" 604 | version = "0.14.30" 605 | source = "registry+https://github.com/rust-lang/crates.io-index" 606 | checksum = "a152ddd61dfaec7273fe8419ab357f33aee0d914c5f4efbf0d96fa749eea5ec9" 607 | dependencies = [ 608 | "bytes", 609 | "futures-channel", 610 | "futures-core", 611 | "futures-util", 612 | "h2", 613 | "http", 614 | "http-body", 615 | "httparse", 616 | "httpdate", 617 | "itoa", 618 | "pin-project-lite", 619 | "socket2", 620 | "tokio", 621 | "tower-service", 622 | "tracing", 623 | "want", 624 | ] 625 | 626 | [[package]] 627 | name = "hyper-tls" 628 | version = "0.5.0" 629 | source = "registry+https://github.com/rust-lang/crates.io-index" 630 | checksum = "d6183ddfa99b85da61a140bea0efc93fdf56ceaa041b37d553518030827f9905" 631 | dependencies = [ 632 | "bytes", 633 | "hyper", 634 | "native-tls", 635 | "tokio", 636 | "tokio-native-tls", 637 | ] 638 | 639 | [[package]] 640 | name = "iana-time-zone" 641 | version = "0.1.61" 642 | source = "registry+https://github.com/rust-lang/crates.io-index" 643 | checksum = "235e081f3925a06703c2d0117ea8b91f042756fd6e7a6e5d901e8ca1a996b220" 644 | dependencies = [ 645 | "android_system_properties", 646 | "core-foundation-sys", 647 | "iana-time-zone-haiku", 648 | "js-sys", 649 | "wasm-bindgen", 650 | "windows-core", 651 | ] 652 | 653 | [[package]] 654 | name = "iana-time-zone-haiku" 655 | version = "0.1.2" 656 | source = "registry+https://github.com/rust-lang/crates.io-index" 657 | checksum = "f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f" 658 | dependencies = [ 659 | "cc", 660 | ] 661 | 662 | [[package]] 663 | name = "idna" 664 | version = "0.5.0" 665 | source = "registry+https://github.com/rust-lang/crates.io-index" 666 | checksum = "634d9b1461af396cad843f47fdba5597a4f9e6ddd4bfb6ff5d85028c25cb12f6" 667 | dependencies = [ 668 | "unicode-bidi", 669 | "unicode-normalization", 670 | ] 671 | 672 | [[package]] 673 | name = "indexmap" 674 | version = "2.5.0" 675 | source = "registry+https://github.com/rust-lang/crates.io-index" 676 | checksum = "68b900aa2f7301e21c36462b170ee99994de34dff39a4a6a528e80e7376d07e5" 677 | dependencies = [ 678 | "equivalent", 679 | "hashbrown", 680 | ] 681 | 682 | [[package]] 683 | name = "instant" 684 | version = "0.1.13" 685 | source = "registry+https://github.com/rust-lang/crates.io-index" 686 | checksum = "e0242819d153cba4b4b05a5a8f2a7e9bbf97b6055b2a002b395c96b5ff3c0222" 687 | dependencies = [ 688 | "cfg-if", 689 | ] 690 | 691 | [[package]] 692 | name = "ipnet" 693 | version = "2.10.0" 694 | source = "registry+https://github.com/rust-lang/crates.io-index" 695 | checksum = "187674a687eed5fe42285b40c6291f9a01517d415fad1c3cbc6a9f778af7fcd4" 696 | 697 | [[package]] 698 | name = "itoa" 699 | version = "1.0.11" 700 | source = "registry+https://github.com/rust-lang/crates.io-index" 701 | checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b" 702 | 703 | [[package]] 704 | name = "js-sys" 705 | version = "0.3.70" 706 | source = "registry+https://github.com/rust-lang/crates.io-index" 707 | checksum = "1868808506b929d7b0cfa8f75951347aa71bb21144b7791bae35d9bccfcfe37a" 708 | dependencies = [ 709 | "wasm-bindgen", 710 | ] 711 | 712 | [[package]] 713 | name = "lasso" 714 | version = "0.7.3" 715 | source = "registry+https://github.com/rust-lang/crates.io-index" 716 | checksum = "6e14eda50a3494b3bf7b9ce51c52434a761e383d7238ce1dd5dcec2fbc13e9fb" 717 | dependencies = [ 718 | "dashmap", 719 | "hashbrown", 720 | ] 721 | 722 | [[package]] 723 | name = "lazy_static" 724 | version = "1.5.0" 725 | source = "registry+https://github.com/rust-lang/crates.io-index" 726 | checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" 727 | 728 | [[package]] 729 | name = "lexical-core" 730 | version = "0.8.5" 731 | source = "registry+https://github.com/rust-lang/crates.io-index" 732 | checksum = "2cde5de06e8d4c2faabc400238f9ae1c74d5412d03a7bd067645ccbc47070e46" 733 | dependencies = [ 734 | "lexical-parse-float", 735 | "lexical-parse-integer", 736 | "lexical-util", 737 | "lexical-write-float", 738 | "lexical-write-integer", 739 | ] 740 | 741 | [[package]] 742 | name = "lexical-parse-float" 743 | version = "0.8.5" 744 | source = "registry+https://github.com/rust-lang/crates.io-index" 745 | checksum = "683b3a5ebd0130b8fb52ba0bdc718cc56815b6a097e28ae5a6997d0ad17dc05f" 746 | dependencies = [ 747 | "lexical-parse-integer", 748 | "lexical-util", 749 | "static_assertions", 750 | ] 751 | 752 | [[package]] 753 | name = "lexical-parse-integer" 754 | version = "0.8.6" 755 | source = "registry+https://github.com/rust-lang/crates.io-index" 756 | checksum = "6d0994485ed0c312f6d965766754ea177d07f9c00c9b82a5ee62ed5b47945ee9" 757 | dependencies = [ 758 | "lexical-util", 759 | "static_assertions", 760 | ] 761 | 762 | [[package]] 763 | name = "lexical-util" 764 | version = "0.8.5" 765 | source = "registry+https://github.com/rust-lang/crates.io-index" 766 | checksum = "5255b9ff16ff898710eb9eb63cb39248ea8a5bb036bea8085b1a767ff6c4e3fc" 767 | dependencies = [ 768 | "static_assertions", 769 | ] 770 | 771 | [[package]] 772 | name = "lexical-write-float" 773 | version = "0.8.5" 774 | source = "registry+https://github.com/rust-lang/crates.io-index" 775 | checksum = "accabaa1c4581f05a3923d1b4cfd124c329352288b7b9da09e766b0668116862" 776 | dependencies = [ 777 | "lexical-util", 778 | "lexical-write-integer", 779 | "static_assertions", 780 | ] 781 | 782 | [[package]] 783 | name = "lexical-write-integer" 784 | version = "0.8.5" 785 | source = "registry+https://github.com/rust-lang/crates.io-index" 786 | checksum = "e1b6f3d1f4422866b68192d62f77bc5c700bee84f3069f2469d7bc8c77852446" 787 | dependencies = [ 788 | "lexical-util", 789 | "static_assertions", 790 | ] 791 | 792 | [[package]] 793 | name = "libc" 794 | version = "0.2.158" 795 | source = "registry+https://github.com/rust-lang/crates.io-index" 796 | checksum = "d8adc4bb1803a324070e64a98ae98f38934d91957a99cfb3a43dcbc01bc56439" 797 | 798 | [[package]] 799 | name = "libmimalloc-sys" 800 | version = "0.1.39" 801 | source = "registry+https://github.com/rust-lang/crates.io-index" 802 | checksum = "23aa6811d3bd4deb8a84dde645f943476d13b248d818edcf8ce0b2f37f036b44" 803 | dependencies = [ 804 | "cc", 805 | "libc", 806 | ] 807 | 808 | [[package]] 809 | name = "linux-raw-sys" 810 | version = "0.4.14" 811 | source = "registry+https://github.com/rust-lang/crates.io-index" 812 | checksum = "78b3ae25bc7c8c38cec158d1f2757ee79e9b3740fbc7ccf0e59e4b08d793fa89" 813 | 814 | [[package]] 815 | name = "lock_api" 816 | version = "0.4.12" 817 | source = "registry+https://github.com/rust-lang/crates.io-index" 818 | checksum = "07af8b9cdd281b7915f413fa73f29ebd5d55d0d3f0155584dade1ff18cea1b17" 819 | dependencies = [ 820 | "autocfg", 821 | "scopeguard", 822 | ] 823 | 824 | [[package]] 825 | name = "log" 826 | version = "0.4.22" 827 | source = "registry+https://github.com/rust-lang/crates.io-index" 828 | checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24" 829 | 830 | [[package]] 831 | name = "matchit" 832 | version = "0.7.3" 833 | source = "registry+https://github.com/rust-lang/crates.io-index" 834 | checksum = "0e7465ac9959cc2b1404e8e2367b43684a6d13790fe23056cc8c6c5a6b7bcb94" 835 | 836 | [[package]] 837 | name = "memchr" 838 | version = "2.7.4" 839 | source = "registry+https://github.com/rust-lang/crates.io-index" 840 | checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3" 841 | 842 | [[package]] 843 | name = "memmap2" 844 | version = "0.9.5" 845 | source = "registry+https://github.com/rust-lang/crates.io-index" 846 | checksum = "fd3f7eed9d3848f8b98834af67102b720745c4ec028fcd0aa0239277e7de374f" 847 | dependencies = [ 848 | "libc", 849 | ] 850 | 851 | [[package]] 852 | name = "mimalloc" 853 | version = "0.1.43" 854 | source = "registry+https://github.com/rust-lang/crates.io-index" 855 | checksum = "68914350ae34959d83f732418d51e2427a794055d0b9529f48259ac07af65633" 856 | dependencies = [ 857 | "libmimalloc-sys", 858 | ] 859 | 860 | [[package]] 861 | name = "mime" 862 | version = "0.3.17" 863 | source = "registry+https://github.com/rust-lang/crates.io-index" 864 | checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a" 865 | 866 | [[package]] 867 | name = "miniz_oxide" 868 | version = "0.8.0" 869 | source = "registry+https://github.com/rust-lang/crates.io-index" 870 | checksum = "e2d80299ef12ff69b16a84bb182e3b9df68b5a91574d3d4fa6e41b65deec4df1" 871 | dependencies = [ 872 | "adler2", 873 | ] 874 | 875 | [[package]] 876 | name = "mio" 877 | version = "1.0.2" 878 | source = "registry+https://github.com/rust-lang/crates.io-index" 879 | checksum = "80e04d1dcff3aae0704555fe5fee3bcfaf3d1fdf8a7e521d5b9d2b42acb52cec" 880 | dependencies = [ 881 | "hermit-abi", 882 | "libc", 883 | "wasi", 884 | "windows-sys 0.52.0", 885 | ] 886 | 887 | [[package]] 888 | name = "munge" 889 | version = "0.4.1" 890 | source = "registry+https://github.com/rust-lang/crates.io-index" 891 | checksum = "64142d38c84badf60abf06ff9bd80ad2174306a5b11bd4706535090a30a419df" 892 | dependencies = [ 893 | "munge_macro", 894 | ] 895 | 896 | [[package]] 897 | name = "munge_macro" 898 | version = "0.4.1" 899 | source = "registry+https://github.com/rust-lang/crates.io-index" 900 | checksum = "1bb5c1d8184f13f7d0ccbeeca0def2f9a181bce2624302793005f5ca8aa62e5e" 901 | dependencies = [ 902 | "proc-macro2", 903 | "quote", 904 | "syn", 905 | ] 906 | 907 | [[package]] 908 | name = "native-tls" 909 | version = "0.2.12" 910 | source = "registry+https://github.com/rust-lang/crates.io-index" 911 | checksum = "a8614eb2c83d59d1c8cc974dd3f920198647674a0a035e1af1fa58707e317466" 912 | dependencies = [ 913 | "libc", 914 | "log", 915 | "openssl", 916 | "openssl-probe", 917 | "openssl-sys", 918 | "schannel", 919 | "security-framework", 920 | "security-framework-sys", 921 | "tempfile", 922 | ] 923 | 924 | [[package]] 925 | name = "num-traits" 926 | version = "0.2.19" 927 | source = "registry+https://github.com/rust-lang/crates.io-index" 928 | checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" 929 | dependencies = [ 930 | "autocfg", 931 | ] 932 | 933 | [[package]] 934 | name = "object" 935 | version = "0.36.4" 936 | source = "registry+https://github.com/rust-lang/crates.io-index" 937 | checksum = "084f1a5821ac4c651660a94a7153d27ac9d8a53736203f58b31945ded098070a" 938 | dependencies = [ 939 | "memchr", 940 | ] 941 | 942 | [[package]] 943 | name = "once_cell" 944 | version = "1.19.0" 945 | source = "registry+https://github.com/rust-lang/crates.io-index" 946 | checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" 947 | 948 | [[package]] 949 | name = "openssl" 950 | version = "0.10.66" 951 | source = "registry+https://github.com/rust-lang/crates.io-index" 952 | checksum = "9529f4786b70a3e8c61e11179af17ab6188ad8d0ded78c5529441ed39d4bd9c1" 953 | dependencies = [ 954 | "bitflags 2.6.0", 955 | "cfg-if", 956 | "foreign-types", 957 | "libc", 958 | "once_cell", 959 | "openssl-macros", 960 | "openssl-sys", 961 | ] 962 | 963 | [[package]] 964 | name = "openssl-macros" 965 | version = "0.1.1" 966 | source = "registry+https://github.com/rust-lang/crates.io-index" 967 | checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c" 968 | dependencies = [ 969 | "proc-macro2", 970 | "quote", 971 | "syn", 972 | ] 973 | 974 | [[package]] 975 | name = "openssl-probe" 976 | version = "0.1.5" 977 | source = "registry+https://github.com/rust-lang/crates.io-index" 978 | checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" 979 | 980 | [[package]] 981 | name = "openssl-sys" 982 | version = "0.9.103" 983 | source = "registry+https://github.com/rust-lang/crates.io-index" 984 | checksum = "7f9e8deee91df40a943c71b917e5874b951d32a802526c85721ce3b776c929d6" 985 | dependencies = [ 986 | "cc", 987 | "libc", 988 | "pkg-config", 989 | "vcpkg", 990 | ] 991 | 992 | [[package]] 993 | name = "parking_lot" 994 | version = "0.12.3" 995 | source = "registry+https://github.com/rust-lang/crates.io-index" 996 | checksum = "f1bf18183cf54e8d6059647fc3063646a1801cf30896933ec2311622cc4b9a27" 997 | dependencies = [ 998 | "lock_api", 999 | "parking_lot_core", 1000 | ] 1001 | 1002 | [[package]] 1003 | name = "parking_lot_core" 1004 | version = "0.9.10" 1005 | source = "registry+https://github.com/rust-lang/crates.io-index" 1006 | checksum = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8" 1007 | dependencies = [ 1008 | "cfg-if", 1009 | "libc", 1010 | "redox_syscall", 1011 | "smallvec", 1012 | "windows-targets 0.52.6", 1013 | ] 1014 | 1015 | [[package]] 1016 | name = "percent-encoding" 1017 | version = "2.3.1" 1018 | source = "registry+https://github.com/rust-lang/crates.io-index" 1019 | checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" 1020 | 1021 | [[package]] 1022 | name = "pin-project" 1023 | version = "1.1.5" 1024 | source = "registry+https://github.com/rust-lang/crates.io-index" 1025 | checksum = "b6bf43b791c5b9e34c3d182969b4abb522f9343702850a2e57f460d00d09b4b3" 1026 | dependencies = [ 1027 | "pin-project-internal", 1028 | ] 1029 | 1030 | [[package]] 1031 | name = "pin-project-internal" 1032 | version = "1.1.5" 1033 | source = "registry+https://github.com/rust-lang/crates.io-index" 1034 | checksum = "2f38a4412a78282e09a2cf38d195ea5420d15ba0602cb375210efbc877243965" 1035 | dependencies = [ 1036 | "proc-macro2", 1037 | "quote", 1038 | "syn", 1039 | ] 1040 | 1041 | [[package]] 1042 | name = "pin-project-lite" 1043 | version = "0.2.14" 1044 | source = "registry+https://github.com/rust-lang/crates.io-index" 1045 | checksum = "bda66fc9667c18cb2758a2ac84d1167245054bcf85d5d1aaa6923f45801bdd02" 1046 | 1047 | [[package]] 1048 | name = "pin-utils" 1049 | version = "0.1.0" 1050 | source = "registry+https://github.com/rust-lang/crates.io-index" 1051 | checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" 1052 | 1053 | [[package]] 1054 | name = "pkg-config" 1055 | version = "0.3.30" 1056 | source = "registry+https://github.com/rust-lang/crates.io-index" 1057 | checksum = "d231b230927b5e4ad203db57bbcbee2802f6bce620b1e4a9024a07d94e2907ec" 1058 | 1059 | [[package]] 1060 | name = "ppv-lite86" 1061 | version = "0.2.20" 1062 | source = "registry+https://github.com/rust-lang/crates.io-index" 1063 | checksum = "77957b295656769bb8ad2b6a6b09d897d94f05c41b069aede1fcdaa675eaea04" 1064 | dependencies = [ 1065 | "zerocopy", 1066 | ] 1067 | 1068 | [[package]] 1069 | name = "proc-macro2" 1070 | version = "1.0.86" 1071 | source = "registry+https://github.com/rust-lang/crates.io-index" 1072 | checksum = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77" 1073 | dependencies = [ 1074 | "unicode-ident", 1075 | ] 1076 | 1077 | [[package]] 1078 | name = "ptr_meta" 1079 | version = "0.3.0" 1080 | source = "registry+https://github.com/rust-lang/crates.io-index" 1081 | checksum = "fe9e76f66d3f9606f44e45598d155cb13ecf09f4a28199e48daf8c8fc937ea90" 1082 | dependencies = [ 1083 | "ptr_meta_derive", 1084 | ] 1085 | 1086 | [[package]] 1087 | name = "ptr_meta_derive" 1088 | version = "0.3.0" 1089 | source = "registry+https://github.com/rust-lang/crates.io-index" 1090 | checksum = "ca414edb151b4c8d125c12566ab0d74dc9cdba36fb80eb7b848c15f495fd32d1" 1091 | dependencies = [ 1092 | "proc-macro2", 1093 | "quote", 1094 | "syn", 1095 | ] 1096 | 1097 | [[package]] 1098 | name = "quote" 1099 | version = "1.0.37" 1100 | source = "registry+https://github.com/rust-lang/crates.io-index" 1101 | checksum = "b5b9d34b8991d19d98081b46eacdd8eb58c6f2b201139f7c5f643cc155a633af" 1102 | dependencies = [ 1103 | "proc-macro2", 1104 | ] 1105 | 1106 | [[package]] 1107 | name = "rancor" 1108 | version = "0.1.0" 1109 | source = "registry+https://github.com/rust-lang/crates.io-index" 1110 | checksum = "caf5f7161924b9d1cea0e4cabc97c372cea92b5f927fc13c6bca67157a0ad947" 1111 | dependencies = [ 1112 | "ptr_meta", 1113 | ] 1114 | 1115 | [[package]] 1116 | name = "rand" 1117 | version = "0.8.5" 1118 | source = "registry+https://github.com/rust-lang/crates.io-index" 1119 | checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" 1120 | dependencies = [ 1121 | "libc", 1122 | "rand_chacha", 1123 | "rand_core", 1124 | ] 1125 | 1126 | [[package]] 1127 | name = "rand_chacha" 1128 | version = "0.3.1" 1129 | source = "registry+https://github.com/rust-lang/crates.io-index" 1130 | checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" 1131 | dependencies = [ 1132 | "ppv-lite86", 1133 | "rand_core", 1134 | ] 1135 | 1136 | [[package]] 1137 | name = "rand_core" 1138 | version = "0.6.4" 1139 | source = "registry+https://github.com/rust-lang/crates.io-index" 1140 | checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" 1141 | dependencies = [ 1142 | "getrandom", 1143 | ] 1144 | 1145 | [[package]] 1146 | name = "redox_syscall" 1147 | version = "0.5.4" 1148 | source = "registry+https://github.com/rust-lang/crates.io-index" 1149 | checksum = "0884ad60e090bf1345b93da0a5de8923c93884cd03f40dfcfddd3b4bee661853" 1150 | dependencies = [ 1151 | "bitflags 2.6.0", 1152 | ] 1153 | 1154 | [[package]] 1155 | name = "ref-cast" 1156 | version = "1.0.23" 1157 | source = "registry+https://github.com/rust-lang/crates.io-index" 1158 | checksum = "ccf0a6f84d5f1d581da8b41b47ec8600871962f2a528115b542b362d4b744931" 1159 | dependencies = [ 1160 | "ref-cast-impl", 1161 | ] 1162 | 1163 | [[package]] 1164 | name = "ref-cast-impl" 1165 | version = "1.0.23" 1166 | source = "registry+https://github.com/rust-lang/crates.io-index" 1167 | checksum = "bcc303e793d3734489387d205e9b186fac9c6cfacedd98cbb2e8a5943595f3e6" 1168 | dependencies = [ 1169 | "proc-macro2", 1170 | "quote", 1171 | "syn", 1172 | ] 1173 | 1174 | [[package]] 1175 | name = "regex" 1176 | version = "1.10.6" 1177 | source = "registry+https://github.com/rust-lang/crates.io-index" 1178 | checksum = "4219d74c6b67a3654a9fbebc4b419e22126d13d2f3c4a07ee0cb61ff79a79619" 1179 | dependencies = [ 1180 | "aho-corasick", 1181 | "memchr", 1182 | "regex-automata", 1183 | "regex-syntax", 1184 | ] 1185 | 1186 | [[package]] 1187 | name = "regex-automata" 1188 | version = "0.4.7" 1189 | source = "registry+https://github.com/rust-lang/crates.io-index" 1190 | checksum = "38caf58cc5ef2fed281f89292ef23f6365465ed9a41b7a7754eb4e26496c92df" 1191 | dependencies = [ 1192 | "aho-corasick", 1193 | "memchr", 1194 | "regex-syntax", 1195 | ] 1196 | 1197 | [[package]] 1198 | name = "regex-syntax" 1199 | version = "0.8.4" 1200 | source = "registry+https://github.com/rust-lang/crates.io-index" 1201 | checksum = "7a66a03ae7c801facd77a29370b4faec201768915ac14a721ba36f20bc9c209b" 1202 | 1203 | [[package]] 1204 | name = "rend" 1205 | version = "0.5.1" 1206 | source = "registry+https://github.com/rust-lang/crates.io-index" 1207 | checksum = "a31c1f1959e4db12c985c0283656be0925f1539549db1e47c4bd0b8b599e1ef7" 1208 | dependencies = [ 1209 | "bytecheck", 1210 | ] 1211 | 1212 | [[package]] 1213 | name = "reqwest" 1214 | version = "0.11.27" 1215 | source = "registry+https://github.com/rust-lang/crates.io-index" 1216 | checksum = "dd67538700a17451e7cba03ac727fb961abb7607553461627b97de0b89cf4a62" 1217 | dependencies = [ 1218 | "base64", 1219 | "bytes", 1220 | "encoding_rs", 1221 | "futures-core", 1222 | "futures-util", 1223 | "h2", 1224 | "http", 1225 | "http-body", 1226 | "hyper", 1227 | "hyper-tls", 1228 | "ipnet", 1229 | "js-sys", 1230 | "log", 1231 | "mime", 1232 | "native-tls", 1233 | "once_cell", 1234 | "percent-encoding", 1235 | "pin-project-lite", 1236 | "rustls-pemfile", 1237 | "serde", 1238 | "serde_json", 1239 | "serde_urlencoded", 1240 | "sync_wrapper", 1241 | "system-configuration", 1242 | "tokio", 1243 | "tokio-native-tls", 1244 | "tower-service", 1245 | "url", 1246 | "wasm-bindgen", 1247 | "wasm-bindgen-futures", 1248 | "web-sys", 1249 | "winreg", 1250 | ] 1251 | 1252 | [[package]] 1253 | name = "rhai" 1254 | version = "1.19.0" 1255 | source = "registry+https://github.com/rust-lang/crates.io-index" 1256 | checksum = "61797318be89b1a268a018a92a7657096d83f3ecb31418b9e9c16dcbb043b702" 1257 | dependencies = [ 1258 | "ahash", 1259 | "bitflags 2.6.0", 1260 | "instant", 1261 | "num-traits", 1262 | "once_cell", 1263 | "rhai_codegen", 1264 | "smallvec", 1265 | "smartstring", 1266 | "thin-vec", 1267 | ] 1268 | 1269 | [[package]] 1270 | name = "rhai_codegen" 1271 | version = "2.2.0" 1272 | source = "registry+https://github.com/rust-lang/crates.io-index" 1273 | checksum = "a5a11a05ee1ce44058fa3d5961d05194fdbe3ad6b40f904af764d81b86450e6b" 1274 | dependencies = [ 1275 | "proc-macro2", 1276 | "quote", 1277 | "syn", 1278 | ] 1279 | 1280 | [[package]] 1281 | name = "rkyv" 1282 | version = "0.8.7" 1283 | source = "registry+https://github.com/rust-lang/crates.io-index" 1284 | checksum = "4cd40b3d7c5ebf1fd27409e7919fa1bc33031ba0a3272f71a79962227c19c014" 1285 | dependencies = [ 1286 | "bytecheck", 1287 | "bytes", 1288 | "hashbrown", 1289 | "indexmap", 1290 | "munge", 1291 | "ptr_meta", 1292 | "rancor", 1293 | "rend", 1294 | "rkyv_derive", 1295 | "tinyvec", 1296 | "uuid", 1297 | ] 1298 | 1299 | [[package]] 1300 | name = "rkyv_derive" 1301 | version = "0.8.7" 1302 | source = "registry+https://github.com/rust-lang/crates.io-index" 1303 | checksum = "aab86cc9c832a98f38a6381cd553def87dc9e952c0699ec788072d2e5aa494f9" 1304 | dependencies = [ 1305 | "proc-macro2", 1306 | "quote", 1307 | "syn", 1308 | ] 1309 | 1310 | [[package]] 1311 | name = "roaring" 1312 | version = "0.10.10" 1313 | source = "registry+https://github.com/rust-lang/crates.io-index" 1314 | checksum = "a652edd001c53df0b3f96a36a8dc93fce6866988efc16808235653c6bcac8bf2" 1315 | dependencies = [ 1316 | "bytemuck", 1317 | "byteorder", 1318 | ] 1319 | 1320 | [[package]] 1321 | name = "rustc-demangle" 1322 | version = "0.1.24" 1323 | source = "registry+https://github.com/rust-lang/crates.io-index" 1324 | checksum = "719b953e2095829ee67db738b3bfa9fa368c94900df327b3f07fe6e794d2fe1f" 1325 | 1326 | [[package]] 1327 | name = "rustix" 1328 | version = "0.38.37" 1329 | source = "registry+https://github.com/rust-lang/crates.io-index" 1330 | checksum = "8acb788b847c24f28525660c4d7758620a7210875711f79e7f663cc152726811" 1331 | dependencies = [ 1332 | "bitflags 2.6.0", 1333 | "errno", 1334 | "libc", 1335 | "linux-raw-sys", 1336 | "windows-sys 0.52.0", 1337 | ] 1338 | 1339 | [[package]] 1340 | name = "rustls-pemfile" 1341 | version = "1.0.4" 1342 | source = "registry+https://github.com/rust-lang/crates.io-index" 1343 | checksum = "1c74cae0a4cf6ccbbf5f359f08efdf8ee7e1dc532573bf0db71968cb56b1448c" 1344 | dependencies = [ 1345 | "base64", 1346 | ] 1347 | 1348 | [[package]] 1349 | name = "rustversion" 1350 | version = "1.0.17" 1351 | source = "registry+https://github.com/rust-lang/crates.io-index" 1352 | checksum = "955d28af4278de8121b7ebeb796b6a45735dc01436d898801014aced2773a3d6" 1353 | 1354 | [[package]] 1355 | name = "ryu" 1356 | version = "1.0.18" 1357 | source = "registry+https://github.com/rust-lang/crates.io-index" 1358 | checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f" 1359 | 1360 | [[package]] 1361 | name = "schannel" 1362 | version = "0.1.24" 1363 | source = "registry+https://github.com/rust-lang/crates.io-index" 1364 | checksum = "e9aaafd5a2b6e3d657ff009d82fbd630b6bd54dd4eb06f21693925cdf80f9b8b" 1365 | dependencies = [ 1366 | "windows-sys 0.59.0", 1367 | ] 1368 | 1369 | [[package]] 1370 | name = "scopeguard" 1371 | version = "1.2.0" 1372 | source = "registry+https://github.com/rust-lang/crates.io-index" 1373 | checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" 1374 | 1375 | [[package]] 1376 | name = "security-framework" 1377 | version = "2.11.1" 1378 | source = "registry+https://github.com/rust-lang/crates.io-index" 1379 | checksum = "897b2245f0b511c87893af39b033e5ca9cce68824c4d7e7630b5a1d339658d02" 1380 | dependencies = [ 1381 | "bitflags 2.6.0", 1382 | "core-foundation", 1383 | "core-foundation-sys", 1384 | "libc", 1385 | "security-framework-sys", 1386 | ] 1387 | 1388 | [[package]] 1389 | name = "security-framework-sys" 1390 | version = "2.11.1" 1391 | source = "registry+https://github.com/rust-lang/crates.io-index" 1392 | checksum = "75da29fe9b9b08fe9d6b22b5b4bcbc75d8db3aa31e639aa56bb62e9d46bfceaf" 1393 | dependencies = [ 1394 | "core-foundation-sys", 1395 | "libc", 1396 | ] 1397 | 1398 | [[package]] 1399 | name = "serde" 1400 | version = "1.0.210" 1401 | source = "registry+https://github.com/rust-lang/crates.io-index" 1402 | checksum = "c8e3592472072e6e22e0a54d5904d9febf8508f65fb8552499a1abc7d1078c3a" 1403 | dependencies = [ 1404 | "serde_derive", 1405 | ] 1406 | 1407 | [[package]] 1408 | name = "serde_derive" 1409 | version = "1.0.210" 1410 | source = "registry+https://github.com/rust-lang/crates.io-index" 1411 | checksum = "243902eda00fad750862fc144cea25caca5e20d615af0a81bee94ca738f1df1f" 1412 | dependencies = [ 1413 | "proc-macro2", 1414 | "quote", 1415 | "syn", 1416 | ] 1417 | 1418 | [[package]] 1419 | name = "serde_json" 1420 | version = "1.0.128" 1421 | source = "registry+https://github.com/rust-lang/crates.io-index" 1422 | checksum = "6ff5456707a1de34e7e37f2a6fd3d3f808c318259cbd01ab6377795054b483d8" 1423 | dependencies = [ 1424 | "itoa", 1425 | "memchr", 1426 | "ryu", 1427 | "serde", 1428 | ] 1429 | 1430 | [[package]] 1431 | name = "serde_path_to_error" 1432 | version = "0.1.16" 1433 | source = "registry+https://github.com/rust-lang/crates.io-index" 1434 | checksum = "af99884400da37c88f5e9146b7f1fd0fbcae8f6eec4e9da38b67d05486f814a6" 1435 | dependencies = [ 1436 | "itoa", 1437 | "serde", 1438 | ] 1439 | 1440 | [[package]] 1441 | name = "serde_urlencoded" 1442 | version = "0.7.1" 1443 | source = "registry+https://github.com/rust-lang/crates.io-index" 1444 | checksum = "d3491c14715ca2294c4d6a88f15e84739788c1d030eed8c110436aafdaa2f3fd" 1445 | dependencies = [ 1446 | "form_urlencoded", 1447 | "itoa", 1448 | "ryu", 1449 | "serde", 1450 | ] 1451 | 1452 | [[package]] 1453 | name = "shlex" 1454 | version = "1.3.0" 1455 | source = "registry+https://github.com/rust-lang/crates.io-index" 1456 | checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" 1457 | 1458 | [[package]] 1459 | name = "signal-hook-registry" 1460 | version = "1.4.2" 1461 | source = "registry+https://github.com/rust-lang/crates.io-index" 1462 | checksum = "a9e9e0b4211b72e7b8b6e85c807d36c212bdb33ea8587f7569562a84df5465b1" 1463 | dependencies = [ 1464 | "libc", 1465 | ] 1466 | 1467 | [[package]] 1468 | name = "simd-json" 1469 | version = "0.13.10" 1470 | source = "registry+https://github.com/rust-lang/crates.io-index" 1471 | checksum = "570c430b3d902ea083097e853263ae782dfe40857d93db019a12356c8e8143fa" 1472 | dependencies = [ 1473 | "getrandom", 1474 | "halfbrown", 1475 | "lexical-core", 1476 | "ref-cast", 1477 | "serde", 1478 | "serde_json", 1479 | "simdutf8", 1480 | "value-trait", 1481 | ] 1482 | 1483 | [[package]] 1484 | name = "simdutf8" 1485 | version = "0.1.4" 1486 | source = "registry+https://github.com/rust-lang/crates.io-index" 1487 | checksum = "f27f6278552951f1f2b8cf9da965d10969b2efdea95a6ec47987ab46edfe263a" 1488 | 1489 | [[package]] 1490 | name = "skyfeed-query-engine" 1491 | version = "0.1.0" 1492 | dependencies = [ 1493 | "anyhow", 1494 | "arc-swap", 1495 | "axum", 1496 | "axum-macros", 1497 | "base64", 1498 | "blake3", 1499 | "boxcar", 1500 | "chrono", 1501 | "data-encoding", 1502 | "dotenvy", 1503 | "elsa", 1504 | "http", 1505 | "lasso", 1506 | "lazy_static", 1507 | "memmap2", 1508 | "mimalloc", 1509 | "rand", 1510 | "regex", 1511 | "reqwest", 1512 | "rhai", 1513 | "rkyv", 1514 | "roaring", 1515 | "serde", 1516 | "serde_json", 1517 | "simd-json", 1518 | "tokio", 1519 | "tower-http", 1520 | ] 1521 | 1522 | [[package]] 1523 | name = "slab" 1524 | version = "0.4.9" 1525 | source = "registry+https://github.com/rust-lang/crates.io-index" 1526 | checksum = "8f92a496fb766b417c996b9c5e57daf2f7ad3b0bebe1ccfca4856390e3d3bb67" 1527 | dependencies = [ 1528 | "autocfg", 1529 | ] 1530 | 1531 | [[package]] 1532 | name = "smallvec" 1533 | version = "1.13.2" 1534 | source = "registry+https://github.com/rust-lang/crates.io-index" 1535 | checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" 1536 | 1537 | [[package]] 1538 | name = "smartstring" 1539 | version = "1.0.1" 1540 | source = "registry+https://github.com/rust-lang/crates.io-index" 1541 | checksum = "3fb72c633efbaa2dd666986505016c32c3044395ceaf881518399d2f4127ee29" 1542 | dependencies = [ 1543 | "autocfg", 1544 | "static_assertions", 1545 | "version_check", 1546 | ] 1547 | 1548 | [[package]] 1549 | name = "socket2" 1550 | version = "0.5.7" 1551 | source = "registry+https://github.com/rust-lang/crates.io-index" 1552 | checksum = "ce305eb0b4296696835b71df73eb912e0f1ffd2556a501fcede6e0c50349191c" 1553 | dependencies = [ 1554 | "libc", 1555 | "windows-sys 0.52.0", 1556 | ] 1557 | 1558 | [[package]] 1559 | name = "stable_deref_trait" 1560 | version = "1.2.0" 1561 | source = "registry+https://github.com/rust-lang/crates.io-index" 1562 | checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" 1563 | 1564 | [[package]] 1565 | name = "static_assertions" 1566 | version = "1.1.0" 1567 | source = "registry+https://github.com/rust-lang/crates.io-index" 1568 | checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" 1569 | 1570 | [[package]] 1571 | name = "syn" 1572 | version = "2.0.77" 1573 | source = "registry+https://github.com/rust-lang/crates.io-index" 1574 | checksum = "9f35bcdf61fd8e7be6caf75f429fdca8beb3ed76584befb503b1569faee373ed" 1575 | dependencies = [ 1576 | "proc-macro2", 1577 | "quote", 1578 | "unicode-ident", 1579 | ] 1580 | 1581 | [[package]] 1582 | name = "sync_wrapper" 1583 | version = "0.1.2" 1584 | source = "registry+https://github.com/rust-lang/crates.io-index" 1585 | checksum = "2047c6ded9c721764247e62cd3b03c09ffc529b2ba5b10ec482ae507a4a70160" 1586 | 1587 | [[package]] 1588 | name = "system-configuration" 1589 | version = "0.5.1" 1590 | source = "registry+https://github.com/rust-lang/crates.io-index" 1591 | checksum = "ba3a3adc5c275d719af8cb4272ea1c4a6d668a777f37e115f6d11ddbc1c8e0e7" 1592 | dependencies = [ 1593 | "bitflags 1.3.2", 1594 | "core-foundation", 1595 | "system-configuration-sys", 1596 | ] 1597 | 1598 | [[package]] 1599 | name = "system-configuration-sys" 1600 | version = "0.5.0" 1601 | source = "registry+https://github.com/rust-lang/crates.io-index" 1602 | checksum = "a75fb188eb626b924683e3b95e3a48e63551fcfb51949de2f06a9d91dbee93c9" 1603 | dependencies = [ 1604 | "core-foundation-sys", 1605 | "libc", 1606 | ] 1607 | 1608 | [[package]] 1609 | name = "tempfile" 1610 | version = "3.12.0" 1611 | source = "registry+https://github.com/rust-lang/crates.io-index" 1612 | checksum = "04cbcdd0c794ebb0d4cf35e88edd2f7d2c4c3e9a5a6dab322839b321c6a87a64" 1613 | dependencies = [ 1614 | "cfg-if", 1615 | "fastrand", 1616 | "once_cell", 1617 | "rustix", 1618 | "windows-sys 0.59.0", 1619 | ] 1620 | 1621 | [[package]] 1622 | name = "thin-vec" 1623 | version = "0.2.13" 1624 | source = "registry+https://github.com/rust-lang/crates.io-index" 1625 | checksum = "a38c90d48152c236a3ab59271da4f4ae63d678c5d7ad6b7714d7cb9760be5e4b" 1626 | 1627 | [[package]] 1628 | name = "tiny-keccak" 1629 | version = "2.0.2" 1630 | source = "registry+https://github.com/rust-lang/crates.io-index" 1631 | checksum = "2c9d3793400a45f954c52e73d068316d76b6f4e36977e3fcebb13a2721e80237" 1632 | dependencies = [ 1633 | "crunchy", 1634 | ] 1635 | 1636 | [[package]] 1637 | name = "tinyvec" 1638 | version = "1.8.0" 1639 | source = "registry+https://github.com/rust-lang/crates.io-index" 1640 | checksum = "445e881f4f6d382d5f27c034e25eb92edd7c784ceab92a0937db7f2e9471b938" 1641 | dependencies = [ 1642 | "tinyvec_macros", 1643 | ] 1644 | 1645 | [[package]] 1646 | name = "tinyvec_macros" 1647 | version = "0.1.1" 1648 | source = "registry+https://github.com/rust-lang/crates.io-index" 1649 | checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" 1650 | 1651 | [[package]] 1652 | name = "tokio" 1653 | version = "1.40.0" 1654 | source = "registry+https://github.com/rust-lang/crates.io-index" 1655 | checksum = "e2b070231665d27ad9ec9b8df639893f46727666c6767db40317fbe920a5d998" 1656 | dependencies = [ 1657 | "backtrace", 1658 | "bytes", 1659 | "libc", 1660 | "mio", 1661 | "parking_lot", 1662 | "pin-project-lite", 1663 | "signal-hook-registry", 1664 | "socket2", 1665 | "tokio-macros", 1666 | "windows-sys 0.52.0", 1667 | ] 1668 | 1669 | [[package]] 1670 | name = "tokio-macros" 1671 | version = "2.4.0" 1672 | source = "registry+https://github.com/rust-lang/crates.io-index" 1673 | checksum = "693d596312e88961bc67d7f1f97af8a70227d9f90c31bba5806eec004978d752" 1674 | dependencies = [ 1675 | "proc-macro2", 1676 | "quote", 1677 | "syn", 1678 | ] 1679 | 1680 | [[package]] 1681 | name = "tokio-native-tls" 1682 | version = "0.3.1" 1683 | source = "registry+https://github.com/rust-lang/crates.io-index" 1684 | checksum = "bbae76ab933c85776efabc971569dd6119c580d8f5d448769dec1764bf796ef2" 1685 | dependencies = [ 1686 | "native-tls", 1687 | "tokio", 1688 | ] 1689 | 1690 | [[package]] 1691 | name = "tokio-util" 1692 | version = "0.7.12" 1693 | source = "registry+https://github.com/rust-lang/crates.io-index" 1694 | checksum = "61e7c3654c13bcd040d4a03abee2c75b1d14a37b423cf5a813ceae1cc903ec6a" 1695 | dependencies = [ 1696 | "bytes", 1697 | "futures-core", 1698 | "futures-sink", 1699 | "pin-project-lite", 1700 | "tokio", 1701 | ] 1702 | 1703 | [[package]] 1704 | name = "tower" 1705 | version = "0.4.13" 1706 | source = "registry+https://github.com/rust-lang/crates.io-index" 1707 | checksum = "b8fa9be0de6cf49e536ce1851f987bd21a43b771b09473c3549a6c853db37c1c" 1708 | dependencies = [ 1709 | "futures-core", 1710 | "futures-util", 1711 | "pin-project", 1712 | "pin-project-lite", 1713 | "tokio", 1714 | "tower-layer", 1715 | "tower-service", 1716 | "tracing", 1717 | ] 1718 | 1719 | [[package]] 1720 | name = "tower-http" 1721 | version = "0.4.4" 1722 | source = "registry+https://github.com/rust-lang/crates.io-index" 1723 | checksum = "61c5bb1d698276a2443e5ecfabc1008bf15a36c12e6a7176e7bf089ea9131140" 1724 | dependencies = [ 1725 | "bitflags 2.6.0", 1726 | "bytes", 1727 | "futures-core", 1728 | "futures-util", 1729 | "http", 1730 | "http-body", 1731 | "http-range-header", 1732 | "pin-project-lite", 1733 | "tower-layer", 1734 | "tower-service", 1735 | ] 1736 | 1737 | [[package]] 1738 | name = "tower-layer" 1739 | version = "0.3.3" 1740 | source = "registry+https://github.com/rust-lang/crates.io-index" 1741 | checksum = "121c2a6cda46980bb0fcd1647ffaf6cd3fc79a013de288782836f6df9c48780e" 1742 | 1743 | [[package]] 1744 | name = "tower-service" 1745 | version = "0.3.3" 1746 | source = "registry+https://github.com/rust-lang/crates.io-index" 1747 | checksum = "8df9b6e13f2d32c91b9bd719c00d1958837bc7dec474d94952798cc8e69eeec3" 1748 | 1749 | [[package]] 1750 | name = "tracing" 1751 | version = "0.1.40" 1752 | source = "registry+https://github.com/rust-lang/crates.io-index" 1753 | checksum = "c3523ab5a71916ccf420eebdf5521fcef02141234bbc0b8a49f2fdc4544364ef" 1754 | dependencies = [ 1755 | "log", 1756 | "pin-project-lite", 1757 | "tracing-core", 1758 | ] 1759 | 1760 | [[package]] 1761 | name = "tracing-core" 1762 | version = "0.1.32" 1763 | source = "registry+https://github.com/rust-lang/crates.io-index" 1764 | checksum = "c06d3da6113f116aaee68e4d601191614c9053067f9ab7f6edbcb161237daa54" 1765 | dependencies = [ 1766 | "once_cell", 1767 | ] 1768 | 1769 | [[package]] 1770 | name = "try-lock" 1771 | version = "0.2.5" 1772 | source = "registry+https://github.com/rust-lang/crates.io-index" 1773 | checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" 1774 | 1775 | [[package]] 1776 | name = "unicode-bidi" 1777 | version = "0.3.15" 1778 | source = "registry+https://github.com/rust-lang/crates.io-index" 1779 | checksum = "08f95100a766bf4f8f28f90d77e0a5461bbdb219042e7679bebe79004fed8d75" 1780 | 1781 | [[package]] 1782 | name = "unicode-ident" 1783 | version = "1.0.13" 1784 | source = "registry+https://github.com/rust-lang/crates.io-index" 1785 | checksum = "e91b56cd4cadaeb79bbf1a5645f6b4f8dc5bde8834ad5894a8db35fda9efa1fe" 1786 | 1787 | [[package]] 1788 | name = "unicode-normalization" 1789 | version = "0.1.24" 1790 | source = "registry+https://github.com/rust-lang/crates.io-index" 1791 | checksum = "5033c97c4262335cded6d6fc3e5c18ab755e1a3dc96376350f3d8e9f009ad956" 1792 | dependencies = [ 1793 | "tinyvec", 1794 | ] 1795 | 1796 | [[package]] 1797 | name = "url" 1798 | version = "2.5.2" 1799 | source = "registry+https://github.com/rust-lang/crates.io-index" 1800 | checksum = "22784dbdf76fdde8af1aeda5622b546b422b6fc585325248a2bf9f5e41e94d6c" 1801 | dependencies = [ 1802 | "form_urlencoded", 1803 | "idna", 1804 | "percent-encoding", 1805 | ] 1806 | 1807 | [[package]] 1808 | name = "uuid" 1809 | version = "1.10.0" 1810 | source = "registry+https://github.com/rust-lang/crates.io-index" 1811 | checksum = "81dfa00651efa65069b0b6b651f4aaa31ba9e3c3ce0137aaad053604ee7e0314" 1812 | 1813 | [[package]] 1814 | name = "value-trait" 1815 | version = "0.8.1" 1816 | source = "registry+https://github.com/rust-lang/crates.io-index" 1817 | checksum = "dad8db98c1e677797df21ba03fca7d3bf9bec3ca38db930954e4fe6e1ea27eb4" 1818 | dependencies = [ 1819 | "float-cmp", 1820 | "halfbrown", 1821 | "itoa", 1822 | "ryu", 1823 | ] 1824 | 1825 | [[package]] 1826 | name = "vcpkg" 1827 | version = "0.2.15" 1828 | source = "registry+https://github.com/rust-lang/crates.io-index" 1829 | checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426" 1830 | 1831 | [[package]] 1832 | name = "version_check" 1833 | version = "0.9.5" 1834 | source = "registry+https://github.com/rust-lang/crates.io-index" 1835 | checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" 1836 | 1837 | [[package]] 1838 | name = "want" 1839 | version = "0.3.1" 1840 | source = "registry+https://github.com/rust-lang/crates.io-index" 1841 | checksum = "bfa7760aed19e106de2c7c0b581b509f2f25d3dacaf737cb82ac61bc6d760b0e" 1842 | dependencies = [ 1843 | "try-lock", 1844 | ] 1845 | 1846 | [[package]] 1847 | name = "wasi" 1848 | version = "0.11.0+wasi-snapshot-preview1" 1849 | source = "registry+https://github.com/rust-lang/crates.io-index" 1850 | checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" 1851 | 1852 | [[package]] 1853 | name = "wasm-bindgen" 1854 | version = "0.2.93" 1855 | source = "registry+https://github.com/rust-lang/crates.io-index" 1856 | checksum = "a82edfc16a6c469f5f44dc7b571814045d60404b55a0ee849f9bcfa2e63dd9b5" 1857 | dependencies = [ 1858 | "cfg-if", 1859 | "once_cell", 1860 | "wasm-bindgen-macro", 1861 | ] 1862 | 1863 | [[package]] 1864 | name = "wasm-bindgen-backend" 1865 | version = "0.2.93" 1866 | source = "registry+https://github.com/rust-lang/crates.io-index" 1867 | checksum = "9de396da306523044d3302746f1208fa71d7532227f15e347e2d93e4145dd77b" 1868 | dependencies = [ 1869 | "bumpalo", 1870 | "log", 1871 | "once_cell", 1872 | "proc-macro2", 1873 | "quote", 1874 | "syn", 1875 | "wasm-bindgen-shared", 1876 | ] 1877 | 1878 | [[package]] 1879 | name = "wasm-bindgen-futures" 1880 | version = "0.4.43" 1881 | source = "registry+https://github.com/rust-lang/crates.io-index" 1882 | checksum = "61e9300f63a621e96ed275155c108eb6f843b6a26d053f122ab69724559dc8ed" 1883 | dependencies = [ 1884 | "cfg-if", 1885 | "js-sys", 1886 | "wasm-bindgen", 1887 | "web-sys", 1888 | ] 1889 | 1890 | [[package]] 1891 | name = "wasm-bindgen-macro" 1892 | version = "0.2.93" 1893 | source = "registry+https://github.com/rust-lang/crates.io-index" 1894 | checksum = "585c4c91a46b072c92e908d99cb1dcdf95c5218eeb6f3bf1efa991ee7a68cccf" 1895 | dependencies = [ 1896 | "quote", 1897 | "wasm-bindgen-macro-support", 1898 | ] 1899 | 1900 | [[package]] 1901 | name = "wasm-bindgen-macro-support" 1902 | version = "0.2.93" 1903 | source = "registry+https://github.com/rust-lang/crates.io-index" 1904 | checksum = "afc340c74d9005395cf9dd098506f7f44e38f2b4a21c6aaacf9a105ea5e1e836" 1905 | dependencies = [ 1906 | "proc-macro2", 1907 | "quote", 1908 | "syn", 1909 | "wasm-bindgen-backend", 1910 | "wasm-bindgen-shared", 1911 | ] 1912 | 1913 | [[package]] 1914 | name = "wasm-bindgen-shared" 1915 | version = "0.2.93" 1916 | source = "registry+https://github.com/rust-lang/crates.io-index" 1917 | checksum = "c62a0a307cb4a311d3a07867860911ca130c3494e8c2719593806c08bc5d0484" 1918 | 1919 | [[package]] 1920 | name = "web-sys" 1921 | version = "0.3.70" 1922 | source = "registry+https://github.com/rust-lang/crates.io-index" 1923 | checksum = "26fdeaafd9bd129f65e7c031593c24d62186301e0c72c8978fa1678be7d532c0" 1924 | dependencies = [ 1925 | "js-sys", 1926 | "wasm-bindgen", 1927 | ] 1928 | 1929 | [[package]] 1930 | name = "windows-core" 1931 | version = "0.52.0" 1932 | source = "registry+https://github.com/rust-lang/crates.io-index" 1933 | checksum = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9" 1934 | dependencies = [ 1935 | "windows-targets 0.52.6", 1936 | ] 1937 | 1938 | [[package]] 1939 | name = "windows-sys" 1940 | version = "0.48.0" 1941 | source = "registry+https://github.com/rust-lang/crates.io-index" 1942 | checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" 1943 | dependencies = [ 1944 | "windows-targets 0.48.5", 1945 | ] 1946 | 1947 | [[package]] 1948 | name = "windows-sys" 1949 | version = "0.52.0" 1950 | source = "registry+https://github.com/rust-lang/crates.io-index" 1951 | checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" 1952 | dependencies = [ 1953 | "windows-targets 0.52.6", 1954 | ] 1955 | 1956 | [[package]] 1957 | name = "windows-sys" 1958 | version = "0.59.0" 1959 | source = "registry+https://github.com/rust-lang/crates.io-index" 1960 | checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b" 1961 | dependencies = [ 1962 | "windows-targets 0.52.6", 1963 | ] 1964 | 1965 | [[package]] 1966 | name = "windows-targets" 1967 | version = "0.48.5" 1968 | source = "registry+https://github.com/rust-lang/crates.io-index" 1969 | checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" 1970 | dependencies = [ 1971 | "windows_aarch64_gnullvm 0.48.5", 1972 | "windows_aarch64_msvc 0.48.5", 1973 | "windows_i686_gnu 0.48.5", 1974 | "windows_i686_msvc 0.48.5", 1975 | "windows_x86_64_gnu 0.48.5", 1976 | "windows_x86_64_gnullvm 0.48.5", 1977 | "windows_x86_64_msvc 0.48.5", 1978 | ] 1979 | 1980 | [[package]] 1981 | name = "windows-targets" 1982 | version = "0.52.6" 1983 | source = "registry+https://github.com/rust-lang/crates.io-index" 1984 | checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973" 1985 | dependencies = [ 1986 | "windows_aarch64_gnullvm 0.52.6", 1987 | "windows_aarch64_msvc 0.52.6", 1988 | "windows_i686_gnu 0.52.6", 1989 | "windows_i686_gnullvm", 1990 | "windows_i686_msvc 0.52.6", 1991 | "windows_x86_64_gnu 0.52.6", 1992 | "windows_x86_64_gnullvm 0.52.6", 1993 | "windows_x86_64_msvc 0.52.6", 1994 | ] 1995 | 1996 | [[package]] 1997 | name = "windows_aarch64_gnullvm" 1998 | version = "0.48.5" 1999 | source = "registry+https://github.com/rust-lang/crates.io-index" 2000 | checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" 2001 | 2002 | [[package]] 2003 | name = "windows_aarch64_gnullvm" 2004 | version = "0.52.6" 2005 | source = "registry+https://github.com/rust-lang/crates.io-index" 2006 | checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3" 2007 | 2008 | [[package]] 2009 | name = "windows_aarch64_msvc" 2010 | version = "0.48.5" 2011 | source = "registry+https://github.com/rust-lang/crates.io-index" 2012 | checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" 2013 | 2014 | [[package]] 2015 | name = "windows_aarch64_msvc" 2016 | version = "0.52.6" 2017 | source = "registry+https://github.com/rust-lang/crates.io-index" 2018 | checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" 2019 | 2020 | [[package]] 2021 | name = "windows_i686_gnu" 2022 | version = "0.48.5" 2023 | source = "registry+https://github.com/rust-lang/crates.io-index" 2024 | checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" 2025 | 2026 | [[package]] 2027 | name = "windows_i686_gnu" 2028 | version = "0.52.6" 2029 | source = "registry+https://github.com/rust-lang/crates.io-index" 2030 | checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b" 2031 | 2032 | [[package]] 2033 | name = "windows_i686_gnullvm" 2034 | version = "0.52.6" 2035 | source = "registry+https://github.com/rust-lang/crates.io-index" 2036 | checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66" 2037 | 2038 | [[package]] 2039 | name = "windows_i686_msvc" 2040 | version = "0.48.5" 2041 | source = "registry+https://github.com/rust-lang/crates.io-index" 2042 | checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" 2043 | 2044 | [[package]] 2045 | name = "windows_i686_msvc" 2046 | version = "0.52.6" 2047 | source = "registry+https://github.com/rust-lang/crates.io-index" 2048 | checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" 2049 | 2050 | [[package]] 2051 | name = "windows_x86_64_gnu" 2052 | version = "0.48.5" 2053 | source = "registry+https://github.com/rust-lang/crates.io-index" 2054 | checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" 2055 | 2056 | [[package]] 2057 | name = "windows_x86_64_gnu" 2058 | version = "0.52.6" 2059 | source = "registry+https://github.com/rust-lang/crates.io-index" 2060 | checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" 2061 | 2062 | [[package]] 2063 | name = "windows_x86_64_gnullvm" 2064 | version = "0.48.5" 2065 | source = "registry+https://github.com/rust-lang/crates.io-index" 2066 | checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" 2067 | 2068 | [[package]] 2069 | name = "windows_x86_64_gnullvm" 2070 | version = "0.52.6" 2071 | source = "registry+https://github.com/rust-lang/crates.io-index" 2072 | checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" 2073 | 2074 | [[package]] 2075 | name = "windows_x86_64_msvc" 2076 | version = "0.48.5" 2077 | source = "registry+https://github.com/rust-lang/crates.io-index" 2078 | checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" 2079 | 2080 | [[package]] 2081 | name = "windows_x86_64_msvc" 2082 | version = "0.52.6" 2083 | source = "registry+https://github.com/rust-lang/crates.io-index" 2084 | checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" 2085 | 2086 | [[package]] 2087 | name = "winreg" 2088 | version = "0.50.0" 2089 | source = "registry+https://github.com/rust-lang/crates.io-index" 2090 | checksum = "524e57b2c537c0f9b1e69f1965311ec12182b4122e45035b1508cd24d2adadb1" 2091 | dependencies = [ 2092 | "cfg-if", 2093 | "windows-sys 0.48.0", 2094 | ] 2095 | 2096 | [[package]] 2097 | name = "zerocopy" 2098 | version = "0.7.35" 2099 | source = "registry+https://github.com/rust-lang/crates.io-index" 2100 | checksum = "1b9b4fd18abc82b8136838da5d50bae7bdea537c574d8dc1a34ed098d6c166f0" 2101 | dependencies = [ 2102 | "byteorder", 2103 | "zerocopy-derive", 2104 | ] 2105 | 2106 | [[package]] 2107 | name = "zerocopy-derive" 2108 | version = "0.7.35" 2109 | source = "registry+https://github.com/rust-lang/crates.io-index" 2110 | checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e" 2111 | dependencies = [ 2112 | "proc-macro2", 2113 | "quote", 2114 | "syn", 2115 | ] 2116 | -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "skyfeed-query-engine" 3 | version = "0.1.0" 4 | edition = "2021" 5 | 6 | # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html 7 | 8 | [dependencies] 9 | anyhow = "1.0.71" 10 | axum = "0.6.18" 11 | axum-macros = "0.3.7" 12 | base64 = "0.21.2" 13 | blake3 = "1.5.4" 14 | chrono = { version = "0.4.26" } 15 | dotenvy = "0.15.7" 16 | http = "0.2.9" 17 | lazy_static = "1.4.0" 18 | mimalloc = { version = "0.1.43", default-features = false } 19 | rand = "0.8.5" 20 | regex = "1.10.6" 21 | reqwest = { version = "0.11", features = ["json"] } 22 | serde = { version = "1.0.164", features = ["derive"] } 23 | serde_json = "1.0.99" 24 | tokio = { version = "1.40.0", features = ["full"] } 25 | tower-http = { version = "0.4.1", features = ["cors"] } 26 | rkyv = { version = "0.8.7" } 27 | memmap2 = "0.9.5" 28 | arc-swap = "1.7.0" 29 | data-encoding = "2.5.0" 30 | simd-json = { version = "0.13.10", features = [ 31 | "serde_impl", 32 | "runtime-detection", 33 | ] } 34 | rhai = "1.19.0" 35 | elsa = "1.10.0" 36 | roaring = "0.10.10" 37 | boxcar = "0.2.8" 38 | lasso = { version = "0.7.3", features = ["multi-threaded"] } 39 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | GNU AFFERO GENERAL PUBLIC LICENSE 2 | Version 3, 19 November 2007 3 | 4 | Copyright (C) 2007 Free Software Foundation, Inc. 5 | Everyone is permitted to copy and distribute verbatim copies 6 | of this license document, but changing it is not allowed. 7 | 8 | Preamble 9 | 10 | The GNU Affero General Public License is a free, copyleft license for 11 | software and other kinds of works, specifically designed to ensure 12 | cooperation with the community in the case of network server software. 13 | 14 | The licenses for most software and other practical works are designed 15 | to take away your freedom to share and change the works. By contrast, 16 | our General Public Licenses are intended to guarantee your freedom to 17 | share and change all versions of a program--to make sure it remains free 18 | software for all its users. 19 | 20 | When we speak of free software, we are referring to freedom, not 21 | price. Our General Public Licenses are designed to make sure that you 22 | have the freedom to distribute copies of free software (and charge for 23 | them if you wish), that you receive source code or can get it if you 24 | want it, that you can change the software or use pieces of it in new 25 | free programs, and that you know you can do these things. 26 | 27 | Developers that use our General Public Licenses protect your rights 28 | with two steps: (1) assert copyright on the software, and (2) offer 29 | you this License which gives you legal permission to copy, distribute 30 | and/or modify the software. 31 | 32 | A secondary benefit of defending all users' freedom is that 33 | improvements made in alternate versions of the program, if they 34 | receive widespread use, become available for other developers to 35 | incorporate. Many developers of free software are heartened and 36 | encouraged by the resulting cooperation. However, in the case of 37 | software used on network servers, this result may fail to come about. 38 | The GNU General Public License permits making a modified version and 39 | letting the public access it on a server without ever releasing its 40 | source code to the public. 41 | 42 | The GNU Affero General Public License is designed specifically to 43 | ensure that, in such cases, the modified source code becomes available 44 | to the community. It requires the operator of a network server to 45 | provide the source code of the modified version running there to the 46 | users of that server. Therefore, public use of a modified version, on 47 | a publicly accessible server, gives the public access to the source 48 | code of the modified version. 49 | 50 | An older license, called the Affero General Public License and 51 | published by Affero, was designed to accomplish similar goals. This is 52 | a different license, not a version of the Affero GPL, but Affero has 53 | released a new version of the Affero GPL which permits relicensing under 54 | this license. 55 | 56 | The precise terms and conditions for copying, distribution and 57 | modification follow. 58 | 59 | TERMS AND CONDITIONS 60 | 61 | 0. Definitions. 62 | 63 | "This License" refers to version 3 of the GNU Affero General Public License. 64 | 65 | "Copyright" also means copyright-like laws that apply to other kinds of 66 | works, such as semiconductor masks. 67 | 68 | "The Program" refers to any copyrightable work licensed under this 69 | License. Each licensee is addressed as "you". "Licensees" and 70 | "recipients" may be individuals or organizations. 71 | 72 | To "modify" a work means to copy from or adapt all or part of the work 73 | in a fashion requiring copyright permission, other than the making of an 74 | exact copy. The resulting work is called a "modified version" of the 75 | earlier work or a work "based on" the earlier work. 76 | 77 | A "covered work" means either the unmodified Program or a work based 78 | on the Program. 79 | 80 | To "propagate" a work means to do anything with it that, without 81 | permission, would make you directly or secondarily liable for 82 | infringement under applicable copyright law, except executing it on a 83 | computer or modifying a private copy. Propagation includes copying, 84 | distribution (with or without modification), making available to the 85 | public, and in some countries other activities as well. 86 | 87 | To "convey" a work means any kind of propagation that enables other 88 | parties to make or receive copies. Mere interaction with a user through 89 | a computer network, with no transfer of a copy, is not conveying. 90 | 91 | An interactive user interface displays "Appropriate Legal Notices" 92 | to the extent that it includes a convenient and prominently visible 93 | feature that (1) displays an appropriate copyright notice, and (2) 94 | tells the user that there is no warranty for the work (except to the 95 | extent that warranties are provided), that licensees may convey the 96 | work under this License, and how to view a copy of this License. If 97 | the interface presents a list of user commands or options, such as a 98 | menu, a prominent item in the list meets this criterion. 99 | 100 | 1. Source Code. 101 | 102 | The "source code" for a work means the preferred form of the work 103 | for making modifications to it. "Object code" means any non-source 104 | form of a work. 105 | 106 | A "Standard Interface" means an interface that either is an official 107 | standard defined by a recognized standards body, or, in the case of 108 | interfaces specified for a particular programming language, one that 109 | is widely used among developers working in that language. 110 | 111 | The "System Libraries" of an executable work include anything, other 112 | than the work as a whole, that (a) is included in the normal form of 113 | packaging a Major Component, but which is not part of that Major 114 | Component, and (b) serves only to enable use of the work with that 115 | Major Component, or to implement a Standard Interface for which an 116 | implementation is available to the public in source code form. A 117 | "Major Component", in this context, means a major essential component 118 | (kernel, window system, and so on) of the specific operating system 119 | (if any) on which the executable work runs, or a compiler used to 120 | produce the work, or an object code interpreter used to run it. 121 | 122 | The "Corresponding Source" for a work in object code form means all 123 | the source code needed to generate, install, and (for an executable 124 | work) run the object code and to modify the work, including scripts to 125 | control those activities. However, it does not include the work's 126 | System Libraries, or general-purpose tools or generally available free 127 | programs which are used unmodified in performing those activities but 128 | which are not part of the work. For example, Corresponding Source 129 | includes interface definition files associated with source files for 130 | the work, and the source code for shared libraries and dynamically 131 | linked subprograms that the work is specifically designed to require, 132 | such as by intimate data communication or control flow between those 133 | subprograms and other parts of the work. 134 | 135 | The Corresponding Source need not include anything that users 136 | can regenerate automatically from other parts of the Corresponding 137 | Source. 138 | 139 | The Corresponding Source for a work in source code form is that 140 | same work. 141 | 142 | 2. Basic Permissions. 143 | 144 | All rights granted under this License are granted for the term of 145 | copyright on the Program, and are irrevocable provided the stated 146 | conditions are met. This License explicitly affirms your unlimited 147 | permission to run the unmodified Program. The output from running a 148 | covered work is covered by this License only if the output, given its 149 | content, constitutes a covered work. This License acknowledges your 150 | rights of fair use or other equivalent, as provided by copyright law. 151 | 152 | You may make, run and propagate covered works that you do not 153 | convey, without conditions so long as your license otherwise remains 154 | in force. You may convey covered works to others for the sole purpose 155 | of having them make modifications exclusively for you, or provide you 156 | with facilities for running those works, provided that you comply with 157 | the terms of this License in conveying all material for which you do 158 | not control copyright. Those thus making or running the covered works 159 | for you must do so exclusively on your behalf, under your direction 160 | and control, on terms that prohibit them from making any copies of 161 | your copyrighted material outside their relationship with you. 162 | 163 | Conveying under any other circumstances is permitted solely under 164 | the conditions stated below. Sublicensing is not allowed; section 10 165 | makes it unnecessary. 166 | 167 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law. 168 | 169 | No covered work shall be deemed part of an effective technological 170 | measure under any applicable law fulfilling obligations under article 171 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or 172 | similar laws prohibiting or restricting circumvention of such 173 | measures. 174 | 175 | When you convey a covered work, you waive any legal power to forbid 176 | circumvention of technological measures to the extent such circumvention 177 | is effected by exercising rights under this License with respect to 178 | the covered work, and you disclaim any intention to limit operation or 179 | modification of the work as a means of enforcing, against the work's 180 | users, your or third parties' legal rights to forbid circumvention of 181 | technological measures. 182 | 183 | 4. Conveying Verbatim Copies. 184 | 185 | You may convey verbatim copies of the Program's source code as you 186 | receive it, in any medium, provided that you conspicuously and 187 | appropriately publish on each copy an appropriate copyright notice; 188 | keep intact all notices stating that this License and any 189 | non-permissive terms added in accord with section 7 apply to the code; 190 | keep intact all notices of the absence of any warranty; and give all 191 | recipients a copy of this License along with the Program. 192 | 193 | You may charge any price or no price for each copy that you convey, 194 | and you may offer support or warranty protection for a fee. 195 | 196 | 5. Conveying Modified Source Versions. 197 | 198 | You may convey a work based on the Program, or the modifications to 199 | produce it from the Program, in the form of source code under the 200 | terms of section 4, provided that you also meet all of these conditions: 201 | 202 | a) The work must carry prominent notices stating that you modified 203 | it, and giving a relevant date. 204 | 205 | b) The work must carry prominent notices stating that it is 206 | released under this License and any conditions added under section 207 | 7. This requirement modifies the requirement in section 4 to 208 | "keep intact all notices". 209 | 210 | c) You must license the entire work, as a whole, under this 211 | License to anyone who comes into possession of a copy. This 212 | License will therefore apply, along with any applicable section 7 213 | additional terms, to the whole of the work, and all its parts, 214 | regardless of how they are packaged. This License gives no 215 | permission to license the work in any other way, but it does not 216 | invalidate such permission if you have separately received it. 217 | 218 | d) If the work has interactive user interfaces, each must display 219 | Appropriate Legal Notices; however, if the Program has interactive 220 | interfaces that do not display Appropriate Legal Notices, your 221 | work need not make them do so. 222 | 223 | A compilation of a covered work with other separate and independent 224 | works, which are not by their nature extensions of the covered work, 225 | and which are not combined with it such as to form a larger program, 226 | in or on a volume of a storage or distribution medium, is called an 227 | "aggregate" if the compilation and its resulting copyright are not 228 | used to limit the access or legal rights of the compilation's users 229 | beyond what the individual works permit. Inclusion of a covered work 230 | in an aggregate does not cause this License to apply to the other 231 | parts of the aggregate. 232 | 233 | 6. Conveying Non-Source Forms. 234 | 235 | You may convey a covered work in object code form under the terms 236 | of sections 4 and 5, provided that you also convey the 237 | machine-readable Corresponding Source under the terms of this License, 238 | in one of these ways: 239 | 240 | a) Convey the object code in, or embodied in, a physical product 241 | (including a physical distribution medium), accompanied by the 242 | Corresponding Source fixed on a durable physical medium 243 | customarily used for software interchange. 244 | 245 | b) Convey the object code in, or embodied in, a physical product 246 | (including a physical distribution medium), accompanied by a 247 | written offer, valid for at least three years and valid for as 248 | long as you offer spare parts or customer support for that product 249 | model, to give anyone who possesses the object code either (1) a 250 | copy of the Corresponding Source for all the software in the 251 | product that is covered by this License, on a durable physical 252 | medium customarily used for software interchange, for a price no 253 | more than your reasonable cost of physically performing this 254 | conveying of source, or (2) access to copy the 255 | Corresponding Source from a network server at no charge. 256 | 257 | c) Convey individual copies of the object code with a copy of the 258 | written offer to provide the Corresponding Source. This 259 | alternative is allowed only occasionally and noncommercially, and 260 | only if you received the object code with such an offer, in accord 261 | with subsection 6b. 262 | 263 | d) Convey the object code by offering access from a designated 264 | place (gratis or for a charge), and offer equivalent access to the 265 | Corresponding Source in the same way through the same place at no 266 | further charge. You need not require recipients to copy the 267 | Corresponding Source along with the object code. If the place to 268 | copy the object code is a network server, the Corresponding Source 269 | may be on a different server (operated by you or a third party) 270 | that supports equivalent copying facilities, provided you maintain 271 | clear directions next to the object code saying where to find the 272 | Corresponding Source. Regardless of what server hosts the 273 | Corresponding Source, you remain obligated to ensure that it is 274 | available for as long as needed to satisfy these requirements. 275 | 276 | e) Convey the object code using peer-to-peer transmission, provided 277 | you inform other peers where the object code and Corresponding 278 | Source of the work are being offered to the general public at no 279 | charge under subsection 6d. 280 | 281 | A separable portion of the object code, whose source code is excluded 282 | from the Corresponding Source as a System Library, need not be 283 | included in conveying the object code work. 284 | 285 | A "User Product" is either (1) a "consumer product", which means any 286 | tangible personal property which is normally used for personal, family, 287 | or household purposes, or (2) anything designed or sold for incorporation 288 | into a dwelling. In determining whether a product is a consumer product, 289 | doubtful cases shall be resolved in favor of coverage. For a particular 290 | product received by a particular user, "normally used" refers to a 291 | typical or common use of that class of product, regardless of the status 292 | of the particular user or of the way in which the particular user 293 | actually uses, or expects or is expected to use, the product. A product 294 | is a consumer product regardless of whether the product has substantial 295 | commercial, industrial or non-consumer uses, unless such uses represent 296 | the only significant mode of use of the product. 297 | 298 | "Installation Information" for a User Product means any methods, 299 | procedures, authorization keys, or other information required to install 300 | and execute modified versions of a covered work in that User Product from 301 | a modified version of its Corresponding Source. The information must 302 | suffice to ensure that the continued functioning of the modified object 303 | code is in no case prevented or interfered with solely because 304 | modification has been made. 305 | 306 | If you convey an object code work under this section in, or with, or 307 | specifically for use in, a User Product, and the conveying occurs as 308 | part of a transaction in which the right of possession and use of the 309 | User Product is transferred to the recipient in perpetuity or for a 310 | fixed term (regardless of how the transaction is characterized), the 311 | Corresponding Source conveyed under this section must be accompanied 312 | by the Installation Information. But this requirement does not apply 313 | if neither you nor any third party retains the ability to install 314 | modified object code on the User Product (for example, the work has 315 | been installed in ROM). 316 | 317 | The requirement to provide Installation Information does not include a 318 | requirement to continue to provide support service, warranty, or updates 319 | for a work that has been modified or installed by the recipient, or for 320 | the User Product in which it has been modified or installed. Access to a 321 | network may be denied when the modification itself materially and 322 | adversely affects the operation of the network or violates the rules and 323 | protocols for communication across the network. 324 | 325 | Corresponding Source conveyed, and Installation Information provided, 326 | in accord with this section must be in a format that is publicly 327 | documented (and with an implementation available to the public in 328 | source code form), and must require no special password or key for 329 | unpacking, reading or copying. 330 | 331 | 7. Additional Terms. 332 | 333 | "Additional permissions" are terms that supplement the terms of this 334 | License by making exceptions from one or more of its conditions. 335 | Additional permissions that are applicable to the entire Program shall 336 | be treated as though they were included in this License, to the extent 337 | that they are valid under applicable law. If additional permissions 338 | apply only to part of the Program, that part may be used separately 339 | under those permissions, but the entire Program remains governed by 340 | this License without regard to the additional permissions. 341 | 342 | When you convey a copy of a covered work, you may at your option 343 | remove any additional permissions from that copy, or from any part of 344 | it. (Additional permissions may be written to require their own 345 | removal in certain cases when you modify the work.) You may place 346 | additional permissions on material, added by you to a covered work, 347 | for which you have or can give appropriate copyright permission. 348 | 349 | Notwithstanding any other provision of this License, for material you 350 | add to a covered work, you may (if authorized by the copyright holders of 351 | that material) supplement the terms of this License with terms: 352 | 353 | a) Disclaiming warranty or limiting liability differently from the 354 | terms of sections 15 and 16 of this License; or 355 | 356 | b) Requiring preservation of specified reasonable legal notices or 357 | author attributions in that material or in the Appropriate Legal 358 | Notices displayed by works containing it; or 359 | 360 | c) Prohibiting misrepresentation of the origin of that material, or 361 | requiring that modified versions of such material be marked in 362 | reasonable ways as different from the original version; or 363 | 364 | d) Limiting the use for publicity purposes of names of licensors or 365 | authors of the material; or 366 | 367 | e) Declining to grant rights under trademark law for use of some 368 | trade names, trademarks, or service marks; or 369 | 370 | f) Requiring indemnification of licensors and authors of that 371 | material by anyone who conveys the material (or modified versions of 372 | it) with contractual assumptions of liability to the recipient, for 373 | any liability that these contractual assumptions directly impose on 374 | those licensors and authors. 375 | 376 | All other non-permissive additional terms are considered "further 377 | restrictions" within the meaning of section 10. If the Program as you 378 | received it, or any part of it, contains a notice stating that it is 379 | governed by this License along with a term that is a further 380 | restriction, you may remove that term. If a license document contains 381 | a further restriction but permits relicensing or conveying under this 382 | License, you may add to a covered work material governed by the terms 383 | of that license document, provided that the further restriction does 384 | not survive such relicensing or conveying. 385 | 386 | If you add terms to a covered work in accord with this section, you 387 | must place, in the relevant source files, a statement of the 388 | additional terms that apply to those files, or a notice indicating 389 | where to find the applicable terms. 390 | 391 | Additional terms, permissive or non-permissive, may be stated in the 392 | form of a separately written license, or stated as exceptions; 393 | the above requirements apply either way. 394 | 395 | 8. Termination. 396 | 397 | You may not propagate or modify a covered work except as expressly 398 | provided under this License. Any attempt otherwise to propagate or 399 | modify it is void, and will automatically terminate your rights under 400 | this License (including any patent licenses granted under the third 401 | paragraph of section 11). 402 | 403 | However, if you cease all violation of this License, then your 404 | license from a particular copyright holder is reinstated (a) 405 | provisionally, unless and until the copyright holder explicitly and 406 | finally terminates your license, and (b) permanently, if the copyright 407 | holder fails to notify you of the violation by some reasonable means 408 | prior to 60 days after the cessation. 409 | 410 | Moreover, your license from a particular copyright holder is 411 | reinstated permanently if the copyright holder notifies you of the 412 | violation by some reasonable means, this is the first time you have 413 | received notice of violation of this License (for any work) from that 414 | copyright holder, and you cure the violation prior to 30 days after 415 | your receipt of the notice. 416 | 417 | Termination of your rights under this section does not terminate the 418 | licenses of parties who have received copies or rights from you under 419 | this License. If your rights have been terminated and not permanently 420 | reinstated, you do not qualify to receive new licenses for the same 421 | material under section 10. 422 | 423 | 9. Acceptance Not Required for Having Copies. 424 | 425 | You are not required to accept this License in order to receive or 426 | run a copy of the Program. Ancillary propagation of a covered work 427 | occurring solely as a consequence of using peer-to-peer transmission 428 | to receive a copy likewise does not require acceptance. However, 429 | nothing other than this License grants you permission to propagate or 430 | modify any covered work. These actions infringe copyright if you do 431 | not accept this License. Therefore, by modifying or propagating a 432 | covered work, you indicate your acceptance of this License to do so. 433 | 434 | 10. Automatic Licensing of Downstream Recipients. 435 | 436 | Each time you convey a covered work, the recipient automatically 437 | receives a license from the original licensors, to run, modify and 438 | propagate that work, subject to this License. You are not responsible 439 | for enforcing compliance by third parties with this License. 440 | 441 | An "entity transaction" is a transaction transferring control of an 442 | organization, or substantially all assets of one, or subdividing an 443 | organization, or merging organizations. If propagation of a covered 444 | work results from an entity transaction, each party to that 445 | transaction who receives a copy of the work also receives whatever 446 | licenses to the work the party's predecessor in interest had or could 447 | give under the previous paragraph, plus a right to possession of the 448 | Corresponding Source of the work from the predecessor in interest, if 449 | the predecessor has it or can get it with reasonable efforts. 450 | 451 | You may not impose any further restrictions on the exercise of the 452 | rights granted or affirmed under this License. For example, you may 453 | not impose a license fee, royalty, or other charge for exercise of 454 | rights granted under this License, and you may not initiate litigation 455 | (including a cross-claim or counterclaim in a lawsuit) alleging that 456 | any patent claim is infringed by making, using, selling, offering for 457 | sale, or importing the Program or any portion of it. 458 | 459 | 11. Patents. 460 | 461 | A "contributor" is a copyright holder who authorizes use under this 462 | License of the Program or a work on which the Program is based. The 463 | work thus licensed is called the contributor's "contributor version". 464 | 465 | A contributor's "essential patent claims" are all patent claims 466 | owned or controlled by the contributor, whether already acquired or 467 | hereafter acquired, that would be infringed by some manner, permitted 468 | by this License, of making, using, or selling its contributor version, 469 | but do not include claims that would be infringed only as a 470 | consequence of further modification of the contributor version. For 471 | purposes of this definition, "control" includes the right to grant 472 | patent sublicenses in a manner consistent with the requirements of 473 | this License. 474 | 475 | Each contributor grants you a non-exclusive, worldwide, royalty-free 476 | patent license under the contributor's essential patent claims, to 477 | make, use, sell, offer for sale, import and otherwise run, modify and 478 | propagate the contents of its contributor version. 479 | 480 | In the following three paragraphs, a "patent license" is any express 481 | agreement or commitment, however denominated, not to enforce a patent 482 | (such as an express permission to practice a patent or covenant not to 483 | sue for patent infringement). To "grant" such a patent license to a 484 | party means to make such an agreement or commitment not to enforce a 485 | patent against the party. 486 | 487 | If you convey a covered work, knowingly relying on a patent license, 488 | and the Corresponding Source of the work is not available for anyone 489 | to copy, free of charge and under the terms of this License, through a 490 | publicly available network server or other readily accessible means, 491 | then you must either (1) cause the Corresponding Source to be so 492 | available, or (2) arrange to deprive yourself of the benefit of the 493 | patent license for this particular work, or (3) arrange, in a manner 494 | consistent with the requirements of this License, to extend the patent 495 | license to downstream recipients. "Knowingly relying" means you have 496 | actual knowledge that, but for the patent license, your conveying the 497 | covered work in a country, or your recipient's use of the covered work 498 | in a country, would infringe one or more identifiable patents in that 499 | country that you have reason to believe are valid. 500 | 501 | If, pursuant to or in connection with a single transaction or 502 | arrangement, you convey, or propagate by procuring conveyance of, a 503 | covered work, and grant a patent license to some of the parties 504 | receiving the covered work authorizing them to use, propagate, modify 505 | or convey a specific copy of the covered work, then the patent license 506 | you grant is automatically extended to all recipients of the covered 507 | work and works based on it. 508 | 509 | A patent license is "discriminatory" if it does not include within 510 | the scope of its coverage, prohibits the exercise of, or is 511 | conditioned on the non-exercise of one or more of the rights that are 512 | specifically granted under this License. You may not convey a covered 513 | work if you are a party to an arrangement with a third party that is 514 | in the business of distributing software, under which you make payment 515 | to the third party based on the extent of your activity of conveying 516 | the work, and under which the third party grants, to any of the 517 | parties who would receive the covered work from you, a discriminatory 518 | patent license (a) in connection with copies of the covered work 519 | conveyed by you (or copies made from those copies), or (b) primarily 520 | for and in connection with specific products or compilations that 521 | contain the covered work, unless you entered into that arrangement, 522 | or that patent license was granted, prior to 28 March 2007. 523 | 524 | Nothing in this License shall be construed as excluding or limiting 525 | any implied license or other defenses to infringement that may 526 | otherwise be available to you under applicable patent law. 527 | 528 | 12. No Surrender of Others' Freedom. 529 | 530 | If conditions are imposed on you (whether by court order, agreement or 531 | otherwise) that contradict the conditions of this License, they do not 532 | excuse you from the conditions of this License. If you cannot convey a 533 | covered work so as to satisfy simultaneously your obligations under this 534 | License and any other pertinent obligations, then as a consequence you may 535 | not convey it at all. For example, if you agree to terms that obligate you 536 | to collect a royalty for further conveying from those to whom you convey 537 | the Program, the only way you could satisfy both those terms and this 538 | License would be to refrain entirely from conveying the Program. 539 | 540 | 13. Remote Network Interaction; Use with the GNU General Public License. 541 | 542 | Notwithstanding any other provision of this License, if you modify the 543 | Program, your modified version must prominently offer all users 544 | interacting with it remotely through a computer network (if your version 545 | supports such interaction) an opportunity to receive the Corresponding 546 | Source of your version by providing access to the Corresponding Source 547 | from a network server at no charge, through some standard or customary 548 | means of facilitating copying of software. This Corresponding Source 549 | shall include the Corresponding Source for any work covered by version 3 550 | of the GNU General Public License that is incorporated pursuant to the 551 | following paragraph. 552 | 553 | Notwithstanding any other provision of this License, you have 554 | permission to link or combine any covered work with a work licensed 555 | under version 3 of the GNU General Public License into a single 556 | combined work, and to convey the resulting work. The terms of this 557 | License will continue to apply to the part which is the covered work, 558 | but the work with which it is combined will remain governed by version 559 | 3 of the GNU General Public License. 560 | 561 | 14. Revised Versions of this License. 562 | 563 | The Free Software Foundation may publish revised and/or new versions of 564 | the GNU Affero General Public License from time to time. Such new versions 565 | will be similar in spirit to the present version, but may differ in detail to 566 | address new problems or concerns. 567 | 568 | Each version is given a distinguishing version number. If the 569 | Program specifies that a certain numbered version of the GNU Affero General 570 | Public License "or any later version" applies to it, you have the 571 | option of following the terms and conditions either of that numbered 572 | version or of any later version published by the Free Software 573 | Foundation. If the Program does not specify a version number of the 574 | GNU Affero General Public License, you may choose any version ever published 575 | by the Free Software Foundation. 576 | 577 | If the Program specifies that a proxy can decide which future 578 | versions of the GNU Affero General Public License can be used, that proxy's 579 | public statement of acceptance of a version permanently authorizes you 580 | to choose that version for the Program. 581 | 582 | Later license versions may give you additional or different 583 | permissions. However, no additional obligations are imposed on any 584 | author or copyright holder as a result of your choosing to follow a 585 | later version. 586 | 587 | 15. Disclaimer of Warranty. 588 | 589 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY 590 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT 591 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY 592 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, 593 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 594 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM 595 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF 596 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 597 | 598 | 16. Limitation of Liability. 599 | 600 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 601 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS 602 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 603 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE 604 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF 605 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD 606 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), 607 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF 608 | SUCH DAMAGES. 609 | 610 | 17. Interpretation of Sections 15 and 16. 611 | 612 | If the disclaimer of warranty and limitation of liability provided 613 | above cannot be given local legal effect according to their terms, 614 | reviewing courts shall apply local law that most closely approximates 615 | an absolute waiver of all civil liability in connection with the 616 | Program, unless a warranty or assumption of liability accompanies a 617 | copy of the Program in return for a fee. 618 | 619 | END OF TERMS AND CONDITIONS 620 | 621 | How to Apply These Terms to Your New Programs 622 | 623 | If you develop a new program, and you want it to be of the greatest 624 | possible use to the public, the best way to achieve this is to make it 625 | free software which everyone can redistribute and change under these terms. 626 | 627 | To do so, attach the following notices to the program. It is safest 628 | to attach them to the start of each source file to most effectively 629 | state the exclusion of warranty; and each file should have at least 630 | the "copyright" line and a pointer to where the full notice is found. 631 | 632 | 633 | Copyright (C) 634 | 635 | This program is free software: you can redistribute it and/or modify 636 | it under the terms of the GNU Affero General Public License as published 637 | by the Free Software Foundation, either version 3 of the License, or 638 | (at your option) any later version. 639 | 640 | This program is distributed in the hope that it will be useful, 641 | but WITHOUT ANY WARRANTY; without even the implied warranty of 642 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 643 | GNU Affero General Public License for more details. 644 | 645 | You should have received a copy of the GNU Affero General Public License 646 | along with this program. If not, see . 647 | 648 | Also add information on how to contact you by electronic and paper mail. 649 | 650 | If your software can interact with users remotely through a computer 651 | network, you should also make sure that it provides a way for users to 652 | get its source. For example, if your program is a web application, its 653 | interface could display a "Source" link that leads users to an archive 654 | of the code. There are many ways you could offer source, and different 655 | solutions will be better for different programs; see section 13 for the 656 | specific requirements. 657 | 658 | You should also get your employer (if you work as a programmer) or school, 659 | if any, to sign a "copyright disclaimer" for the program, if necessary. 660 | For more information on this, and how to apply and follow the GNU AGPL, see 661 | . -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # SkyFeed Builder Query Engine 2 | 3 | Query Engine used for custom feeds created with the SkyFeed Builder. 4 | 5 | Loads all posts from the DB in memory, fetches new posts every 100 seconds, updates like count and runs queries to build feeds. 6 | 7 | Depends on a Surreal DB instance with data from . 8 | 9 | ## System Requirements 10 | 11 | Uses between 0.5 and 1.0 GB RAM for every 24h you want to keep in memory. CPU usage for queries is pretty low. 12 | 13 | ## How to run 14 | 15 | 1. Install Rust (https://www.rust-lang.org/tools/install) 16 | 2. Run `cargo build --release` 17 | 3. Copy `.env.example` to `.env` and edit the values 18 | 4. Run with `./target/release/skyfeed-query-engine` --------------------------------------------------------------------------------