├── .github └── workflows │ ├── lint.yml │ └── test.yml ├── .gitignore ├── Cargo.lock ├── Cargo.toml ├── LICENSE ├── README.md ├── build.rs ├── entity ├── Cargo.toml └── src │ ├── guilds.rs │ ├── lib.rs │ ├── prelude.rs │ └── users.rs ├── migration ├── Cargo.toml └── src │ ├── lib.rs │ ├── m20220101_000001_initial_schema.rs │ └── main.rs └── src ├── commands ├── help │ ├── mod.rs │ └── ping.rs └── mod.rs ├── config.rs ├── database.rs ├── error.rs ├── events.rs ├── main.rs └── utils ├── embeds.rs └── mod.rs /.github/workflows/lint.yml: -------------------------------------------------------------------------------- 1 | name: lint 2 | 3 | on: 4 | push: 5 | branches: 6 | - 'main' 7 | pull_request: 8 | 9 | jobs: 10 | fmt: 11 | runs-on: ubuntu-latest 12 | 13 | steps: 14 | - name: Checkout 15 | uses: actions/checkout@v4 16 | 17 | - name: Cache 18 | uses: actions/cache@v4 19 | with: 20 | path: | 21 | ~/.cargo/bin/ 22 | ~/.cargo/registry/index/ 23 | ~/.cargo/registry/cache/ 24 | ~/.cargo/git/db/ 25 | target/ 26 | key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} 27 | 28 | - name: Setup Rust 29 | uses: dtolnay/rust-toolchain@stable 30 | with: 31 | toolchain: stable 32 | 33 | - name: Check fmt 34 | run: cargo fmt --check 35 | 36 | lint: 37 | runs-on: ubuntu-latest 38 | 39 | steps: 40 | - name: Checkout 41 | uses: actions/checkout@v4 42 | 43 | - name: Cache 44 | uses: actions/cache@v4 45 | with: 46 | path: | 47 | ~/.cargo/bin/ 48 | ~/.cargo/registry/index/ 49 | ~/.cargo/registry/cache/ 50 | ~/.cargo/git/db/ 51 | target/ 52 | key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} 53 | 54 | - name: Setup Rust 55 | uses: dtolnay/rust-toolchain@stable 56 | with: 57 | toolchain: stable 58 | 59 | - name: Lint 60 | run: cargo clippy -- -D warnings 61 | -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- 1 | name: test 2 | 3 | on: 4 | push: 5 | branches: 6 | - 'main' 7 | pull_request: 8 | 9 | jobs: 10 | test: 11 | runs-on: ubuntu-latest 12 | 13 | steps: 14 | - name: Checkout 15 | uses: actions/checkout@v4 16 | 17 | - name: Cache 18 | uses: actions/cache@v4 19 | with: 20 | path: | 21 | ~/.cargo/bin/ 22 | ~/.cargo/registry/index/ 23 | ~/.cargo/registry/cache/ 24 | ~/.cargo/git/db/ 25 | target/ 26 | key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} 27 | 28 | - name: Setup Rust 29 | uses: dtolnay/rust-toolchain@stable 30 | with: 31 | toolchain: stable 32 | 33 | - name: Build 34 | run: cargo build --verbose 35 | 36 | - name: Test 37 | run: cargo test --verbose 38 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .idea 2 | target 3 | -------------------------------------------------------------------------------- /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.2" 8 | source = "registry+https://github.com/rust-lang/crates.io-index" 9 | checksum = "dfbe277e56a376000877090da837660b4427aad530e3028d44e0bffe4f89a1c1" 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 = "aformat" 22 | version = "0.1.8" 23 | source = "registry+https://github.com/rust-lang/crates.io-index" 24 | checksum = "f387c59d52324934bdd3586fe904051338ce4583a9bb921982a3dbb060a26e6f" 25 | dependencies = [ 26 | "aformat-macros", 27 | "to-arraystring", 28 | "typenum", 29 | "typenum_mappings", 30 | ] 31 | 32 | [[package]] 33 | name = "aformat-macros" 34 | version = "0.1.6" 35 | source = "registry+https://github.com/rust-lang/crates.io-index" 36 | checksum = "254adeba6d67e7e6706f01ffdf1787cdad41e361be5b7c1e3265bba54dca7d8f" 37 | dependencies = [ 38 | "bytestring", 39 | "proc-macro2", 40 | "quote", 41 | "syn 2.0.101", 42 | ] 43 | 44 | [[package]] 45 | name = "ahash" 46 | version = "0.7.8" 47 | source = "registry+https://github.com/rust-lang/crates.io-index" 48 | checksum = "891477e0c6a8957309ee5c45a6368af3ae14bb510732d2684ffa19af310920f9" 49 | dependencies = [ 50 | "getrandom 0.2.16", 51 | "once_cell", 52 | "version_check", 53 | ] 54 | 55 | [[package]] 56 | name = "aho-corasick" 57 | version = "1.1.3" 58 | source = "registry+https://github.com/rust-lang/crates.io-index" 59 | checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916" 60 | dependencies = [ 61 | "memchr", 62 | ] 63 | 64 | [[package]] 65 | name = "aliasable" 66 | version = "0.1.3" 67 | source = "registry+https://github.com/rust-lang/crates.io-index" 68 | checksum = "250f629c0161ad8107cf89319e990051fae62832fd343083bea452d93e2205fd" 69 | 70 | [[package]] 71 | name = "allocator-api2" 72 | version = "0.2.21" 73 | source = "registry+https://github.com/rust-lang/crates.io-index" 74 | checksum = "683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923" 75 | 76 | [[package]] 77 | name = "android-tzdata" 78 | version = "0.1.1" 79 | source = "registry+https://github.com/rust-lang/crates.io-index" 80 | checksum = "e999941b234f3131b00bc13c22d06e8c5ff726d1b6318ac7eb276997bbb4fef0" 81 | 82 | [[package]] 83 | name = "android_system_properties" 84 | version = "0.1.5" 85 | source = "registry+https://github.com/rust-lang/crates.io-index" 86 | checksum = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311" 87 | dependencies = [ 88 | "libc", 89 | ] 90 | 91 | [[package]] 92 | name = "anisearch" 93 | version = "3.0.0" 94 | dependencies = [ 95 | "anyhow", 96 | "chrono", 97 | "entity", 98 | "migration", 99 | "poise", 100 | "sea-orm", 101 | "thiserror", 102 | "tokio", 103 | "tracing", 104 | "tracing-subscriber", 105 | ] 106 | 107 | [[package]] 108 | name = "anstream" 109 | version = "0.6.18" 110 | source = "registry+https://github.com/rust-lang/crates.io-index" 111 | checksum = "8acc5369981196006228e28809f761875c0327210a891e941f4c683b3a99529b" 112 | dependencies = [ 113 | "anstyle", 114 | "anstyle-parse", 115 | "anstyle-query", 116 | "anstyle-wincon", 117 | "colorchoice", 118 | "is_terminal_polyfill", 119 | "utf8parse", 120 | ] 121 | 122 | [[package]] 123 | name = "anstyle" 124 | version = "1.0.10" 125 | source = "registry+https://github.com/rust-lang/crates.io-index" 126 | checksum = "55cc3b69f167a1ef2e161439aa98aed94e6028e5f9a59be9a6ffb47aef1651f9" 127 | 128 | [[package]] 129 | name = "anstyle-parse" 130 | version = "0.2.6" 131 | source = "registry+https://github.com/rust-lang/crates.io-index" 132 | checksum = "3b2d16507662817a6a20a9ea92df6652ee4f94f914589377d69f3b21bc5798a9" 133 | dependencies = [ 134 | "utf8parse", 135 | ] 136 | 137 | [[package]] 138 | name = "anstyle-query" 139 | version = "1.1.2" 140 | source = "registry+https://github.com/rust-lang/crates.io-index" 141 | checksum = "79947af37f4177cfead1110013d678905c37501914fba0efea834c3fe9a8d60c" 142 | dependencies = [ 143 | "windows-sys 0.59.0", 144 | ] 145 | 146 | [[package]] 147 | name = "anstyle-wincon" 148 | version = "3.0.7" 149 | source = "registry+https://github.com/rust-lang/crates.io-index" 150 | checksum = "ca3534e77181a9cc07539ad51f2141fe32f6c3ffd4df76db8ad92346b003ae4e" 151 | dependencies = [ 152 | "anstyle", 153 | "once_cell", 154 | "windows-sys 0.59.0", 155 | ] 156 | 157 | [[package]] 158 | name = "anyhow" 159 | version = "1.0.98" 160 | source = "registry+https://github.com/rust-lang/crates.io-index" 161 | checksum = "e16d2d3311acee920a9eb8d33b8cbc1787ce4a264e85f964c2404b969bdcd487" 162 | 163 | [[package]] 164 | name = "arrayvec" 165 | version = "0.7.6" 166 | source = "registry+https://github.com/rust-lang/crates.io-index" 167 | checksum = "7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50" 168 | dependencies = [ 169 | "serde", 170 | ] 171 | 172 | [[package]] 173 | name = "async-attributes" 174 | version = "1.1.2" 175 | source = "registry+https://github.com/rust-lang/crates.io-index" 176 | checksum = "a3203e79f4dd9bdda415ed03cf14dae5a2bf775c683a00f94e9cd1faf0f596e5" 177 | dependencies = [ 178 | "quote", 179 | "syn 1.0.109", 180 | ] 181 | 182 | [[package]] 183 | name = "async-channel" 184 | version = "1.9.0" 185 | source = "registry+https://github.com/rust-lang/crates.io-index" 186 | checksum = "81953c529336010edd6d8e358f886d9581267795c61b19475b71314bffa46d35" 187 | dependencies = [ 188 | "concurrent-queue", 189 | "event-listener 2.5.3", 190 | "futures-core", 191 | ] 192 | 193 | [[package]] 194 | name = "async-channel" 195 | version = "2.3.1" 196 | source = "registry+https://github.com/rust-lang/crates.io-index" 197 | checksum = "89b47800b0be77592da0afd425cc03468052844aff33b84e33cc696f64e77b6a" 198 | dependencies = [ 199 | "concurrent-queue", 200 | "event-listener-strategy", 201 | "futures-core", 202 | "pin-project-lite", 203 | ] 204 | 205 | [[package]] 206 | name = "async-executor" 207 | version = "1.13.2" 208 | source = "registry+https://github.com/rust-lang/crates.io-index" 209 | checksum = "bb812ffb58524bdd10860d7d974e2f01cc0950c2438a74ee5ec2e2280c6c4ffa" 210 | dependencies = [ 211 | "async-task", 212 | "concurrent-queue", 213 | "fastrand", 214 | "futures-lite", 215 | "pin-project-lite", 216 | "slab", 217 | ] 218 | 219 | [[package]] 220 | name = "async-global-executor" 221 | version = "2.4.1" 222 | source = "registry+https://github.com/rust-lang/crates.io-index" 223 | checksum = "05b1b633a2115cd122d73b955eadd9916c18c8f510ec9cd1686404c60ad1c29c" 224 | dependencies = [ 225 | "async-channel 2.3.1", 226 | "async-executor", 227 | "async-io", 228 | "async-lock", 229 | "blocking", 230 | "futures-lite", 231 | "once_cell", 232 | "tokio", 233 | ] 234 | 235 | [[package]] 236 | name = "async-io" 237 | version = "2.4.0" 238 | source = "registry+https://github.com/rust-lang/crates.io-index" 239 | checksum = "43a2b323ccce0a1d90b449fd71f2a06ca7faa7c54c2751f06c9bd851fc061059" 240 | dependencies = [ 241 | "async-lock", 242 | "cfg-if", 243 | "concurrent-queue", 244 | "futures-io", 245 | "futures-lite", 246 | "parking", 247 | "polling", 248 | "rustix 0.38.44", 249 | "slab", 250 | "tracing", 251 | "windows-sys 0.59.0", 252 | ] 253 | 254 | [[package]] 255 | name = "async-lock" 256 | version = "3.4.0" 257 | source = "registry+https://github.com/rust-lang/crates.io-index" 258 | checksum = "ff6e472cdea888a4bd64f342f09b3f50e1886d32afe8df3d663c01140b811b18" 259 | dependencies = [ 260 | "event-listener 5.4.0", 261 | "event-listener-strategy", 262 | "pin-project-lite", 263 | ] 264 | 265 | [[package]] 266 | name = "async-std" 267 | version = "1.13.1" 268 | source = "registry+https://github.com/rust-lang/crates.io-index" 269 | checksum = "730294c1c08c2e0f85759590518f6333f0d5a0a766a27d519c1b244c3dfd8a24" 270 | dependencies = [ 271 | "async-attributes", 272 | "async-channel 1.9.0", 273 | "async-global-executor", 274 | "async-io", 275 | "async-lock", 276 | "crossbeam-utils", 277 | "futures-channel", 278 | "futures-core", 279 | "futures-io", 280 | "futures-lite", 281 | "gloo-timers", 282 | "kv-log-macro", 283 | "log", 284 | "memchr", 285 | "once_cell", 286 | "pin-project-lite", 287 | "pin-utils", 288 | "slab", 289 | "wasm-bindgen-futures", 290 | ] 291 | 292 | [[package]] 293 | name = "async-stream" 294 | version = "0.3.6" 295 | source = "registry+https://github.com/rust-lang/crates.io-index" 296 | checksum = "0b5a71a6f37880a80d1d7f19efd781e4b5de42c88f0722cc13bcb6cc2cfe8476" 297 | dependencies = [ 298 | "async-stream-impl", 299 | "futures-core", 300 | "pin-project-lite", 301 | ] 302 | 303 | [[package]] 304 | name = "async-stream-impl" 305 | version = "0.3.6" 306 | source = "registry+https://github.com/rust-lang/crates.io-index" 307 | checksum = "c7c24de15d275a1ecfd47a380fb4d5ec9bfe0933f309ed5e705b775596a3574d" 308 | dependencies = [ 309 | "proc-macro2", 310 | "quote", 311 | "syn 2.0.101", 312 | ] 313 | 314 | [[package]] 315 | name = "async-task" 316 | version = "4.7.1" 317 | source = "registry+https://github.com/rust-lang/crates.io-index" 318 | checksum = "8b75356056920673b02621b35afd0f7dda9306d03c79a30f5c56c44cf256e3de" 319 | 320 | [[package]] 321 | name = "async-trait" 322 | version = "0.1.88" 323 | source = "registry+https://github.com/rust-lang/crates.io-index" 324 | checksum = "e539d3fca749fcee5236ab05e93a52867dd549cc157c8cb7f99595f3cedffdb5" 325 | dependencies = [ 326 | "proc-macro2", 327 | "quote", 328 | "syn 2.0.101", 329 | ] 330 | 331 | [[package]] 332 | name = "atoi" 333 | version = "2.0.0" 334 | source = "registry+https://github.com/rust-lang/crates.io-index" 335 | checksum = "f28d99ec8bfea296261ca1af174f24225171fea9664ba9003cbebee704810528" 336 | dependencies = [ 337 | "num-traits", 338 | ] 339 | 340 | [[package]] 341 | name = "atomic-waker" 342 | version = "1.1.2" 343 | source = "registry+https://github.com/rust-lang/crates.io-index" 344 | checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" 345 | 346 | [[package]] 347 | name = "autocfg" 348 | version = "1.4.0" 349 | source = "registry+https://github.com/rust-lang/crates.io-index" 350 | checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26" 351 | 352 | [[package]] 353 | name = "backtrace" 354 | version = "0.3.75" 355 | source = "registry+https://github.com/rust-lang/crates.io-index" 356 | checksum = "6806a6321ec58106fea15becdad98371e28d92ccbc7c8f1b3b6dd724fe8f1002" 357 | dependencies = [ 358 | "addr2line", 359 | "cfg-if", 360 | "libc", 361 | "miniz_oxide", 362 | "object", 363 | "rustc-demangle", 364 | "windows-targets 0.52.6", 365 | ] 366 | 367 | [[package]] 368 | name = "base64" 369 | version = "0.22.1" 370 | source = "registry+https://github.com/rust-lang/crates.io-index" 371 | checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6" 372 | 373 | [[package]] 374 | name = "base64ct" 375 | version = "1.7.3" 376 | source = "registry+https://github.com/rust-lang/crates.io-index" 377 | checksum = "89e25b6adfb930f02d1981565a6e5d9c547ac15a96606256d3b59040e5cd4ca3" 378 | 379 | [[package]] 380 | name = "bigdecimal" 381 | version = "0.4.8" 382 | source = "registry+https://github.com/rust-lang/crates.io-index" 383 | checksum = "1a22f228ab7a1b23027ccc6c350b72868017af7ea8356fbdf19f8d991c690013" 384 | dependencies = [ 385 | "autocfg", 386 | "libm", 387 | "num-bigint", 388 | "num-integer", 389 | "num-traits", 390 | "serde", 391 | ] 392 | 393 | [[package]] 394 | name = "bitflags" 395 | version = "2.9.0" 396 | source = "registry+https://github.com/rust-lang/crates.io-index" 397 | checksum = "5c8214115b7bf84099f1309324e63141d4c5d7cc26862f97a0a857dbefe165bd" 398 | dependencies = [ 399 | "serde", 400 | ] 401 | 402 | [[package]] 403 | name = "bitvec" 404 | version = "1.0.1" 405 | source = "registry+https://github.com/rust-lang/crates.io-index" 406 | checksum = "1bc2832c24239b0141d5674bb9174f9d68a8b5b3f2753311927c172ca46f7e9c" 407 | dependencies = [ 408 | "funty", 409 | "radium", 410 | "tap", 411 | "wyz", 412 | ] 413 | 414 | [[package]] 415 | name = "block-buffer" 416 | version = "0.10.4" 417 | source = "registry+https://github.com/rust-lang/crates.io-index" 418 | checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" 419 | dependencies = [ 420 | "generic-array", 421 | ] 422 | 423 | [[package]] 424 | name = "blocking" 425 | version = "1.6.1" 426 | source = "registry+https://github.com/rust-lang/crates.io-index" 427 | checksum = "703f41c54fc768e63e091340b424302bb1c29ef4aa0c7f10fe849dfb114d29ea" 428 | dependencies = [ 429 | "async-channel 2.3.1", 430 | "async-task", 431 | "futures-io", 432 | "futures-lite", 433 | "piper", 434 | ] 435 | 436 | [[package]] 437 | name = "bool_to_bitflags" 438 | version = "0.1.3" 439 | source = "registry+https://github.com/rust-lang/crates.io-index" 440 | checksum = "c7c039d9bc676b768f6d59556e99f95f5e47c811b672f8b2b2b606eb28527a2f" 441 | dependencies = [ 442 | "darling", 443 | "proc-macro2", 444 | "quote", 445 | "syn 2.0.101", 446 | "to-arraystring", 447 | ] 448 | 449 | [[package]] 450 | name = "borsh" 451 | version = "1.5.7" 452 | source = "registry+https://github.com/rust-lang/crates.io-index" 453 | checksum = "ad8646f98db542e39fc66e68a20b2144f6a732636df7c2354e74645faaa433ce" 454 | dependencies = [ 455 | "borsh-derive", 456 | "cfg_aliases", 457 | ] 458 | 459 | [[package]] 460 | name = "borsh-derive" 461 | version = "1.5.7" 462 | source = "registry+https://github.com/rust-lang/crates.io-index" 463 | checksum = "fdd1d3c0c2f5833f22386f252fe8ed005c7f59fdcddeef025c01b4c3b9fd9ac3" 464 | dependencies = [ 465 | "once_cell", 466 | "proc-macro-crate", 467 | "proc-macro2", 468 | "quote", 469 | "syn 2.0.101", 470 | ] 471 | 472 | [[package]] 473 | name = "bumpalo" 474 | version = "3.17.0" 475 | source = "registry+https://github.com/rust-lang/crates.io-index" 476 | checksum = "1628fb46dfa0b37568d12e5edd512553eccf6a22a78e8bde00bb4aed84d5bdbf" 477 | 478 | [[package]] 479 | name = "bytecheck" 480 | version = "0.6.12" 481 | source = "registry+https://github.com/rust-lang/crates.io-index" 482 | checksum = "23cdc57ce23ac53c931e88a43d06d070a6fd142f2617be5855eb75efc9beb1c2" 483 | dependencies = [ 484 | "bytecheck_derive", 485 | "ptr_meta", 486 | "simdutf8", 487 | ] 488 | 489 | [[package]] 490 | name = "bytecheck_derive" 491 | version = "0.6.12" 492 | source = "registry+https://github.com/rust-lang/crates.io-index" 493 | checksum = "3db406d29fbcd95542e92559bed4d8ad92636d1ca8b3b72ede10b4bcc010e659" 494 | dependencies = [ 495 | "proc-macro2", 496 | "quote", 497 | "syn 1.0.109", 498 | ] 499 | 500 | [[package]] 501 | name = "byteorder" 502 | version = "1.5.0" 503 | source = "registry+https://github.com/rust-lang/crates.io-index" 504 | checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" 505 | 506 | [[package]] 507 | name = "bytes" 508 | version = "1.10.1" 509 | source = "registry+https://github.com/rust-lang/crates.io-index" 510 | checksum = "d71b6127be86fdcfddb610f7182ac57211d4b18a3e9c82eb2d17662f2227ad6a" 511 | 512 | [[package]] 513 | name = "bytestring" 514 | version = "1.4.0" 515 | source = "registry+https://github.com/rust-lang/crates.io-index" 516 | checksum = "e465647ae23b2823b0753f50decb2d5a86d2bb2cac04788fafd1f80e45378e5f" 517 | dependencies = [ 518 | "bytes", 519 | ] 520 | 521 | [[package]] 522 | name = "cc" 523 | version = "1.2.22" 524 | source = "registry+https://github.com/rust-lang/crates.io-index" 525 | checksum = "32db95edf998450acc7881c932f94cd9b05c87b4b2599e8bab064753da4acfd1" 526 | dependencies = [ 527 | "shlex", 528 | ] 529 | 530 | [[package]] 531 | name = "cfg-if" 532 | version = "1.0.0" 533 | source = "registry+https://github.com/rust-lang/crates.io-index" 534 | checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" 535 | 536 | [[package]] 537 | name = "cfg_aliases" 538 | version = "0.2.1" 539 | source = "registry+https://github.com/rust-lang/crates.io-index" 540 | checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724" 541 | 542 | [[package]] 543 | name = "chrono" 544 | version = "0.4.41" 545 | source = "registry+https://github.com/rust-lang/crates.io-index" 546 | checksum = "c469d952047f47f91b68d1cba3f10d63c11d73e4636f24f08daf0278abf01c4d" 547 | dependencies = [ 548 | "android-tzdata", 549 | "iana-time-zone", 550 | "js-sys", 551 | "num-traits", 552 | "serde", 553 | "wasm-bindgen", 554 | "windows-link", 555 | ] 556 | 557 | [[package]] 558 | name = "clap" 559 | version = "4.5.38" 560 | source = "registry+https://github.com/rust-lang/crates.io-index" 561 | checksum = "ed93b9805f8ba930df42c2590f05453d5ec36cbb85d018868a5b24d31f6ac000" 562 | dependencies = [ 563 | "clap_builder", 564 | "clap_derive", 565 | ] 566 | 567 | [[package]] 568 | name = "clap_builder" 569 | version = "4.5.38" 570 | source = "registry+https://github.com/rust-lang/crates.io-index" 571 | checksum = "379026ff283facf611b0ea629334361c4211d1b12ee01024eec1591133b04120" 572 | dependencies = [ 573 | "anstream", 574 | "anstyle", 575 | "clap_lex", 576 | "strsim", 577 | ] 578 | 579 | [[package]] 580 | name = "clap_derive" 581 | version = "4.5.32" 582 | source = "registry+https://github.com/rust-lang/crates.io-index" 583 | checksum = "09176aae279615badda0765c0c0b3f6ed53f4709118af73cf4655d85d1530cd7" 584 | dependencies = [ 585 | "heck 0.5.0", 586 | "proc-macro2", 587 | "quote", 588 | "syn 2.0.101", 589 | ] 590 | 591 | [[package]] 592 | name = "clap_lex" 593 | version = "0.7.4" 594 | source = "registry+https://github.com/rust-lang/crates.io-index" 595 | checksum = "f46ad14479a25103f283c0f10005961cf086d8dc42205bb44c46ac563475dca6" 596 | 597 | [[package]] 598 | name = "colorchoice" 599 | version = "1.0.3" 600 | source = "registry+https://github.com/rust-lang/crates.io-index" 601 | checksum = "5b63caa9aa9397e2d9480a9b13673856c78d8ac123288526c37d7839f2a86990" 602 | 603 | [[package]] 604 | name = "concurrent-queue" 605 | version = "2.5.0" 606 | source = "registry+https://github.com/rust-lang/crates.io-index" 607 | checksum = "4ca0197aee26d1ae37445ee532fefce43251d24cc7c166799f4d46817f1d3973" 608 | dependencies = [ 609 | "crossbeam-utils", 610 | ] 611 | 612 | [[package]] 613 | name = "const-oid" 614 | version = "0.9.6" 615 | source = "registry+https://github.com/rust-lang/crates.io-index" 616 | checksum = "c2459377285ad874054d797f3ccebf984978aa39129f6eafde5cdc8315b612f8" 617 | 618 | [[package]] 619 | name = "core-foundation-sys" 620 | version = "0.8.7" 621 | source = "registry+https://github.com/rust-lang/crates.io-index" 622 | checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b" 623 | 624 | [[package]] 625 | name = "cpufeatures" 626 | version = "0.2.17" 627 | source = "registry+https://github.com/rust-lang/crates.io-index" 628 | checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280" 629 | dependencies = [ 630 | "libc", 631 | ] 632 | 633 | [[package]] 634 | name = "crc" 635 | version = "3.3.0" 636 | source = "registry+https://github.com/rust-lang/crates.io-index" 637 | checksum = "9710d3b3739c2e349eb44fe848ad0b7c8cb1e42bd87ee49371df2f7acaf3e675" 638 | dependencies = [ 639 | "crc-catalog", 640 | ] 641 | 642 | [[package]] 643 | name = "crc-catalog" 644 | version = "2.4.0" 645 | source = "registry+https://github.com/rust-lang/crates.io-index" 646 | checksum = "19d374276b40fb8bbdee95aef7c7fa6b5316ec764510eb64b8dd0e2ed0d7e7f5" 647 | 648 | [[package]] 649 | name = "crc32fast" 650 | version = "1.4.2" 651 | source = "registry+https://github.com/rust-lang/crates.io-index" 652 | checksum = "a97769d94ddab943e4510d138150169a2758b5ef3eb191a9ee688de3e23ef7b3" 653 | dependencies = [ 654 | "cfg-if", 655 | ] 656 | 657 | [[package]] 658 | name = "crossbeam-queue" 659 | version = "0.3.12" 660 | source = "registry+https://github.com/rust-lang/crates.io-index" 661 | checksum = "0f58bbc28f91df819d0aa2a2c00cd19754769c2fad90579b3592b1c9ba7a3115" 662 | dependencies = [ 663 | "crossbeam-utils", 664 | ] 665 | 666 | [[package]] 667 | name = "crossbeam-utils" 668 | version = "0.8.21" 669 | source = "registry+https://github.com/rust-lang/crates.io-index" 670 | checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28" 671 | 672 | [[package]] 673 | name = "crypto-common" 674 | version = "0.1.6" 675 | source = "registry+https://github.com/rust-lang/crates.io-index" 676 | checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" 677 | dependencies = [ 678 | "generic-array", 679 | "typenum", 680 | ] 681 | 682 | [[package]] 683 | name = "darling" 684 | version = "0.20.11" 685 | source = "registry+https://github.com/rust-lang/crates.io-index" 686 | checksum = "fc7f46116c46ff9ab3eb1597a45688b6715c6e628b5c133e288e709a29bcb4ee" 687 | dependencies = [ 688 | "darling_core", 689 | "darling_macro", 690 | ] 691 | 692 | [[package]] 693 | name = "darling_core" 694 | version = "0.20.11" 695 | source = "registry+https://github.com/rust-lang/crates.io-index" 696 | checksum = "0d00b9596d185e565c2207a0b01f8bd1a135483d02d9b7b0a54b11da8d53412e" 697 | dependencies = [ 698 | "fnv", 699 | "ident_case", 700 | "proc-macro2", 701 | "quote", 702 | "strsim", 703 | "syn 2.0.101", 704 | ] 705 | 706 | [[package]] 707 | name = "darling_macro" 708 | version = "0.20.11" 709 | source = "registry+https://github.com/rust-lang/crates.io-index" 710 | checksum = "fc34b93ccb385b40dc71c6fceac4b2ad23662c7eeb248cf10d529b7e055b6ead" 711 | dependencies = [ 712 | "darling_core", 713 | "quote", 714 | "syn 2.0.101", 715 | ] 716 | 717 | [[package]] 718 | name = "dashmap" 719 | version = "6.1.0" 720 | source = "registry+https://github.com/rust-lang/crates.io-index" 721 | checksum = "5041cc499144891f3790297212f32a74fb938e5136a14943f338ef9e0ae276cf" 722 | dependencies = [ 723 | "cfg-if", 724 | "crossbeam-utils", 725 | "hashbrown 0.14.5", 726 | "lock_api", 727 | "once_cell", 728 | "parking_lot_core", 729 | "serde", 730 | ] 731 | 732 | [[package]] 733 | name = "data-encoding" 734 | version = "2.9.0" 735 | source = "registry+https://github.com/rust-lang/crates.io-index" 736 | checksum = "2a2330da5de22e8a3cb63252ce2abb30116bf5265e89c0e01bc17015ce30a476" 737 | 738 | [[package]] 739 | name = "der" 740 | version = "0.7.10" 741 | source = "registry+https://github.com/rust-lang/crates.io-index" 742 | checksum = "e7c1832837b905bbfb5101e07cc24c8deddf52f93225eee6ead5f4d63d53ddcb" 743 | dependencies = [ 744 | "const-oid", 745 | "pem-rfc7468", 746 | "zeroize", 747 | ] 748 | 749 | [[package]] 750 | name = "deranged" 751 | version = "0.4.0" 752 | source = "registry+https://github.com/rust-lang/crates.io-index" 753 | checksum = "9c9e6a11ca8224451684bc0d7d5a7adbf8f2fd6887261a1cfc3c0432f9d4068e" 754 | dependencies = [ 755 | "powerfmt", 756 | "serde", 757 | ] 758 | 759 | [[package]] 760 | name = "derivative" 761 | version = "2.2.0" 762 | source = "registry+https://github.com/rust-lang/crates.io-index" 763 | checksum = "fcc3dd5e9e9c0b295d6e1e4d811fb6f157d5ffd784b8d202fc62eac8035a770b" 764 | dependencies = [ 765 | "proc-macro2", 766 | "quote", 767 | "syn 1.0.109", 768 | ] 769 | 770 | [[package]] 771 | name = "digest" 772 | version = "0.10.7" 773 | source = "registry+https://github.com/rust-lang/crates.io-index" 774 | checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" 775 | dependencies = [ 776 | "block-buffer", 777 | "const-oid", 778 | "crypto-common", 779 | "subtle", 780 | ] 781 | 782 | [[package]] 783 | name = "displaydoc" 784 | version = "0.2.5" 785 | source = "registry+https://github.com/rust-lang/crates.io-index" 786 | checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0" 787 | dependencies = [ 788 | "proc-macro2", 789 | "quote", 790 | "syn 2.0.101", 791 | ] 792 | 793 | [[package]] 794 | name = "dotenvy" 795 | version = "0.15.7" 796 | source = "registry+https://github.com/rust-lang/crates.io-index" 797 | checksum = "1aaf95b3e5c8f23aa320147307562d361db0ae0d51242340f558153b4eb2439b" 798 | 799 | [[package]] 800 | name = "either" 801 | version = "1.15.0" 802 | source = "registry+https://github.com/rust-lang/crates.io-index" 803 | checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719" 804 | dependencies = [ 805 | "serde", 806 | ] 807 | 808 | [[package]] 809 | name = "entity" 810 | version = "0.1.0" 811 | dependencies = [ 812 | "sea-orm", 813 | ] 814 | 815 | [[package]] 816 | name = "equivalent" 817 | version = "1.0.2" 818 | source = "registry+https://github.com/rust-lang/crates.io-index" 819 | checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f" 820 | 821 | [[package]] 822 | name = "errno" 823 | version = "0.3.11" 824 | source = "registry+https://github.com/rust-lang/crates.io-index" 825 | checksum = "976dd42dc7e85965fe702eb8164f21f450704bdde31faefd6471dba214cb594e" 826 | dependencies = [ 827 | "libc", 828 | "windows-sys 0.59.0", 829 | ] 830 | 831 | [[package]] 832 | name = "etcetera" 833 | version = "0.8.0" 834 | source = "registry+https://github.com/rust-lang/crates.io-index" 835 | checksum = "136d1b5283a1ab77bd9257427ffd09d8667ced0570b6f938942bc7568ed5b943" 836 | dependencies = [ 837 | "cfg-if", 838 | "home", 839 | "windows-sys 0.48.0", 840 | ] 841 | 842 | [[package]] 843 | name = "event-listener" 844 | version = "2.5.3" 845 | source = "registry+https://github.com/rust-lang/crates.io-index" 846 | checksum = "0206175f82b8d6bf6652ff7d71a1e27fd2e4efde587fd368662814d6ec1d9ce0" 847 | 848 | [[package]] 849 | name = "event-listener" 850 | version = "5.4.0" 851 | source = "registry+https://github.com/rust-lang/crates.io-index" 852 | checksum = "3492acde4c3fc54c845eaab3eed8bd00c7a7d881f78bfc801e43a93dec1331ae" 853 | dependencies = [ 854 | "concurrent-queue", 855 | "parking", 856 | "pin-project-lite", 857 | ] 858 | 859 | [[package]] 860 | name = "event-listener-strategy" 861 | version = "0.5.4" 862 | source = "registry+https://github.com/rust-lang/crates.io-index" 863 | checksum = "8be9f3dfaaffdae2972880079a491a1a8bb7cbed0b8dd7a347f668b4150a3b93" 864 | dependencies = [ 865 | "event-listener 5.4.0", 866 | "pin-project-lite", 867 | ] 868 | 869 | [[package]] 870 | name = "extract_map" 871 | version = "0.3.1" 872 | source = "registry+https://github.com/rust-lang/crates.io-index" 873 | checksum = "a8855baff5d450715f5d34c1d291a8c77363bd5a20ddacf560d7d6ea2a07f2c3" 874 | dependencies = [ 875 | "hashbrown 0.15.3", 876 | "serde", 877 | ] 878 | 879 | [[package]] 880 | name = "fastrand" 881 | version = "2.3.0" 882 | source = "registry+https://github.com/rust-lang/crates.io-index" 883 | checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be" 884 | 885 | [[package]] 886 | name = "flate2" 887 | version = "1.1.1" 888 | source = "registry+https://github.com/rust-lang/crates.io-index" 889 | checksum = "7ced92e76e966ca2fd84c8f7aa01a4aea65b0eb6648d72f7c8f3e2764a67fece" 890 | dependencies = [ 891 | "crc32fast", 892 | "miniz_oxide", 893 | ] 894 | 895 | [[package]] 896 | name = "flume" 897 | version = "0.11.1" 898 | source = "registry+https://github.com/rust-lang/crates.io-index" 899 | checksum = "da0e4dd2a88388a1f4ccc7c9ce104604dab68d9f408dc34cd45823d5a9069095" 900 | dependencies = [ 901 | "futures-core", 902 | "futures-sink", 903 | "spin", 904 | ] 905 | 906 | [[package]] 907 | name = "fnv" 908 | version = "1.0.7" 909 | source = "registry+https://github.com/rust-lang/crates.io-index" 910 | checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" 911 | 912 | [[package]] 913 | name = "foldhash" 914 | version = "0.1.5" 915 | source = "registry+https://github.com/rust-lang/crates.io-index" 916 | checksum = "d9c4f5dac5e15c24eb999c26181a6ca40b39fe946cbe4c263c7209467bc83af2" 917 | 918 | [[package]] 919 | name = "form_urlencoded" 920 | version = "1.2.1" 921 | source = "registry+https://github.com/rust-lang/crates.io-index" 922 | checksum = "e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456" 923 | dependencies = [ 924 | "percent-encoding", 925 | ] 926 | 927 | [[package]] 928 | name = "funty" 929 | version = "2.0.0" 930 | source = "registry+https://github.com/rust-lang/crates.io-index" 931 | checksum = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c" 932 | 933 | [[package]] 934 | name = "futures" 935 | version = "0.3.31" 936 | source = "registry+https://github.com/rust-lang/crates.io-index" 937 | checksum = "65bc07b1a8bc7c85c5f2e110c476c7389b4554ba72af57d8445ea63a576b0876" 938 | dependencies = [ 939 | "futures-channel", 940 | "futures-core", 941 | "futures-io", 942 | "futures-sink", 943 | "futures-task", 944 | "futures-util", 945 | ] 946 | 947 | [[package]] 948 | name = "futures-channel" 949 | version = "0.3.31" 950 | source = "registry+https://github.com/rust-lang/crates.io-index" 951 | checksum = "2dff15bf788c671c1934e366d07e30c1814a8ef514e1af724a602e8a2fbe1b10" 952 | dependencies = [ 953 | "futures-core", 954 | "futures-sink", 955 | ] 956 | 957 | [[package]] 958 | name = "futures-core" 959 | version = "0.3.31" 960 | source = "registry+https://github.com/rust-lang/crates.io-index" 961 | checksum = "05f29059c0c2090612e8d742178b0580d2dc940c837851ad723096f87af6663e" 962 | 963 | [[package]] 964 | name = "futures-executor" 965 | version = "0.3.31" 966 | source = "registry+https://github.com/rust-lang/crates.io-index" 967 | checksum = "1e28d1d997f585e54aebc3f97d39e72338912123a67330d723fdbb564d646c9f" 968 | dependencies = [ 969 | "futures-core", 970 | "futures-task", 971 | "futures-util", 972 | ] 973 | 974 | [[package]] 975 | name = "futures-intrusive" 976 | version = "0.5.0" 977 | source = "registry+https://github.com/rust-lang/crates.io-index" 978 | checksum = "1d930c203dd0b6ff06e0201a4a2fe9149b43c684fd4420555b26d21b1a02956f" 979 | dependencies = [ 980 | "futures-core", 981 | "lock_api", 982 | "parking_lot", 983 | ] 984 | 985 | [[package]] 986 | name = "futures-io" 987 | version = "0.3.31" 988 | source = "registry+https://github.com/rust-lang/crates.io-index" 989 | checksum = "9e5c1b78ca4aae1ac06c48a526a655760685149f0d465d21f37abfe57ce075c6" 990 | 991 | [[package]] 992 | name = "futures-lite" 993 | version = "2.6.0" 994 | source = "registry+https://github.com/rust-lang/crates.io-index" 995 | checksum = "f5edaec856126859abb19ed65f39e90fea3a9574b9707f13539acf4abf7eb532" 996 | dependencies = [ 997 | "fastrand", 998 | "futures-core", 999 | "futures-io", 1000 | "parking", 1001 | "pin-project-lite", 1002 | ] 1003 | 1004 | [[package]] 1005 | name = "futures-macro" 1006 | version = "0.3.31" 1007 | source = "registry+https://github.com/rust-lang/crates.io-index" 1008 | checksum = "162ee34ebcb7c64a8abebc059ce0fee27c2262618d7b60ed8faf72fef13c3650" 1009 | dependencies = [ 1010 | "proc-macro2", 1011 | "quote", 1012 | "syn 2.0.101", 1013 | ] 1014 | 1015 | [[package]] 1016 | name = "futures-sink" 1017 | version = "0.3.31" 1018 | source = "registry+https://github.com/rust-lang/crates.io-index" 1019 | checksum = "e575fab7d1e0dcb8d0c7bcf9a63ee213816ab51902e6d244a95819acacf1d4f7" 1020 | 1021 | [[package]] 1022 | name = "futures-task" 1023 | version = "0.3.31" 1024 | source = "registry+https://github.com/rust-lang/crates.io-index" 1025 | checksum = "f90f7dce0722e95104fcb095585910c0977252f286e354b5e3bd38902cd99988" 1026 | 1027 | [[package]] 1028 | name = "futures-util" 1029 | version = "0.3.31" 1030 | source = "registry+https://github.com/rust-lang/crates.io-index" 1031 | checksum = "9fa08315bb612088cc391249efdc3bc77536f16c91f6cf495e6fbe85b20a4a81" 1032 | dependencies = [ 1033 | "futures-channel", 1034 | "futures-core", 1035 | "futures-io", 1036 | "futures-macro", 1037 | "futures-sink", 1038 | "futures-task", 1039 | "memchr", 1040 | "pin-project-lite", 1041 | "pin-utils", 1042 | "slab", 1043 | ] 1044 | 1045 | [[package]] 1046 | name = "generic-array" 1047 | version = "0.14.7" 1048 | source = "registry+https://github.com/rust-lang/crates.io-index" 1049 | checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" 1050 | dependencies = [ 1051 | "typenum", 1052 | "version_check", 1053 | ] 1054 | 1055 | [[package]] 1056 | name = "getrandom" 1057 | version = "0.2.16" 1058 | source = "registry+https://github.com/rust-lang/crates.io-index" 1059 | checksum = "335ff9f135e4384c8150d6f27c6daed433577f86b4750418338c01a1a2528592" 1060 | dependencies = [ 1061 | "cfg-if", 1062 | "js-sys", 1063 | "libc", 1064 | "wasi 0.11.0+wasi-snapshot-preview1", 1065 | "wasm-bindgen", 1066 | ] 1067 | 1068 | [[package]] 1069 | name = "getrandom" 1070 | version = "0.3.3" 1071 | source = "registry+https://github.com/rust-lang/crates.io-index" 1072 | checksum = "26145e563e54f2cadc477553f1ec5ee650b00862f0a58bcd12cbdc5f0ea2d2f4" 1073 | dependencies = [ 1074 | "cfg-if", 1075 | "js-sys", 1076 | "libc", 1077 | "r-efi", 1078 | "wasi 0.14.2+wasi-0.2.4", 1079 | "wasm-bindgen", 1080 | ] 1081 | 1082 | [[package]] 1083 | name = "gimli" 1084 | version = "0.31.1" 1085 | source = "registry+https://github.com/rust-lang/crates.io-index" 1086 | checksum = "07e28edb80900c19c28f1072f2e8aeca7fa06b23cd4169cefe1af5aa3260783f" 1087 | 1088 | [[package]] 1089 | name = "glob" 1090 | version = "0.3.2" 1091 | source = "registry+https://github.com/rust-lang/crates.io-index" 1092 | checksum = "a8d1add55171497b4705a648c6b583acafb01d58050a51727785f0b2c8e0a2b2" 1093 | 1094 | [[package]] 1095 | name = "gloo-timers" 1096 | version = "0.3.0" 1097 | source = "registry+https://github.com/rust-lang/crates.io-index" 1098 | checksum = "bbb143cf96099802033e0d4f4963b19fd2e0b728bcf076cd9cf7f6634f092994" 1099 | dependencies = [ 1100 | "futures-channel", 1101 | "futures-core", 1102 | "js-sys", 1103 | "wasm-bindgen", 1104 | ] 1105 | 1106 | [[package]] 1107 | name = "hashbrown" 1108 | version = "0.12.3" 1109 | source = "registry+https://github.com/rust-lang/crates.io-index" 1110 | checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" 1111 | dependencies = [ 1112 | "ahash", 1113 | ] 1114 | 1115 | [[package]] 1116 | name = "hashbrown" 1117 | version = "0.14.5" 1118 | source = "registry+https://github.com/rust-lang/crates.io-index" 1119 | checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" 1120 | 1121 | [[package]] 1122 | name = "hashbrown" 1123 | version = "0.15.3" 1124 | source = "registry+https://github.com/rust-lang/crates.io-index" 1125 | checksum = "84b26c544d002229e640969970a2e74021aadf6e2f96372b9c58eff97de08eb3" 1126 | dependencies = [ 1127 | "allocator-api2", 1128 | "equivalent", 1129 | "foldhash", 1130 | ] 1131 | 1132 | [[package]] 1133 | name = "hashlink" 1134 | version = "0.10.0" 1135 | source = "registry+https://github.com/rust-lang/crates.io-index" 1136 | checksum = "7382cf6263419f2d8df38c55d7da83da5c18aef87fc7a7fc1fb1e344edfe14c1" 1137 | dependencies = [ 1138 | "hashbrown 0.15.3", 1139 | ] 1140 | 1141 | [[package]] 1142 | name = "heck" 1143 | version = "0.4.1" 1144 | source = "registry+https://github.com/rust-lang/crates.io-index" 1145 | checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" 1146 | 1147 | [[package]] 1148 | name = "heck" 1149 | version = "0.5.0" 1150 | source = "registry+https://github.com/rust-lang/crates.io-index" 1151 | checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" 1152 | 1153 | [[package]] 1154 | name = "hermit-abi" 1155 | version = "0.4.0" 1156 | source = "registry+https://github.com/rust-lang/crates.io-index" 1157 | checksum = "fbf6a919d6cf397374f7dfeeea91d974c7c0a7221d0d0f4f20d859d329e53fcc" 1158 | 1159 | [[package]] 1160 | name = "hex" 1161 | version = "0.4.3" 1162 | source = "registry+https://github.com/rust-lang/crates.io-index" 1163 | checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" 1164 | 1165 | [[package]] 1166 | name = "hkdf" 1167 | version = "0.12.4" 1168 | source = "registry+https://github.com/rust-lang/crates.io-index" 1169 | checksum = "7b5f8eb2ad728638ea2c7d47a21db23b7b58a72ed6a38256b8a1849f15fbbdf7" 1170 | dependencies = [ 1171 | "hmac", 1172 | ] 1173 | 1174 | [[package]] 1175 | name = "hmac" 1176 | version = "0.12.1" 1177 | source = "registry+https://github.com/rust-lang/crates.io-index" 1178 | checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e" 1179 | dependencies = [ 1180 | "digest", 1181 | ] 1182 | 1183 | [[package]] 1184 | name = "home" 1185 | version = "0.5.11" 1186 | source = "registry+https://github.com/rust-lang/crates.io-index" 1187 | checksum = "589533453244b0995c858700322199b2becb13b627df2851f64a2775d024abcf" 1188 | dependencies = [ 1189 | "windows-sys 0.59.0", 1190 | ] 1191 | 1192 | [[package]] 1193 | name = "http" 1194 | version = "1.3.1" 1195 | source = "registry+https://github.com/rust-lang/crates.io-index" 1196 | checksum = "f4a85d31aea989eead29a3aaf9e1115a180df8282431156e533de47660892565" 1197 | dependencies = [ 1198 | "bytes", 1199 | "fnv", 1200 | "itoa", 1201 | ] 1202 | 1203 | [[package]] 1204 | name = "http-body" 1205 | version = "1.0.1" 1206 | source = "registry+https://github.com/rust-lang/crates.io-index" 1207 | checksum = "1efedce1fb8e6913f23e0c92de8e62cd5b772a67e7b3946df930a62566c93184" 1208 | dependencies = [ 1209 | "bytes", 1210 | "http", 1211 | ] 1212 | 1213 | [[package]] 1214 | name = "http-body-util" 1215 | version = "0.1.3" 1216 | source = "registry+https://github.com/rust-lang/crates.io-index" 1217 | checksum = "b021d93e26becf5dc7e1b75b1bed1fd93124b374ceb73f43d4d4eafec896a64a" 1218 | dependencies = [ 1219 | "bytes", 1220 | "futures-core", 1221 | "http", 1222 | "http-body", 1223 | "pin-project-lite", 1224 | ] 1225 | 1226 | [[package]] 1227 | name = "httparse" 1228 | version = "1.10.1" 1229 | source = "registry+https://github.com/rust-lang/crates.io-index" 1230 | checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87" 1231 | 1232 | [[package]] 1233 | name = "hyper" 1234 | version = "1.6.0" 1235 | source = "registry+https://github.com/rust-lang/crates.io-index" 1236 | checksum = "cc2b571658e38e0c01b1fdca3bbbe93c00d3d71693ff2770043f8c29bc7d6f80" 1237 | dependencies = [ 1238 | "bytes", 1239 | "futures-channel", 1240 | "futures-util", 1241 | "http", 1242 | "http-body", 1243 | "httparse", 1244 | "itoa", 1245 | "pin-project-lite", 1246 | "smallvec", 1247 | "tokio", 1248 | "want", 1249 | ] 1250 | 1251 | [[package]] 1252 | name = "hyper-rustls" 1253 | version = "0.27.5" 1254 | source = "registry+https://github.com/rust-lang/crates.io-index" 1255 | checksum = "2d191583f3da1305256f22463b9bb0471acad48a4e534a5218b9963e9c1f59b2" 1256 | dependencies = [ 1257 | "futures-util", 1258 | "http", 1259 | "hyper", 1260 | "hyper-util", 1261 | "rustls", 1262 | "rustls-pki-types", 1263 | "tokio", 1264 | "tokio-rustls", 1265 | "tower-service", 1266 | "webpki-roots 0.26.11", 1267 | ] 1268 | 1269 | [[package]] 1270 | name = "hyper-util" 1271 | version = "0.1.11" 1272 | source = "registry+https://github.com/rust-lang/crates.io-index" 1273 | checksum = "497bbc33a26fdd4af9ed9c70d63f61cf56a938375fbb32df34db9b1cd6d643f2" 1274 | dependencies = [ 1275 | "bytes", 1276 | "futures-channel", 1277 | "futures-util", 1278 | "http", 1279 | "http-body", 1280 | "hyper", 1281 | "libc", 1282 | "pin-project-lite", 1283 | "socket2", 1284 | "tokio", 1285 | "tower-service", 1286 | "tracing", 1287 | ] 1288 | 1289 | [[package]] 1290 | name = "iana-time-zone" 1291 | version = "0.1.63" 1292 | source = "registry+https://github.com/rust-lang/crates.io-index" 1293 | checksum = "b0c919e5debc312ad217002b8048a17b7d83f80703865bbfcfebb0458b0b27d8" 1294 | dependencies = [ 1295 | "android_system_properties", 1296 | "core-foundation-sys", 1297 | "iana-time-zone-haiku", 1298 | "js-sys", 1299 | "log", 1300 | "wasm-bindgen", 1301 | "windows-core", 1302 | ] 1303 | 1304 | [[package]] 1305 | name = "iana-time-zone-haiku" 1306 | version = "0.1.2" 1307 | source = "registry+https://github.com/rust-lang/crates.io-index" 1308 | checksum = "f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f" 1309 | dependencies = [ 1310 | "cc", 1311 | ] 1312 | 1313 | [[package]] 1314 | name = "icu_collections" 1315 | version = "2.0.0" 1316 | source = "registry+https://github.com/rust-lang/crates.io-index" 1317 | checksum = "200072f5d0e3614556f94a9930d5dc3e0662a652823904c3a75dc3b0af7fee47" 1318 | dependencies = [ 1319 | "displaydoc", 1320 | "potential_utf", 1321 | "yoke", 1322 | "zerofrom", 1323 | "zerovec", 1324 | ] 1325 | 1326 | [[package]] 1327 | name = "icu_locale_core" 1328 | version = "2.0.0" 1329 | source = "registry+https://github.com/rust-lang/crates.io-index" 1330 | checksum = "0cde2700ccaed3872079a65fb1a78f6c0a36c91570f28755dda67bc8f7d9f00a" 1331 | dependencies = [ 1332 | "displaydoc", 1333 | "litemap", 1334 | "tinystr", 1335 | "writeable", 1336 | "zerovec", 1337 | ] 1338 | 1339 | [[package]] 1340 | name = "icu_normalizer" 1341 | version = "2.0.0" 1342 | source = "registry+https://github.com/rust-lang/crates.io-index" 1343 | checksum = "436880e8e18df4d7bbc06d58432329d6458cc84531f7ac5f024e93deadb37979" 1344 | dependencies = [ 1345 | "displaydoc", 1346 | "icu_collections", 1347 | "icu_normalizer_data", 1348 | "icu_properties", 1349 | "icu_provider", 1350 | "smallvec", 1351 | "zerovec", 1352 | ] 1353 | 1354 | [[package]] 1355 | name = "icu_normalizer_data" 1356 | version = "2.0.0" 1357 | source = "registry+https://github.com/rust-lang/crates.io-index" 1358 | checksum = "00210d6893afc98edb752b664b8890f0ef174c8adbb8d0be9710fa66fbbf72d3" 1359 | 1360 | [[package]] 1361 | name = "icu_properties" 1362 | version = "2.0.0" 1363 | source = "registry+https://github.com/rust-lang/crates.io-index" 1364 | checksum = "2549ca8c7241c82f59c80ba2a6f415d931c5b58d24fb8412caa1a1f02c49139a" 1365 | dependencies = [ 1366 | "displaydoc", 1367 | "icu_collections", 1368 | "icu_locale_core", 1369 | "icu_properties_data", 1370 | "icu_provider", 1371 | "potential_utf", 1372 | "zerotrie", 1373 | "zerovec", 1374 | ] 1375 | 1376 | [[package]] 1377 | name = "icu_properties_data" 1378 | version = "2.0.0" 1379 | source = "registry+https://github.com/rust-lang/crates.io-index" 1380 | checksum = "8197e866e47b68f8f7d95249e172903bec06004b18b2937f1095d40a0c57de04" 1381 | 1382 | [[package]] 1383 | name = "icu_provider" 1384 | version = "2.0.0" 1385 | source = "registry+https://github.com/rust-lang/crates.io-index" 1386 | checksum = "03c80da27b5f4187909049ee2d72f276f0d9f99a42c306bd0131ecfe04d8e5af" 1387 | dependencies = [ 1388 | "displaydoc", 1389 | "icu_locale_core", 1390 | "stable_deref_trait", 1391 | "tinystr", 1392 | "writeable", 1393 | "yoke", 1394 | "zerofrom", 1395 | "zerotrie", 1396 | "zerovec", 1397 | ] 1398 | 1399 | [[package]] 1400 | name = "ident_case" 1401 | version = "1.0.1" 1402 | source = "registry+https://github.com/rust-lang/crates.io-index" 1403 | checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39" 1404 | 1405 | [[package]] 1406 | name = "idna" 1407 | version = "1.0.3" 1408 | source = "registry+https://github.com/rust-lang/crates.io-index" 1409 | checksum = "686f825264d630750a544639377bae737628043f20d38bbc029e8f29ea968a7e" 1410 | dependencies = [ 1411 | "idna_adapter", 1412 | "smallvec", 1413 | "utf8_iter", 1414 | ] 1415 | 1416 | [[package]] 1417 | name = "idna_adapter" 1418 | version = "1.2.1" 1419 | source = "registry+https://github.com/rust-lang/crates.io-index" 1420 | checksum = "3acae9609540aa318d1bc588455225fb2085b9ed0c4f6bd0d9d5bcd86f1a0344" 1421 | dependencies = [ 1422 | "icu_normalizer", 1423 | "icu_properties", 1424 | ] 1425 | 1426 | [[package]] 1427 | name = "indexmap" 1428 | version = "2.9.0" 1429 | source = "registry+https://github.com/rust-lang/crates.io-index" 1430 | checksum = "cea70ddb795996207ad57735b50c5982d8844f38ba9ee5f1aedcfb708a2aa11e" 1431 | dependencies = [ 1432 | "equivalent", 1433 | "hashbrown 0.15.3", 1434 | ] 1435 | 1436 | [[package]] 1437 | name = "inherent" 1438 | version = "1.0.12" 1439 | source = "registry+https://github.com/rust-lang/crates.io-index" 1440 | checksum = "6c38228f24186d9cc68c729accb4d413be9eaed6ad07ff79e0270d9e56f3de13" 1441 | dependencies = [ 1442 | "proc-macro2", 1443 | "quote", 1444 | "syn 2.0.101", 1445 | ] 1446 | 1447 | [[package]] 1448 | name = "ipnet" 1449 | version = "2.11.0" 1450 | source = "registry+https://github.com/rust-lang/crates.io-index" 1451 | checksum = "469fb0b9cefa57e3ef31275ee7cacb78f2fdca44e4765491884a2b119d4eb130" 1452 | 1453 | [[package]] 1454 | name = "is_terminal_polyfill" 1455 | version = "1.70.1" 1456 | source = "registry+https://github.com/rust-lang/crates.io-index" 1457 | checksum = "7943c866cc5cd64cbc25b2e01621d07fa8eb2a1a23160ee81ce38704e97b8ecf" 1458 | 1459 | [[package]] 1460 | name = "itoa" 1461 | version = "1.0.15" 1462 | source = "registry+https://github.com/rust-lang/crates.io-index" 1463 | checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c" 1464 | 1465 | [[package]] 1466 | name = "js-sys" 1467 | version = "0.3.77" 1468 | source = "registry+https://github.com/rust-lang/crates.io-index" 1469 | checksum = "1cfaf33c695fc6e08064efbc1f72ec937429614f25eef83af942d0e227c3a28f" 1470 | dependencies = [ 1471 | "once_cell", 1472 | "wasm-bindgen", 1473 | ] 1474 | 1475 | [[package]] 1476 | name = "kv-log-macro" 1477 | version = "1.0.7" 1478 | source = "registry+https://github.com/rust-lang/crates.io-index" 1479 | checksum = "0de8b303297635ad57c9f5059fd9cee7a47f8e8daa09df0fcd07dd39fb22977f" 1480 | dependencies = [ 1481 | "log", 1482 | ] 1483 | 1484 | [[package]] 1485 | name = "lazy_static" 1486 | version = "1.5.0" 1487 | source = "registry+https://github.com/rust-lang/crates.io-index" 1488 | checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" 1489 | dependencies = [ 1490 | "spin", 1491 | ] 1492 | 1493 | [[package]] 1494 | name = "libc" 1495 | version = "0.2.172" 1496 | source = "registry+https://github.com/rust-lang/crates.io-index" 1497 | checksum = "d750af042f7ef4f724306de029d18836c26c1765a54a6a3f094cbd23a7267ffa" 1498 | 1499 | [[package]] 1500 | name = "libm" 1501 | version = "0.2.15" 1502 | source = "registry+https://github.com/rust-lang/crates.io-index" 1503 | checksum = "f9fbbcab51052fe104eb5e5d351cf728d30a5be1fe14d9be8a3b097481fb97de" 1504 | 1505 | [[package]] 1506 | name = "libsqlite3-sys" 1507 | version = "0.30.1" 1508 | source = "registry+https://github.com/rust-lang/crates.io-index" 1509 | checksum = "2e99fb7a497b1e3339bc746195567ed8d3e24945ecd636e3619d20b9de9e9149" 1510 | dependencies = [ 1511 | "pkg-config", 1512 | "vcpkg", 1513 | ] 1514 | 1515 | [[package]] 1516 | name = "linux-raw-sys" 1517 | version = "0.4.15" 1518 | source = "registry+https://github.com/rust-lang/crates.io-index" 1519 | checksum = "d26c52dbd32dccf2d10cac7725f8eae5296885fb5703b261f7d0a0739ec807ab" 1520 | 1521 | [[package]] 1522 | name = "linux-raw-sys" 1523 | version = "0.9.4" 1524 | source = "registry+https://github.com/rust-lang/crates.io-index" 1525 | checksum = "cd945864f07fe9f5371a27ad7b52a172b4b499999f1d97574c9fa68373937e12" 1526 | 1527 | [[package]] 1528 | name = "litemap" 1529 | version = "0.8.0" 1530 | source = "registry+https://github.com/rust-lang/crates.io-index" 1531 | checksum = "241eaef5fd12c88705a01fc1066c48c4b36e0dd4377dcdc7ec3942cea7a69956" 1532 | 1533 | [[package]] 1534 | name = "lock_api" 1535 | version = "0.4.12" 1536 | source = "registry+https://github.com/rust-lang/crates.io-index" 1537 | checksum = "07af8b9cdd281b7915f413fa73f29ebd5d55d0d3f0155584dade1ff18cea1b17" 1538 | dependencies = [ 1539 | "autocfg", 1540 | "scopeguard", 1541 | ] 1542 | 1543 | [[package]] 1544 | name = "log" 1545 | version = "0.4.27" 1546 | source = "registry+https://github.com/rust-lang/crates.io-index" 1547 | checksum = "13dc2df351e3202783a1fe0d44375f7295ffb4049267b0f3018346dc122a1d94" 1548 | dependencies = [ 1549 | "value-bag", 1550 | ] 1551 | 1552 | [[package]] 1553 | name = "lru-slab" 1554 | version = "0.1.2" 1555 | source = "registry+https://github.com/rust-lang/crates.io-index" 1556 | checksum = "112b39cec0b298b6c1999fee3e31427f74f676e4cb9879ed1a121b43661a4154" 1557 | 1558 | [[package]] 1559 | name = "matchers" 1560 | version = "0.1.0" 1561 | source = "registry+https://github.com/rust-lang/crates.io-index" 1562 | checksum = "8263075bb86c5a1b1427b5ae862e8889656f126e9f77c484496e8b47cf5c5558" 1563 | dependencies = [ 1564 | "regex-automata 0.1.10", 1565 | ] 1566 | 1567 | [[package]] 1568 | name = "md-5" 1569 | version = "0.10.6" 1570 | source = "registry+https://github.com/rust-lang/crates.io-index" 1571 | checksum = "d89e7ee0cfbedfc4da3340218492196241d89eefb6dab27de5df917a6d2e78cf" 1572 | dependencies = [ 1573 | "cfg-if", 1574 | "digest", 1575 | ] 1576 | 1577 | [[package]] 1578 | name = "memchr" 1579 | version = "2.7.4" 1580 | source = "registry+https://github.com/rust-lang/crates.io-index" 1581 | checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3" 1582 | 1583 | [[package]] 1584 | name = "migration" 1585 | version = "0.1.0" 1586 | dependencies = [ 1587 | "async-std", 1588 | "sea-orm-migration", 1589 | ] 1590 | 1591 | [[package]] 1592 | name = "mime" 1593 | version = "0.3.17" 1594 | source = "registry+https://github.com/rust-lang/crates.io-index" 1595 | checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a" 1596 | 1597 | [[package]] 1598 | name = "mime_guess" 1599 | version = "2.0.5" 1600 | source = "registry+https://github.com/rust-lang/crates.io-index" 1601 | checksum = "f7c44f8e672c00fe5308fa235f821cb4198414e1c77935c1ab6948d3fd78550e" 1602 | dependencies = [ 1603 | "mime", 1604 | "unicase", 1605 | ] 1606 | 1607 | [[package]] 1608 | name = "miniz_oxide" 1609 | version = "0.8.8" 1610 | source = "registry+https://github.com/rust-lang/crates.io-index" 1611 | checksum = "3be647b768db090acb35d5ec5db2b0e1f1de11133ca123b9eacf5137868f892a" 1612 | dependencies = [ 1613 | "adler2", 1614 | ] 1615 | 1616 | [[package]] 1617 | name = "mio" 1618 | version = "1.0.3" 1619 | source = "registry+https://github.com/rust-lang/crates.io-index" 1620 | checksum = "2886843bf800fba2e3377cff24abf6379b4c4d5c6681eaf9ea5b0d15090450bd" 1621 | dependencies = [ 1622 | "libc", 1623 | "wasi 0.11.0+wasi-snapshot-preview1", 1624 | "windows-sys 0.52.0", 1625 | ] 1626 | 1627 | [[package]] 1628 | name = "nonmax" 1629 | version = "0.5.5" 1630 | source = "registry+https://github.com/rust-lang/crates.io-index" 1631 | checksum = "610a5acd306ec67f907abe5567859a3c693fb9886eb1f012ab8f2a47bef3db51" 1632 | dependencies = [ 1633 | "serde", 1634 | ] 1635 | 1636 | [[package]] 1637 | name = "nu-ansi-term" 1638 | version = "0.46.0" 1639 | source = "registry+https://github.com/rust-lang/crates.io-index" 1640 | checksum = "77a8165726e8236064dbb45459242600304b42a5ea24ee2948e18e023bf7ba84" 1641 | dependencies = [ 1642 | "overload", 1643 | "winapi", 1644 | ] 1645 | 1646 | [[package]] 1647 | name = "num-bigint" 1648 | version = "0.4.6" 1649 | source = "registry+https://github.com/rust-lang/crates.io-index" 1650 | checksum = "a5e44f723f1133c9deac646763579fdb3ac745e418f2a7af9cd0c431da1f20b9" 1651 | dependencies = [ 1652 | "num-integer", 1653 | "num-traits", 1654 | ] 1655 | 1656 | [[package]] 1657 | name = "num-bigint-dig" 1658 | version = "0.8.4" 1659 | source = "registry+https://github.com/rust-lang/crates.io-index" 1660 | checksum = "dc84195820f291c7697304f3cbdadd1cb7199c0efc917ff5eafd71225c136151" 1661 | dependencies = [ 1662 | "byteorder", 1663 | "lazy_static", 1664 | "libm", 1665 | "num-integer", 1666 | "num-iter", 1667 | "num-traits", 1668 | "rand 0.8.5", 1669 | "smallvec", 1670 | "zeroize", 1671 | ] 1672 | 1673 | [[package]] 1674 | name = "num-conv" 1675 | version = "0.1.0" 1676 | source = "registry+https://github.com/rust-lang/crates.io-index" 1677 | checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9" 1678 | 1679 | [[package]] 1680 | name = "num-integer" 1681 | version = "0.1.46" 1682 | source = "registry+https://github.com/rust-lang/crates.io-index" 1683 | checksum = "7969661fd2958a5cb096e56c8e1ad0444ac2bbcd0061bd28660485a44879858f" 1684 | dependencies = [ 1685 | "num-traits", 1686 | ] 1687 | 1688 | [[package]] 1689 | name = "num-iter" 1690 | version = "0.1.45" 1691 | source = "registry+https://github.com/rust-lang/crates.io-index" 1692 | checksum = "1429034a0490724d0075ebb2bc9e875d6503c3cf69e235a8941aa757d83ef5bf" 1693 | dependencies = [ 1694 | "autocfg", 1695 | "num-integer", 1696 | "num-traits", 1697 | ] 1698 | 1699 | [[package]] 1700 | name = "num-traits" 1701 | version = "0.2.19" 1702 | source = "registry+https://github.com/rust-lang/crates.io-index" 1703 | checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" 1704 | dependencies = [ 1705 | "autocfg", 1706 | "libm", 1707 | ] 1708 | 1709 | [[package]] 1710 | name = "object" 1711 | version = "0.36.7" 1712 | source = "registry+https://github.com/rust-lang/crates.io-index" 1713 | checksum = "62948e14d923ea95ea2c7c86c71013138b66525b86bdc08d2dcc262bdb497b87" 1714 | dependencies = [ 1715 | "memchr", 1716 | ] 1717 | 1718 | [[package]] 1719 | name = "once_cell" 1720 | version = "1.21.3" 1721 | source = "registry+https://github.com/rust-lang/crates.io-index" 1722 | checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d" 1723 | 1724 | [[package]] 1725 | name = "ordered-float" 1726 | version = "4.6.0" 1727 | source = "registry+https://github.com/rust-lang/crates.io-index" 1728 | checksum = "7bb71e1b3fa6ca1c61f383464aaf2bb0e2f8e772a1f01d486832464de363b951" 1729 | dependencies = [ 1730 | "num-traits", 1731 | ] 1732 | 1733 | [[package]] 1734 | name = "ouroboros" 1735 | version = "0.18.5" 1736 | source = "registry+https://github.com/rust-lang/crates.io-index" 1737 | checksum = "1e0f050db9c44b97a94723127e6be766ac5c340c48f2c4bb3ffa11713744be59" 1738 | dependencies = [ 1739 | "aliasable", 1740 | "ouroboros_macro", 1741 | "static_assertions", 1742 | ] 1743 | 1744 | [[package]] 1745 | name = "ouroboros_macro" 1746 | version = "0.18.5" 1747 | source = "registry+https://github.com/rust-lang/crates.io-index" 1748 | checksum = "3c7028bdd3d43083f6d8d4d5187680d0d3560d54df4cc9d752005268b41e64d0" 1749 | dependencies = [ 1750 | "heck 0.4.1", 1751 | "proc-macro2", 1752 | "proc-macro2-diagnostics", 1753 | "quote", 1754 | "syn 2.0.101", 1755 | ] 1756 | 1757 | [[package]] 1758 | name = "overload" 1759 | version = "0.1.1" 1760 | source = "registry+https://github.com/rust-lang/crates.io-index" 1761 | checksum = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39" 1762 | 1763 | [[package]] 1764 | name = "parking" 1765 | version = "2.2.1" 1766 | source = "registry+https://github.com/rust-lang/crates.io-index" 1767 | checksum = "f38d5652c16fde515bb1ecef450ab0f6a219d619a7274976324d5e377f7dceba" 1768 | 1769 | [[package]] 1770 | name = "parking_lot" 1771 | version = "0.12.3" 1772 | source = "registry+https://github.com/rust-lang/crates.io-index" 1773 | checksum = "f1bf18183cf54e8d6059647fc3063646a1801cf30896933ec2311622cc4b9a27" 1774 | dependencies = [ 1775 | "lock_api", 1776 | "parking_lot_core", 1777 | ] 1778 | 1779 | [[package]] 1780 | name = "parking_lot_core" 1781 | version = "0.9.10" 1782 | source = "registry+https://github.com/rust-lang/crates.io-index" 1783 | checksum = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8" 1784 | dependencies = [ 1785 | "cfg-if", 1786 | "libc", 1787 | "redox_syscall", 1788 | "smallvec", 1789 | "windows-targets 0.52.6", 1790 | ] 1791 | 1792 | [[package]] 1793 | name = "pem-rfc7468" 1794 | version = "0.7.0" 1795 | source = "registry+https://github.com/rust-lang/crates.io-index" 1796 | checksum = "88b39c9bfcfc231068454382784bb460aae594343fb030d46e9f50a645418412" 1797 | dependencies = [ 1798 | "base64ct", 1799 | ] 1800 | 1801 | [[package]] 1802 | name = "percent-encoding" 1803 | version = "2.3.1" 1804 | source = "registry+https://github.com/rust-lang/crates.io-index" 1805 | checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" 1806 | 1807 | [[package]] 1808 | name = "pgvector" 1809 | version = "0.4.0" 1810 | source = "registry+https://github.com/rust-lang/crates.io-index" 1811 | checksum = "e0e8871b6d7ca78348c6cd29b911b94851f3429f0cd403130ca17f26c1fb91a6" 1812 | dependencies = [ 1813 | "serde", 1814 | ] 1815 | 1816 | [[package]] 1817 | name = "pin-project-lite" 1818 | version = "0.2.16" 1819 | source = "registry+https://github.com/rust-lang/crates.io-index" 1820 | checksum = "3b3cff922bd51709b605d9ead9aa71031d81447142d828eb4a6eba76fe619f9b" 1821 | 1822 | [[package]] 1823 | name = "pin-utils" 1824 | version = "0.1.0" 1825 | source = "registry+https://github.com/rust-lang/crates.io-index" 1826 | checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" 1827 | 1828 | [[package]] 1829 | name = "piper" 1830 | version = "0.2.4" 1831 | source = "registry+https://github.com/rust-lang/crates.io-index" 1832 | checksum = "96c8c490f422ef9a4efd2cb5b42b76c8613d7e7dfc1caf667b8a3350a5acc066" 1833 | dependencies = [ 1834 | "atomic-waker", 1835 | "fastrand", 1836 | "futures-io", 1837 | ] 1838 | 1839 | [[package]] 1840 | name = "pkcs1" 1841 | version = "0.7.5" 1842 | source = "registry+https://github.com/rust-lang/crates.io-index" 1843 | checksum = "c8ffb9f10fa047879315e6625af03c164b16962a5368d724ed16323b68ace47f" 1844 | dependencies = [ 1845 | "der", 1846 | "pkcs8", 1847 | "spki", 1848 | ] 1849 | 1850 | [[package]] 1851 | name = "pkcs8" 1852 | version = "0.10.2" 1853 | source = "registry+https://github.com/rust-lang/crates.io-index" 1854 | checksum = "f950b2377845cebe5cf8b5165cb3cc1a5e0fa5cfa3e1f7f55707d8fd82e0a7b7" 1855 | dependencies = [ 1856 | "der", 1857 | "spki", 1858 | ] 1859 | 1860 | [[package]] 1861 | name = "pkg-config" 1862 | version = "0.3.32" 1863 | source = "registry+https://github.com/rust-lang/crates.io-index" 1864 | checksum = "7edddbd0b52d732b21ad9a5fab5c704c14cd949e5e9a1ec5929a24fded1b904c" 1865 | 1866 | [[package]] 1867 | name = "poise" 1868 | version = "0.6.1" 1869 | source = "git+https://github.com/serenity-rs/poise?branch=serenity-next#248647a906e318d463f11cf0624e01ef893d2233" 1870 | dependencies = [ 1871 | "async-trait", 1872 | "derivative", 1873 | "futures-util", 1874 | "indexmap", 1875 | "parking_lot", 1876 | "poise_macros", 1877 | "regex", 1878 | "serenity", 1879 | "tokio", 1880 | "tracing", 1881 | "trim-in-place", 1882 | ] 1883 | 1884 | [[package]] 1885 | name = "poise_macros" 1886 | version = "0.6.1" 1887 | source = "git+https://github.com/serenity-rs/poise?branch=serenity-next#248647a906e318d463f11cf0624e01ef893d2233" 1888 | dependencies = [ 1889 | "darling", 1890 | "proc-macro2", 1891 | "quote", 1892 | "syn 2.0.101", 1893 | ] 1894 | 1895 | [[package]] 1896 | name = "polling" 1897 | version = "3.7.4" 1898 | source = "registry+https://github.com/rust-lang/crates.io-index" 1899 | checksum = "a604568c3202727d1507653cb121dbd627a58684eb09a820fd746bee38b4442f" 1900 | dependencies = [ 1901 | "cfg-if", 1902 | "concurrent-queue", 1903 | "hermit-abi", 1904 | "pin-project-lite", 1905 | "rustix 0.38.44", 1906 | "tracing", 1907 | "windows-sys 0.59.0", 1908 | ] 1909 | 1910 | [[package]] 1911 | name = "potential_utf" 1912 | version = "0.1.2" 1913 | source = "registry+https://github.com/rust-lang/crates.io-index" 1914 | checksum = "e5a7c30837279ca13e7c867e9e40053bc68740f988cb07f7ca6df43cc734b585" 1915 | dependencies = [ 1916 | "zerovec", 1917 | ] 1918 | 1919 | [[package]] 1920 | name = "powerfmt" 1921 | version = "0.2.0" 1922 | source = "registry+https://github.com/rust-lang/crates.io-index" 1923 | checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" 1924 | 1925 | [[package]] 1926 | name = "ppv-lite86" 1927 | version = "0.2.21" 1928 | source = "registry+https://github.com/rust-lang/crates.io-index" 1929 | checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9" 1930 | dependencies = [ 1931 | "zerocopy", 1932 | ] 1933 | 1934 | [[package]] 1935 | name = "proc-macro-crate" 1936 | version = "3.3.0" 1937 | source = "registry+https://github.com/rust-lang/crates.io-index" 1938 | checksum = "edce586971a4dfaa28950c6f18ed55e0406c1ab88bbce2c6f6293a7aaba73d35" 1939 | dependencies = [ 1940 | "toml_edit", 1941 | ] 1942 | 1943 | [[package]] 1944 | name = "proc-macro-error-attr2" 1945 | version = "2.0.0" 1946 | source = "registry+https://github.com/rust-lang/crates.io-index" 1947 | checksum = "96de42df36bb9bba5542fe9f1a054b8cc87e172759a1868aa05c1f3acc89dfc5" 1948 | dependencies = [ 1949 | "proc-macro2", 1950 | "quote", 1951 | ] 1952 | 1953 | [[package]] 1954 | name = "proc-macro-error2" 1955 | version = "2.0.1" 1956 | source = "registry+https://github.com/rust-lang/crates.io-index" 1957 | checksum = "11ec05c52be0a07b08061f7dd003e7d7092e0472bc731b4af7bb1ef876109802" 1958 | dependencies = [ 1959 | "proc-macro-error-attr2", 1960 | "proc-macro2", 1961 | "quote", 1962 | "syn 2.0.101", 1963 | ] 1964 | 1965 | [[package]] 1966 | name = "proc-macro2" 1967 | version = "1.0.95" 1968 | source = "registry+https://github.com/rust-lang/crates.io-index" 1969 | checksum = "02b3e5e68a3a1a02aad3ec490a98007cbc13c37cbe84a3cd7b8e406d76e7f778" 1970 | dependencies = [ 1971 | "unicode-ident", 1972 | ] 1973 | 1974 | [[package]] 1975 | name = "proc-macro2-diagnostics" 1976 | version = "0.10.1" 1977 | source = "registry+https://github.com/rust-lang/crates.io-index" 1978 | checksum = "af066a9c399a26e020ada66a034357a868728e72cd426f3adcd35f80d88d88c8" 1979 | dependencies = [ 1980 | "proc-macro2", 1981 | "quote", 1982 | "syn 2.0.101", 1983 | "version_check", 1984 | "yansi", 1985 | ] 1986 | 1987 | [[package]] 1988 | name = "ptr_meta" 1989 | version = "0.1.4" 1990 | source = "registry+https://github.com/rust-lang/crates.io-index" 1991 | checksum = "0738ccf7ea06b608c10564b31debd4f5bc5e197fc8bfe088f68ae5ce81e7a4f1" 1992 | dependencies = [ 1993 | "ptr_meta_derive", 1994 | ] 1995 | 1996 | [[package]] 1997 | name = "ptr_meta_derive" 1998 | version = "0.1.4" 1999 | source = "registry+https://github.com/rust-lang/crates.io-index" 2000 | checksum = "16b845dbfca988fa33db069c0e230574d15a3088f147a87b64c7589eb662c9ac" 2001 | dependencies = [ 2002 | "proc-macro2", 2003 | "quote", 2004 | "syn 1.0.109", 2005 | ] 2006 | 2007 | [[package]] 2008 | name = "quinn" 2009 | version = "0.11.8" 2010 | source = "registry+https://github.com/rust-lang/crates.io-index" 2011 | checksum = "626214629cda6781b6dc1d316ba307189c85ba657213ce642d9c77670f8202c8" 2012 | dependencies = [ 2013 | "bytes", 2014 | "cfg_aliases", 2015 | "pin-project-lite", 2016 | "quinn-proto", 2017 | "quinn-udp", 2018 | "rustc-hash", 2019 | "rustls", 2020 | "socket2", 2021 | "thiserror", 2022 | "tokio", 2023 | "tracing", 2024 | "web-time", 2025 | ] 2026 | 2027 | [[package]] 2028 | name = "quinn-proto" 2029 | version = "0.11.12" 2030 | source = "registry+https://github.com/rust-lang/crates.io-index" 2031 | checksum = "49df843a9161c85bb8aae55f101bc0bac8bcafd637a620d9122fd7e0b2f7422e" 2032 | dependencies = [ 2033 | "bytes", 2034 | "getrandom 0.3.3", 2035 | "lru-slab", 2036 | "rand 0.9.1", 2037 | "ring", 2038 | "rustc-hash", 2039 | "rustls", 2040 | "rustls-pki-types", 2041 | "slab", 2042 | "thiserror", 2043 | "tinyvec", 2044 | "tracing", 2045 | "web-time", 2046 | ] 2047 | 2048 | [[package]] 2049 | name = "quinn-udp" 2050 | version = "0.5.12" 2051 | source = "registry+https://github.com/rust-lang/crates.io-index" 2052 | checksum = "ee4e529991f949c5e25755532370b8af5d114acae52326361d68d47af64aa842" 2053 | dependencies = [ 2054 | "cfg_aliases", 2055 | "libc", 2056 | "once_cell", 2057 | "socket2", 2058 | "tracing", 2059 | "windows-sys 0.59.0", 2060 | ] 2061 | 2062 | [[package]] 2063 | name = "quote" 2064 | version = "1.0.40" 2065 | source = "registry+https://github.com/rust-lang/crates.io-index" 2066 | checksum = "1885c039570dc00dcb4ff087a89e185fd56bae234ddc7f056a945bf36467248d" 2067 | dependencies = [ 2068 | "proc-macro2", 2069 | ] 2070 | 2071 | [[package]] 2072 | name = "r-efi" 2073 | version = "5.2.0" 2074 | source = "registry+https://github.com/rust-lang/crates.io-index" 2075 | checksum = "74765f6d916ee2faa39bc8e68e4f3ed8949b48cccdac59983d287a7cb71ce9c5" 2076 | 2077 | [[package]] 2078 | name = "radium" 2079 | version = "0.7.0" 2080 | source = "registry+https://github.com/rust-lang/crates.io-index" 2081 | checksum = "dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09" 2082 | 2083 | [[package]] 2084 | name = "rand" 2085 | version = "0.8.5" 2086 | source = "registry+https://github.com/rust-lang/crates.io-index" 2087 | checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" 2088 | dependencies = [ 2089 | "libc", 2090 | "rand_chacha 0.3.1", 2091 | "rand_core 0.6.4", 2092 | ] 2093 | 2094 | [[package]] 2095 | name = "rand" 2096 | version = "0.9.1" 2097 | source = "registry+https://github.com/rust-lang/crates.io-index" 2098 | checksum = "9fbfd9d094a40bf3ae768db9361049ace4c0e04a4fd6b359518bd7b73a73dd97" 2099 | dependencies = [ 2100 | "rand_chacha 0.9.0", 2101 | "rand_core 0.9.3", 2102 | ] 2103 | 2104 | [[package]] 2105 | name = "rand_chacha" 2106 | version = "0.3.1" 2107 | source = "registry+https://github.com/rust-lang/crates.io-index" 2108 | checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" 2109 | dependencies = [ 2110 | "ppv-lite86", 2111 | "rand_core 0.6.4", 2112 | ] 2113 | 2114 | [[package]] 2115 | name = "rand_chacha" 2116 | version = "0.9.0" 2117 | source = "registry+https://github.com/rust-lang/crates.io-index" 2118 | checksum = "d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb" 2119 | dependencies = [ 2120 | "ppv-lite86", 2121 | "rand_core 0.9.3", 2122 | ] 2123 | 2124 | [[package]] 2125 | name = "rand_core" 2126 | version = "0.6.4" 2127 | source = "registry+https://github.com/rust-lang/crates.io-index" 2128 | checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" 2129 | dependencies = [ 2130 | "getrandom 0.2.16", 2131 | ] 2132 | 2133 | [[package]] 2134 | name = "rand_core" 2135 | version = "0.9.3" 2136 | source = "registry+https://github.com/rust-lang/crates.io-index" 2137 | checksum = "99d9a13982dcf210057a8a78572b2217b667c3beacbf3a0d8b454f6f82837d38" 2138 | dependencies = [ 2139 | "getrandom 0.3.3", 2140 | ] 2141 | 2142 | [[package]] 2143 | name = "redox_syscall" 2144 | version = "0.5.12" 2145 | source = "registry+https://github.com/rust-lang/crates.io-index" 2146 | checksum = "928fca9cf2aa042393a8325b9ead81d2f0df4cb12e1e24cef072922ccd99c5af" 2147 | dependencies = [ 2148 | "bitflags", 2149 | ] 2150 | 2151 | [[package]] 2152 | name = "ref-cast" 2153 | version = "1.0.24" 2154 | source = "registry+https://github.com/rust-lang/crates.io-index" 2155 | checksum = "4a0ae411dbe946a674d89546582cea4ba2bb8defac896622d6496f14c23ba5cf" 2156 | dependencies = [ 2157 | "ref-cast-impl", 2158 | ] 2159 | 2160 | [[package]] 2161 | name = "ref-cast-impl" 2162 | version = "1.0.24" 2163 | source = "registry+https://github.com/rust-lang/crates.io-index" 2164 | checksum = "1165225c21bff1f3bbce98f5a1f889949bc902d3575308cc7b0de30b4f6d27c7" 2165 | dependencies = [ 2166 | "proc-macro2", 2167 | "quote", 2168 | "syn 2.0.101", 2169 | ] 2170 | 2171 | [[package]] 2172 | name = "regex" 2173 | version = "1.11.1" 2174 | source = "registry+https://github.com/rust-lang/crates.io-index" 2175 | checksum = "b544ef1b4eac5dc2db33ea63606ae9ffcfac26c1416a2806ae0bf5f56b201191" 2176 | dependencies = [ 2177 | "aho-corasick", 2178 | "memchr", 2179 | "regex-automata 0.4.9", 2180 | "regex-syntax 0.8.5", 2181 | ] 2182 | 2183 | [[package]] 2184 | name = "regex-automata" 2185 | version = "0.1.10" 2186 | source = "registry+https://github.com/rust-lang/crates.io-index" 2187 | checksum = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132" 2188 | dependencies = [ 2189 | "regex-syntax 0.6.29", 2190 | ] 2191 | 2192 | [[package]] 2193 | name = "regex-automata" 2194 | version = "0.4.9" 2195 | source = "registry+https://github.com/rust-lang/crates.io-index" 2196 | checksum = "809e8dc61f6de73b46c85f4c96486310fe304c434cfa43669d7b40f711150908" 2197 | dependencies = [ 2198 | "aho-corasick", 2199 | "memchr", 2200 | "regex-syntax 0.8.5", 2201 | ] 2202 | 2203 | [[package]] 2204 | name = "regex-syntax" 2205 | version = "0.6.29" 2206 | source = "registry+https://github.com/rust-lang/crates.io-index" 2207 | checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1" 2208 | 2209 | [[package]] 2210 | name = "regex-syntax" 2211 | version = "0.8.5" 2212 | source = "registry+https://github.com/rust-lang/crates.io-index" 2213 | checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c" 2214 | 2215 | [[package]] 2216 | name = "rend" 2217 | version = "0.4.2" 2218 | source = "registry+https://github.com/rust-lang/crates.io-index" 2219 | checksum = "71fe3824f5629716b1589be05dacd749f6aa084c87e00e016714a8cdfccc997c" 2220 | dependencies = [ 2221 | "bytecheck", 2222 | ] 2223 | 2224 | [[package]] 2225 | name = "reqwest" 2226 | version = "0.12.15" 2227 | source = "registry+https://github.com/rust-lang/crates.io-index" 2228 | checksum = "d19c46a6fdd48bc4dab94b6103fccc55d34c67cc0ad04653aad4ea2a07cd7bbb" 2229 | dependencies = [ 2230 | "base64", 2231 | "bytes", 2232 | "futures-core", 2233 | "futures-util", 2234 | "http", 2235 | "http-body", 2236 | "http-body-util", 2237 | "hyper", 2238 | "hyper-rustls", 2239 | "hyper-util", 2240 | "ipnet", 2241 | "js-sys", 2242 | "log", 2243 | "mime", 2244 | "mime_guess", 2245 | "once_cell", 2246 | "percent-encoding", 2247 | "pin-project-lite", 2248 | "quinn", 2249 | "rustls", 2250 | "rustls-pemfile", 2251 | "rustls-pki-types", 2252 | "serde", 2253 | "serde_json", 2254 | "serde_urlencoded", 2255 | "sync_wrapper", 2256 | "tokio", 2257 | "tokio-rustls", 2258 | "tokio-util", 2259 | "tower", 2260 | "tower-service", 2261 | "url", 2262 | "wasm-bindgen", 2263 | "wasm-bindgen-futures", 2264 | "wasm-streams", 2265 | "web-sys", 2266 | "webpki-roots 0.26.11", 2267 | "windows-registry", 2268 | ] 2269 | 2270 | [[package]] 2271 | name = "ring" 2272 | version = "0.17.14" 2273 | source = "registry+https://github.com/rust-lang/crates.io-index" 2274 | checksum = "a4689e6c2294d81e88dc6261c768b63bc4fcdb852be6d1352498b114f61383b7" 2275 | dependencies = [ 2276 | "cc", 2277 | "cfg-if", 2278 | "getrandom 0.2.16", 2279 | "libc", 2280 | "untrusted", 2281 | "windows-sys 0.52.0", 2282 | ] 2283 | 2284 | [[package]] 2285 | name = "rkyv" 2286 | version = "0.7.45" 2287 | source = "registry+https://github.com/rust-lang/crates.io-index" 2288 | checksum = "9008cd6385b9e161d8229e1f6549dd23c3d022f132a2ea37ac3a10ac4935779b" 2289 | dependencies = [ 2290 | "bitvec", 2291 | "bytecheck", 2292 | "bytes", 2293 | "hashbrown 0.12.3", 2294 | "ptr_meta", 2295 | "rend", 2296 | "rkyv_derive", 2297 | "seahash", 2298 | "tinyvec", 2299 | "uuid", 2300 | ] 2301 | 2302 | [[package]] 2303 | name = "rkyv_derive" 2304 | version = "0.7.45" 2305 | source = "registry+https://github.com/rust-lang/crates.io-index" 2306 | checksum = "503d1d27590a2b0a3a4ca4c94755aa2875657196ecbf401a42eff41d7de532c0" 2307 | dependencies = [ 2308 | "proc-macro2", 2309 | "quote", 2310 | "syn 1.0.109", 2311 | ] 2312 | 2313 | [[package]] 2314 | name = "rsa" 2315 | version = "0.9.8" 2316 | source = "registry+https://github.com/rust-lang/crates.io-index" 2317 | checksum = "78928ac1ed176a5ca1d17e578a1825f3d81ca54cf41053a592584b020cfd691b" 2318 | dependencies = [ 2319 | "const-oid", 2320 | "digest", 2321 | "num-bigint-dig", 2322 | "num-integer", 2323 | "num-traits", 2324 | "pkcs1", 2325 | "pkcs8", 2326 | "rand_core 0.6.4", 2327 | "signature", 2328 | "spki", 2329 | "subtle", 2330 | "zeroize", 2331 | ] 2332 | 2333 | [[package]] 2334 | name = "rust_decimal" 2335 | version = "1.37.1" 2336 | source = "registry+https://github.com/rust-lang/crates.io-index" 2337 | checksum = "faa7de2ba56ac291bd90c6b9bece784a52ae1411f9506544b3eae36dd2356d50" 2338 | dependencies = [ 2339 | "arrayvec", 2340 | "borsh", 2341 | "bytes", 2342 | "num-traits", 2343 | "rand 0.8.5", 2344 | "rkyv", 2345 | "serde", 2346 | "serde_json", 2347 | ] 2348 | 2349 | [[package]] 2350 | name = "rustc-demangle" 2351 | version = "0.1.24" 2352 | source = "registry+https://github.com/rust-lang/crates.io-index" 2353 | checksum = "719b953e2095829ee67db738b3bfa9fa368c94900df327b3f07fe6e794d2fe1f" 2354 | 2355 | [[package]] 2356 | name = "rustc-hash" 2357 | version = "2.1.1" 2358 | source = "registry+https://github.com/rust-lang/crates.io-index" 2359 | checksum = "357703d41365b4b27c590e3ed91eabb1b663f07c4c084095e60cbed4362dff0d" 2360 | 2361 | [[package]] 2362 | name = "rustix" 2363 | version = "0.38.44" 2364 | source = "registry+https://github.com/rust-lang/crates.io-index" 2365 | checksum = "fdb5bc1ae2baa591800df16c9ca78619bf65c0488b41b96ccec5d11220d8c154" 2366 | dependencies = [ 2367 | "bitflags", 2368 | "errno", 2369 | "libc", 2370 | "linux-raw-sys 0.4.15", 2371 | "windows-sys 0.59.0", 2372 | ] 2373 | 2374 | [[package]] 2375 | name = "rustix" 2376 | version = "1.0.7" 2377 | source = "registry+https://github.com/rust-lang/crates.io-index" 2378 | checksum = "c71e83d6afe7ff64890ec6b71d6a69bb8a610ab78ce364b3352876bb4c801266" 2379 | dependencies = [ 2380 | "bitflags", 2381 | "errno", 2382 | "libc", 2383 | "linux-raw-sys 0.9.4", 2384 | "windows-sys 0.59.0", 2385 | ] 2386 | 2387 | [[package]] 2388 | name = "rustls" 2389 | version = "0.23.27" 2390 | source = "registry+https://github.com/rust-lang/crates.io-index" 2391 | checksum = "730944ca083c1c233a75c09f199e973ca499344a2b7ba9e755c457e86fb4a321" 2392 | dependencies = [ 2393 | "once_cell", 2394 | "ring", 2395 | "rustls-pki-types", 2396 | "rustls-webpki", 2397 | "subtle", 2398 | "zeroize", 2399 | ] 2400 | 2401 | [[package]] 2402 | name = "rustls-pemfile" 2403 | version = "2.2.0" 2404 | source = "registry+https://github.com/rust-lang/crates.io-index" 2405 | checksum = "dce314e5fee3f39953d46bb63bb8a46d40c2f8fb7cc5a3b6cab2bde9721d6e50" 2406 | dependencies = [ 2407 | "rustls-pki-types", 2408 | ] 2409 | 2410 | [[package]] 2411 | name = "rustls-pki-types" 2412 | version = "1.12.0" 2413 | source = "registry+https://github.com/rust-lang/crates.io-index" 2414 | checksum = "229a4a4c221013e7e1f1a043678c5cc39fe5171437c88fb47151a21e6f5b5c79" 2415 | dependencies = [ 2416 | "web-time", 2417 | "zeroize", 2418 | ] 2419 | 2420 | [[package]] 2421 | name = "rustls-webpki" 2422 | version = "0.103.3" 2423 | source = "registry+https://github.com/rust-lang/crates.io-index" 2424 | checksum = "e4a72fe2bcf7a6ac6fd7d0b9e5cb68aeb7d4c0a0271730218b3e92d43b4eb435" 2425 | dependencies = [ 2426 | "ring", 2427 | "rustls-pki-types", 2428 | "untrusted", 2429 | ] 2430 | 2431 | [[package]] 2432 | name = "rustversion" 2433 | version = "1.0.20" 2434 | source = "registry+https://github.com/rust-lang/crates.io-index" 2435 | checksum = "eded382c5f5f786b989652c49544c4877d9f015cc22e145a5ea8ea66c2921cd2" 2436 | 2437 | [[package]] 2438 | name = "ryu" 2439 | version = "1.0.20" 2440 | source = "registry+https://github.com/rust-lang/crates.io-index" 2441 | checksum = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f" 2442 | 2443 | [[package]] 2444 | name = "scopeguard" 2445 | version = "1.2.0" 2446 | source = "registry+https://github.com/rust-lang/crates.io-index" 2447 | checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" 2448 | 2449 | [[package]] 2450 | name = "sea-bae" 2451 | version = "0.2.1" 2452 | source = "registry+https://github.com/rust-lang/crates.io-index" 2453 | checksum = "f694a6ab48f14bc063cfadff30ab551d3c7e46d8f81836c51989d548f44a2a25" 2454 | dependencies = [ 2455 | "heck 0.4.1", 2456 | "proc-macro-error2", 2457 | "proc-macro2", 2458 | "quote", 2459 | "syn 2.0.101", 2460 | ] 2461 | 2462 | [[package]] 2463 | name = "sea-orm" 2464 | version = "1.1.11" 2465 | source = "registry+https://github.com/rust-lang/crates.io-index" 2466 | checksum = "f7cf58b28bcf1e053539c38afbb60d963ac8e1db87f6109db7b0eff4cbeaefb3" 2467 | dependencies = [ 2468 | "async-stream", 2469 | "async-trait", 2470 | "bigdecimal", 2471 | "chrono", 2472 | "futures-util", 2473 | "log", 2474 | "ouroboros", 2475 | "pgvector", 2476 | "rust_decimal", 2477 | "sea-orm-macros", 2478 | "sea-query", 2479 | "sea-query-binder", 2480 | "serde", 2481 | "serde_json", 2482 | "sqlx", 2483 | "strum", 2484 | "thiserror", 2485 | "time", 2486 | "tracing", 2487 | "url", 2488 | "uuid", 2489 | ] 2490 | 2491 | [[package]] 2492 | name = "sea-orm-cli" 2493 | version = "1.1.11" 2494 | source = "registry+https://github.com/rust-lang/crates.io-index" 2495 | checksum = "0885ce200adaa527c696f6114f1a014c74801fa9c62a2b1bccfdec9af381108c" 2496 | dependencies = [ 2497 | "chrono", 2498 | "clap", 2499 | "dotenvy", 2500 | "glob", 2501 | "regex", 2502 | "sea-schema", 2503 | "tracing", 2504 | "tracing-subscriber", 2505 | "url", 2506 | ] 2507 | 2508 | [[package]] 2509 | name = "sea-orm-macros" 2510 | version = "1.1.11" 2511 | source = "registry+https://github.com/rust-lang/crates.io-index" 2512 | checksum = "cac37512fde1f5b9ef71ec773cfabb90ad3b68c27e53131ff38763c247fcbb2d" 2513 | dependencies = [ 2514 | "heck 0.5.0", 2515 | "proc-macro2", 2516 | "quote", 2517 | "sea-bae", 2518 | "syn 2.0.101", 2519 | "unicode-ident", 2520 | ] 2521 | 2522 | [[package]] 2523 | name = "sea-orm-migration" 2524 | version = "1.1.11" 2525 | source = "registry+https://github.com/rust-lang/crates.io-index" 2526 | checksum = "13f81e0ae079274b7eaa7b0234ae57b4a4f51619f53f3996d47580b378e0b26b" 2527 | dependencies = [ 2528 | "async-trait", 2529 | "clap", 2530 | "dotenvy", 2531 | "sea-orm", 2532 | "sea-orm-cli", 2533 | "sea-schema", 2534 | "tracing", 2535 | "tracing-subscriber", 2536 | ] 2537 | 2538 | [[package]] 2539 | name = "sea-query" 2540 | version = "0.32.5" 2541 | source = "registry+https://github.com/rust-lang/crates.io-index" 2542 | checksum = "5506de3a33d9ee4ee161c5847acb87fe4f82ced6649afc9eabeb8df6f40ba94a" 2543 | dependencies = [ 2544 | "bigdecimal", 2545 | "chrono", 2546 | "inherent", 2547 | "ordered-float", 2548 | "rust_decimal", 2549 | "sea-query-derive", 2550 | "serde_json", 2551 | "time", 2552 | "uuid", 2553 | ] 2554 | 2555 | [[package]] 2556 | name = "sea-query-binder" 2557 | version = "0.7.0" 2558 | source = "registry+https://github.com/rust-lang/crates.io-index" 2559 | checksum = "b0019f47430f7995af63deda77e238c17323359af241233ec768aba1faea7608" 2560 | dependencies = [ 2561 | "bigdecimal", 2562 | "chrono", 2563 | "rust_decimal", 2564 | "sea-query", 2565 | "serde_json", 2566 | "sqlx", 2567 | "time", 2568 | "uuid", 2569 | ] 2570 | 2571 | [[package]] 2572 | name = "sea-query-derive" 2573 | version = "0.4.3" 2574 | source = "registry+https://github.com/rust-lang/crates.io-index" 2575 | checksum = "bae0cbad6ab996955664982739354128c58d16e126114fe88c2a493642502aab" 2576 | dependencies = [ 2577 | "darling", 2578 | "heck 0.4.1", 2579 | "proc-macro2", 2580 | "quote", 2581 | "syn 2.0.101", 2582 | "thiserror", 2583 | ] 2584 | 2585 | [[package]] 2586 | name = "sea-schema" 2587 | version = "0.16.2" 2588 | source = "registry+https://github.com/rust-lang/crates.io-index" 2589 | checksum = "2239ff574c04858ca77485f112afea1a15e53135d3097d0c86509cef1def1338" 2590 | dependencies = [ 2591 | "futures", 2592 | "sea-query", 2593 | "sea-schema-derive", 2594 | ] 2595 | 2596 | [[package]] 2597 | name = "sea-schema-derive" 2598 | version = "0.3.0" 2599 | source = "registry+https://github.com/rust-lang/crates.io-index" 2600 | checksum = "debdc8729c37fdbf88472f97fd470393089f997a909e535ff67c544d18cfccf0" 2601 | dependencies = [ 2602 | "heck 0.4.1", 2603 | "proc-macro2", 2604 | "quote", 2605 | "syn 2.0.101", 2606 | ] 2607 | 2608 | [[package]] 2609 | name = "seahash" 2610 | version = "4.1.0" 2611 | source = "registry+https://github.com/rust-lang/crates.io-index" 2612 | checksum = "1c107b6f4780854c8b126e228ea8869f4d7b71260f962fefb57b996b8959ba6b" 2613 | 2614 | [[package]] 2615 | name = "secrecy" 2616 | version = "0.8.0" 2617 | source = "registry+https://github.com/rust-lang/crates.io-index" 2618 | checksum = "9bd1c54ea06cfd2f6b63219704de0b9b4f72dcc2b8fdef820be6cd799780e91e" 2619 | dependencies = [ 2620 | "zeroize", 2621 | ] 2622 | 2623 | [[package]] 2624 | name = "serde" 2625 | version = "1.0.219" 2626 | source = "registry+https://github.com/rust-lang/crates.io-index" 2627 | checksum = "5f0e2c6ed6606019b4e29e69dbaba95b11854410e5347d525002456dbbb786b6" 2628 | dependencies = [ 2629 | "serde_derive", 2630 | ] 2631 | 2632 | [[package]] 2633 | name = "serde_cow" 2634 | version = "0.1.2" 2635 | source = "registry+https://github.com/rust-lang/crates.io-index" 2636 | checksum = "1e7bbbec7196bfde255ab54b65e34087c0849629280028238e67ee25d6a4b7da" 2637 | dependencies = [ 2638 | "serde", 2639 | ] 2640 | 2641 | [[package]] 2642 | name = "serde_derive" 2643 | version = "1.0.219" 2644 | source = "registry+https://github.com/rust-lang/crates.io-index" 2645 | checksum = "5b0276cf7f2c73365f7157c8123c21cd9a50fbbd844757af28ca1f5925fc2a00" 2646 | dependencies = [ 2647 | "proc-macro2", 2648 | "quote", 2649 | "syn 2.0.101", 2650 | ] 2651 | 2652 | [[package]] 2653 | name = "serde_json" 2654 | version = "1.0.140" 2655 | source = "registry+https://github.com/rust-lang/crates.io-index" 2656 | checksum = "20068b6e96dc6c9bd23e01df8827e6c7e1f2fddd43c21810382803c136b99373" 2657 | dependencies = [ 2658 | "itoa", 2659 | "memchr", 2660 | "ryu", 2661 | "serde", 2662 | ] 2663 | 2664 | [[package]] 2665 | name = "serde_urlencoded" 2666 | version = "0.7.1" 2667 | source = "registry+https://github.com/rust-lang/crates.io-index" 2668 | checksum = "d3491c14715ca2294c4d6a88f15e84739788c1d030eed8c110436aafdaa2f3fd" 2669 | dependencies = [ 2670 | "form_urlencoded", 2671 | "itoa", 2672 | "ryu", 2673 | "serde", 2674 | ] 2675 | 2676 | [[package]] 2677 | name = "serenity" 2678 | version = "0.12.4" 2679 | source = "git+https://github.com/serenity-rs/serenity?branch=next#4a180eb7205575d8baae5254c852532119f2e1b7" 2680 | dependencies = [ 2681 | "aformat", 2682 | "arrayvec", 2683 | "async-trait", 2684 | "base64", 2685 | "bitflags", 2686 | "bool_to_bitflags", 2687 | "bytes", 2688 | "chrono", 2689 | "dashmap", 2690 | "extract_map", 2691 | "flate2", 2692 | "foldhash", 2693 | "futures", 2694 | "mime_guess", 2695 | "nonmax", 2696 | "parking_lot", 2697 | "percent-encoding", 2698 | "ref-cast", 2699 | "reqwest", 2700 | "serde", 2701 | "serde_cow", 2702 | "serde_json", 2703 | "small-fixed-array", 2704 | "strum", 2705 | "time", 2706 | "to-arraystring", 2707 | "tokio", 2708 | "tokio-tungstenite", 2709 | "tracing", 2710 | "typesize", 2711 | "url", 2712 | "zeroize", 2713 | ] 2714 | 2715 | [[package]] 2716 | name = "sha1" 2717 | version = "0.10.6" 2718 | source = "registry+https://github.com/rust-lang/crates.io-index" 2719 | checksum = "e3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6ba" 2720 | dependencies = [ 2721 | "cfg-if", 2722 | "cpufeatures", 2723 | "digest", 2724 | ] 2725 | 2726 | [[package]] 2727 | name = "sha2" 2728 | version = "0.10.9" 2729 | source = "registry+https://github.com/rust-lang/crates.io-index" 2730 | checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283" 2731 | dependencies = [ 2732 | "cfg-if", 2733 | "cpufeatures", 2734 | "digest", 2735 | ] 2736 | 2737 | [[package]] 2738 | name = "sharded-slab" 2739 | version = "0.1.7" 2740 | source = "registry+https://github.com/rust-lang/crates.io-index" 2741 | checksum = "f40ca3c46823713e0d4209592e8d6e826aa57e928f09752619fc696c499637f6" 2742 | dependencies = [ 2743 | "lazy_static", 2744 | ] 2745 | 2746 | [[package]] 2747 | name = "shlex" 2748 | version = "1.3.0" 2749 | source = "registry+https://github.com/rust-lang/crates.io-index" 2750 | checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" 2751 | 2752 | [[package]] 2753 | name = "signal-hook-registry" 2754 | version = "1.4.5" 2755 | source = "registry+https://github.com/rust-lang/crates.io-index" 2756 | checksum = "9203b8055f63a2a00e2f593bb0510367fe707d7ff1e5c872de2f537b339e5410" 2757 | dependencies = [ 2758 | "libc", 2759 | ] 2760 | 2761 | [[package]] 2762 | name = "signature" 2763 | version = "2.2.0" 2764 | source = "registry+https://github.com/rust-lang/crates.io-index" 2765 | checksum = "77549399552de45a898a580c1b41d445bf730df867cc44e6c0233bbc4b8329de" 2766 | dependencies = [ 2767 | "digest", 2768 | "rand_core 0.6.4", 2769 | ] 2770 | 2771 | [[package]] 2772 | name = "simdutf8" 2773 | version = "0.1.5" 2774 | source = "registry+https://github.com/rust-lang/crates.io-index" 2775 | checksum = "e3a9fe34e3e7a50316060351f37187a3f546bce95496156754b601a5fa71b76e" 2776 | 2777 | [[package]] 2778 | name = "slab" 2779 | version = "0.4.9" 2780 | source = "registry+https://github.com/rust-lang/crates.io-index" 2781 | checksum = "8f92a496fb766b417c996b9c5e57daf2f7ad3b0bebe1ccfca4856390e3d3bb67" 2782 | dependencies = [ 2783 | "autocfg", 2784 | ] 2785 | 2786 | [[package]] 2787 | name = "small-fixed-array" 2788 | version = "0.4.8" 2789 | source = "registry+https://github.com/rust-lang/crates.io-index" 2790 | checksum = "8311fa212af82bdee69d5332af52dc8b09e77f5777258999a9339adfe2d345f9" 2791 | dependencies = [ 2792 | "serde", 2793 | ] 2794 | 2795 | [[package]] 2796 | name = "smallvec" 2797 | version = "1.15.0" 2798 | source = "registry+https://github.com/rust-lang/crates.io-index" 2799 | checksum = "8917285742e9f3e1683f0a9c4e6b57960b7314d0b08d30d1ecd426713ee2eee9" 2800 | dependencies = [ 2801 | "serde", 2802 | ] 2803 | 2804 | [[package]] 2805 | name = "socket2" 2806 | version = "0.5.9" 2807 | source = "registry+https://github.com/rust-lang/crates.io-index" 2808 | checksum = "4f5fd57c80058a56cf5c777ab8a126398ece8e442983605d280a44ce79d0edef" 2809 | dependencies = [ 2810 | "libc", 2811 | "windows-sys 0.52.0", 2812 | ] 2813 | 2814 | [[package]] 2815 | name = "spin" 2816 | version = "0.9.8" 2817 | source = "registry+https://github.com/rust-lang/crates.io-index" 2818 | checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67" 2819 | dependencies = [ 2820 | "lock_api", 2821 | ] 2822 | 2823 | [[package]] 2824 | name = "spki" 2825 | version = "0.7.3" 2826 | source = "registry+https://github.com/rust-lang/crates.io-index" 2827 | checksum = "d91ed6c858b01f942cd56b37a94b3e0a1798290327d1236e4d9cf4eaca44d29d" 2828 | dependencies = [ 2829 | "base64ct", 2830 | "der", 2831 | ] 2832 | 2833 | [[package]] 2834 | name = "sqlx" 2835 | version = "0.8.5" 2836 | source = "registry+https://github.com/rust-lang/crates.io-index" 2837 | checksum = "f3c3a85280daca669cfd3bcb68a337882a8bc57ec882f72c5d13a430613a738e" 2838 | dependencies = [ 2839 | "sqlx-core", 2840 | "sqlx-macros", 2841 | "sqlx-mysql", 2842 | "sqlx-postgres", 2843 | "sqlx-sqlite", 2844 | ] 2845 | 2846 | [[package]] 2847 | name = "sqlx-core" 2848 | version = "0.8.5" 2849 | source = "registry+https://github.com/rust-lang/crates.io-index" 2850 | checksum = "f743f2a3cea30a58cd479013f75550e879009e3a02f616f18ca699335aa248c3" 2851 | dependencies = [ 2852 | "base64", 2853 | "bigdecimal", 2854 | "bytes", 2855 | "chrono", 2856 | "crc", 2857 | "crossbeam-queue", 2858 | "either", 2859 | "event-listener 5.4.0", 2860 | "futures-core", 2861 | "futures-intrusive", 2862 | "futures-io", 2863 | "futures-util", 2864 | "hashbrown 0.15.3", 2865 | "hashlink", 2866 | "indexmap", 2867 | "log", 2868 | "memchr", 2869 | "once_cell", 2870 | "percent-encoding", 2871 | "rust_decimal", 2872 | "rustls", 2873 | "serde", 2874 | "serde_json", 2875 | "sha2", 2876 | "smallvec", 2877 | "thiserror", 2878 | "time", 2879 | "tokio", 2880 | "tokio-stream", 2881 | "tracing", 2882 | "url", 2883 | "uuid", 2884 | "webpki-roots 0.26.11", 2885 | ] 2886 | 2887 | [[package]] 2888 | name = "sqlx-macros" 2889 | version = "0.8.5" 2890 | source = "registry+https://github.com/rust-lang/crates.io-index" 2891 | checksum = "7f4200e0fde19834956d4252347c12a083bdcb237d7a1a1446bffd8768417dce" 2892 | dependencies = [ 2893 | "proc-macro2", 2894 | "quote", 2895 | "sqlx-core", 2896 | "sqlx-macros-core", 2897 | "syn 2.0.101", 2898 | ] 2899 | 2900 | [[package]] 2901 | name = "sqlx-macros-core" 2902 | version = "0.8.5" 2903 | source = "registry+https://github.com/rust-lang/crates.io-index" 2904 | checksum = "882ceaa29cade31beca7129b6beeb05737f44f82dbe2a9806ecea5a7093d00b7" 2905 | dependencies = [ 2906 | "dotenvy", 2907 | "either", 2908 | "heck 0.5.0", 2909 | "hex", 2910 | "once_cell", 2911 | "proc-macro2", 2912 | "quote", 2913 | "serde", 2914 | "serde_json", 2915 | "sha2", 2916 | "sqlx-core", 2917 | "sqlx-mysql", 2918 | "sqlx-postgres", 2919 | "sqlx-sqlite", 2920 | "syn 2.0.101", 2921 | "tempfile", 2922 | "tokio", 2923 | "url", 2924 | ] 2925 | 2926 | [[package]] 2927 | name = "sqlx-mysql" 2928 | version = "0.8.5" 2929 | source = "registry+https://github.com/rust-lang/crates.io-index" 2930 | checksum = "0afdd3aa7a629683c2d750c2df343025545087081ab5942593a5288855b1b7a7" 2931 | dependencies = [ 2932 | "atoi", 2933 | "base64", 2934 | "bigdecimal", 2935 | "bitflags", 2936 | "byteorder", 2937 | "bytes", 2938 | "chrono", 2939 | "crc", 2940 | "digest", 2941 | "dotenvy", 2942 | "either", 2943 | "futures-channel", 2944 | "futures-core", 2945 | "futures-io", 2946 | "futures-util", 2947 | "generic-array", 2948 | "hex", 2949 | "hkdf", 2950 | "hmac", 2951 | "itoa", 2952 | "log", 2953 | "md-5", 2954 | "memchr", 2955 | "once_cell", 2956 | "percent-encoding", 2957 | "rand 0.8.5", 2958 | "rsa", 2959 | "rust_decimal", 2960 | "serde", 2961 | "sha1", 2962 | "sha2", 2963 | "smallvec", 2964 | "sqlx-core", 2965 | "stringprep", 2966 | "thiserror", 2967 | "time", 2968 | "tracing", 2969 | "uuid", 2970 | "whoami", 2971 | ] 2972 | 2973 | [[package]] 2974 | name = "sqlx-postgres" 2975 | version = "0.8.5" 2976 | source = "registry+https://github.com/rust-lang/crates.io-index" 2977 | checksum = "a0bedbe1bbb5e2615ef347a5e9d8cd7680fb63e77d9dafc0f29be15e53f1ebe6" 2978 | dependencies = [ 2979 | "atoi", 2980 | "base64", 2981 | "bigdecimal", 2982 | "bitflags", 2983 | "byteorder", 2984 | "chrono", 2985 | "crc", 2986 | "dotenvy", 2987 | "etcetera", 2988 | "futures-channel", 2989 | "futures-core", 2990 | "futures-util", 2991 | "hex", 2992 | "hkdf", 2993 | "hmac", 2994 | "home", 2995 | "itoa", 2996 | "log", 2997 | "md-5", 2998 | "memchr", 2999 | "num-bigint", 3000 | "once_cell", 3001 | "rand 0.8.5", 3002 | "rust_decimal", 3003 | "serde", 3004 | "serde_json", 3005 | "sha2", 3006 | "smallvec", 3007 | "sqlx-core", 3008 | "stringprep", 3009 | "thiserror", 3010 | "time", 3011 | "tracing", 3012 | "uuid", 3013 | "whoami", 3014 | ] 3015 | 3016 | [[package]] 3017 | name = "sqlx-sqlite" 3018 | version = "0.8.5" 3019 | source = "registry+https://github.com/rust-lang/crates.io-index" 3020 | checksum = "c26083e9a520e8eb87a06b12347679b142dc2ea29e6e409f805644a7a979a5bc" 3021 | dependencies = [ 3022 | "atoi", 3023 | "chrono", 3024 | "flume", 3025 | "futures-channel", 3026 | "futures-core", 3027 | "futures-executor", 3028 | "futures-intrusive", 3029 | "futures-util", 3030 | "libsqlite3-sys", 3031 | "log", 3032 | "percent-encoding", 3033 | "serde", 3034 | "serde_urlencoded", 3035 | "sqlx-core", 3036 | "thiserror", 3037 | "time", 3038 | "tracing", 3039 | "url", 3040 | "uuid", 3041 | ] 3042 | 3043 | [[package]] 3044 | name = "stable_deref_trait" 3045 | version = "1.2.0" 3046 | source = "registry+https://github.com/rust-lang/crates.io-index" 3047 | checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" 3048 | 3049 | [[package]] 3050 | name = "static_assertions" 3051 | version = "1.1.0" 3052 | source = "registry+https://github.com/rust-lang/crates.io-index" 3053 | checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" 3054 | 3055 | [[package]] 3056 | name = "stringprep" 3057 | version = "0.1.5" 3058 | source = "registry+https://github.com/rust-lang/crates.io-index" 3059 | checksum = "7b4df3d392d81bd458a8a621b8bffbd2302a12ffe288a9d931670948749463b1" 3060 | dependencies = [ 3061 | "unicode-bidi", 3062 | "unicode-normalization", 3063 | "unicode-properties", 3064 | ] 3065 | 3066 | [[package]] 3067 | name = "strsim" 3068 | version = "0.11.1" 3069 | source = "registry+https://github.com/rust-lang/crates.io-index" 3070 | checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" 3071 | 3072 | [[package]] 3073 | name = "strum" 3074 | version = "0.26.3" 3075 | source = "registry+https://github.com/rust-lang/crates.io-index" 3076 | checksum = "8fec0f0aef304996cf250b31b5a10dee7980c85da9d759361292b8bca5a18f06" 3077 | dependencies = [ 3078 | "strum_macros", 3079 | ] 3080 | 3081 | [[package]] 3082 | name = "strum_macros" 3083 | version = "0.26.4" 3084 | source = "registry+https://github.com/rust-lang/crates.io-index" 3085 | checksum = "4c6bee85a5a24955dc440386795aa378cd9cf82acd5f764469152d2270e581be" 3086 | dependencies = [ 3087 | "heck 0.5.0", 3088 | "proc-macro2", 3089 | "quote", 3090 | "rustversion", 3091 | "syn 2.0.101", 3092 | ] 3093 | 3094 | [[package]] 3095 | name = "subtle" 3096 | version = "2.6.1" 3097 | source = "registry+https://github.com/rust-lang/crates.io-index" 3098 | checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" 3099 | 3100 | [[package]] 3101 | name = "syn" 3102 | version = "1.0.109" 3103 | source = "registry+https://github.com/rust-lang/crates.io-index" 3104 | checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" 3105 | dependencies = [ 3106 | "proc-macro2", 3107 | "quote", 3108 | "unicode-ident", 3109 | ] 3110 | 3111 | [[package]] 3112 | name = "syn" 3113 | version = "2.0.101" 3114 | source = "registry+https://github.com/rust-lang/crates.io-index" 3115 | checksum = "8ce2b7fc941b3a24138a0a7cf8e858bfc6a992e7978a068a5c760deb0ed43caf" 3116 | dependencies = [ 3117 | "proc-macro2", 3118 | "quote", 3119 | "unicode-ident", 3120 | ] 3121 | 3122 | [[package]] 3123 | name = "sync_wrapper" 3124 | version = "1.0.2" 3125 | source = "registry+https://github.com/rust-lang/crates.io-index" 3126 | checksum = "0bf256ce5efdfa370213c1dabab5935a12e49f2c58d15e9eac2870d3b4f27263" 3127 | dependencies = [ 3128 | "futures-core", 3129 | ] 3130 | 3131 | [[package]] 3132 | name = "synstructure" 3133 | version = "0.13.2" 3134 | source = "registry+https://github.com/rust-lang/crates.io-index" 3135 | checksum = "728a70f3dbaf5bab7f0c4b1ac8d7ae5ea60a4b5549c8a5914361c99147a709d2" 3136 | dependencies = [ 3137 | "proc-macro2", 3138 | "quote", 3139 | "syn 2.0.101", 3140 | ] 3141 | 3142 | [[package]] 3143 | name = "tap" 3144 | version = "1.0.1" 3145 | source = "registry+https://github.com/rust-lang/crates.io-index" 3146 | checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" 3147 | 3148 | [[package]] 3149 | name = "tempfile" 3150 | version = "3.20.0" 3151 | source = "registry+https://github.com/rust-lang/crates.io-index" 3152 | checksum = "e8a64e3985349f2441a1a9ef0b853f869006c3855f2cda6862a94d26ebb9d6a1" 3153 | dependencies = [ 3154 | "fastrand", 3155 | "getrandom 0.3.3", 3156 | "once_cell", 3157 | "rustix 1.0.7", 3158 | "windows-sys 0.59.0", 3159 | ] 3160 | 3161 | [[package]] 3162 | name = "thiserror" 3163 | version = "2.0.12" 3164 | source = "registry+https://github.com/rust-lang/crates.io-index" 3165 | checksum = "567b8a2dae586314f7be2a752ec7474332959c6460e02bde30d702a66d488708" 3166 | dependencies = [ 3167 | "thiserror-impl", 3168 | ] 3169 | 3170 | [[package]] 3171 | name = "thiserror-impl" 3172 | version = "2.0.12" 3173 | source = "registry+https://github.com/rust-lang/crates.io-index" 3174 | checksum = "7f7cf42b4507d8ea322120659672cf1b9dbb93f8f2d4ecfd6e51350ff5b17a1d" 3175 | dependencies = [ 3176 | "proc-macro2", 3177 | "quote", 3178 | "syn 2.0.101", 3179 | ] 3180 | 3181 | [[package]] 3182 | name = "thread_local" 3183 | version = "1.1.8" 3184 | source = "registry+https://github.com/rust-lang/crates.io-index" 3185 | checksum = "8b9ef9bad013ada3808854ceac7b46812a6465ba368859a37e2100283d2d719c" 3186 | dependencies = [ 3187 | "cfg-if", 3188 | "once_cell", 3189 | ] 3190 | 3191 | [[package]] 3192 | name = "time" 3193 | version = "0.3.41" 3194 | source = "registry+https://github.com/rust-lang/crates.io-index" 3195 | checksum = "8a7619e19bc266e0f9c5e6686659d394bc57973859340060a69221e57dbc0c40" 3196 | dependencies = [ 3197 | "deranged", 3198 | "itoa", 3199 | "num-conv", 3200 | "powerfmt", 3201 | "serde", 3202 | "time-core", 3203 | "time-macros", 3204 | ] 3205 | 3206 | [[package]] 3207 | name = "time-core" 3208 | version = "0.1.4" 3209 | source = "registry+https://github.com/rust-lang/crates.io-index" 3210 | checksum = "c9e9a38711f559d9e3ce1cdb06dd7c5b8ea546bc90052da6d06bb76da74bb07c" 3211 | 3212 | [[package]] 3213 | name = "time-macros" 3214 | version = "0.2.22" 3215 | source = "registry+https://github.com/rust-lang/crates.io-index" 3216 | checksum = "3526739392ec93fd8b359c8e98514cb3e8e021beb4e5f597b00a0221f8ed8a49" 3217 | dependencies = [ 3218 | "num-conv", 3219 | "time-core", 3220 | ] 3221 | 3222 | [[package]] 3223 | name = "tinystr" 3224 | version = "0.8.1" 3225 | source = "registry+https://github.com/rust-lang/crates.io-index" 3226 | checksum = "5d4f6d1145dcb577acf783d4e601bc1d76a13337bb54e6233add580b07344c8b" 3227 | dependencies = [ 3228 | "displaydoc", 3229 | "zerovec", 3230 | ] 3231 | 3232 | [[package]] 3233 | name = "tinyvec" 3234 | version = "1.9.0" 3235 | source = "registry+https://github.com/rust-lang/crates.io-index" 3236 | checksum = "09b3661f17e86524eccd4371ab0429194e0d7c008abb45f7a7495b1719463c71" 3237 | dependencies = [ 3238 | "tinyvec_macros", 3239 | ] 3240 | 3241 | [[package]] 3242 | name = "tinyvec_macros" 3243 | version = "0.1.1" 3244 | source = "registry+https://github.com/rust-lang/crates.io-index" 3245 | checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" 3246 | 3247 | [[package]] 3248 | name = "to-arraystring" 3249 | version = "0.2.2" 3250 | source = "registry+https://github.com/rust-lang/crates.io-index" 3251 | checksum = "0fafaa22f176928fb926345e78eb2ec404603c878b274e6ab1f76de1f6dde1b1" 3252 | dependencies = [ 3253 | "arrayvec", 3254 | "itoa", 3255 | "ryu", 3256 | ] 3257 | 3258 | [[package]] 3259 | name = "tokio" 3260 | version = "1.45.0" 3261 | source = "registry+https://github.com/rust-lang/crates.io-index" 3262 | checksum = "2513ca694ef9ede0fb23fe71a4ee4107cb102b9dc1930f6d0fd77aae068ae165" 3263 | dependencies = [ 3264 | "backtrace", 3265 | "bytes", 3266 | "libc", 3267 | "mio", 3268 | "parking_lot", 3269 | "pin-project-lite", 3270 | "signal-hook-registry", 3271 | "socket2", 3272 | "tokio-macros", 3273 | "windows-sys 0.52.0", 3274 | ] 3275 | 3276 | [[package]] 3277 | name = "tokio-macros" 3278 | version = "2.5.0" 3279 | source = "registry+https://github.com/rust-lang/crates.io-index" 3280 | checksum = "6e06d43f1345a3bcd39f6a56dbb7dcab2ba47e68e8ac134855e7e2bdbaf8cab8" 3281 | dependencies = [ 3282 | "proc-macro2", 3283 | "quote", 3284 | "syn 2.0.101", 3285 | ] 3286 | 3287 | [[package]] 3288 | name = "tokio-rustls" 3289 | version = "0.26.2" 3290 | source = "registry+https://github.com/rust-lang/crates.io-index" 3291 | checksum = "8e727b36a1a0e8b74c376ac2211e40c2c8af09fb4013c60d910495810f008e9b" 3292 | dependencies = [ 3293 | "rustls", 3294 | "tokio", 3295 | ] 3296 | 3297 | [[package]] 3298 | name = "tokio-stream" 3299 | version = "0.1.17" 3300 | source = "registry+https://github.com/rust-lang/crates.io-index" 3301 | checksum = "eca58d7bba4a75707817a2c44174253f9236b2d5fbd055602e9d5c07c139a047" 3302 | dependencies = [ 3303 | "futures-core", 3304 | "pin-project-lite", 3305 | "tokio", 3306 | ] 3307 | 3308 | [[package]] 3309 | name = "tokio-tungstenite" 3310 | version = "0.26.2" 3311 | source = "registry+https://github.com/rust-lang/crates.io-index" 3312 | checksum = "7a9daff607c6d2bf6c16fd681ccb7eecc83e4e2cdc1ca067ffaadfca5de7f084" 3313 | dependencies = [ 3314 | "futures-util", 3315 | "log", 3316 | "rustls", 3317 | "rustls-pki-types", 3318 | "tokio", 3319 | "tokio-rustls", 3320 | "tungstenite", 3321 | "webpki-roots 0.26.11", 3322 | ] 3323 | 3324 | [[package]] 3325 | name = "tokio-util" 3326 | version = "0.7.15" 3327 | source = "registry+https://github.com/rust-lang/crates.io-index" 3328 | checksum = "66a539a9ad6d5d281510d5bd368c973d636c02dbf8a67300bfb6b950696ad7df" 3329 | dependencies = [ 3330 | "bytes", 3331 | "futures-core", 3332 | "futures-sink", 3333 | "pin-project-lite", 3334 | "tokio", 3335 | ] 3336 | 3337 | [[package]] 3338 | name = "toml_datetime" 3339 | version = "0.6.9" 3340 | source = "registry+https://github.com/rust-lang/crates.io-index" 3341 | checksum = "3da5db5a963e24bc68be8b17b6fa82814bb22ee8660f192bb182771d498f09a3" 3342 | 3343 | [[package]] 3344 | name = "toml_edit" 3345 | version = "0.22.26" 3346 | source = "registry+https://github.com/rust-lang/crates.io-index" 3347 | checksum = "310068873db2c5b3e7659d2cc35d21855dbafa50d1ce336397c666e3cb08137e" 3348 | dependencies = [ 3349 | "indexmap", 3350 | "toml_datetime", 3351 | "winnow", 3352 | ] 3353 | 3354 | [[package]] 3355 | name = "tower" 3356 | version = "0.5.2" 3357 | source = "registry+https://github.com/rust-lang/crates.io-index" 3358 | checksum = "d039ad9159c98b70ecfd540b2573b97f7f52c3e8d9f8ad57a24b916a536975f9" 3359 | dependencies = [ 3360 | "futures-core", 3361 | "futures-util", 3362 | "pin-project-lite", 3363 | "sync_wrapper", 3364 | "tokio", 3365 | "tower-layer", 3366 | "tower-service", 3367 | ] 3368 | 3369 | [[package]] 3370 | name = "tower-layer" 3371 | version = "0.3.3" 3372 | source = "registry+https://github.com/rust-lang/crates.io-index" 3373 | checksum = "121c2a6cda46980bb0fcd1647ffaf6cd3fc79a013de288782836f6df9c48780e" 3374 | 3375 | [[package]] 3376 | name = "tower-service" 3377 | version = "0.3.3" 3378 | source = "registry+https://github.com/rust-lang/crates.io-index" 3379 | checksum = "8df9b6e13f2d32c91b9bd719c00d1958837bc7dec474d94952798cc8e69eeec3" 3380 | 3381 | [[package]] 3382 | name = "tracing" 3383 | version = "0.1.41" 3384 | source = "registry+https://github.com/rust-lang/crates.io-index" 3385 | checksum = "784e0ac535deb450455cbfa28a6f0df145ea1bb7ae51b821cf5e7927fdcfbdd0" 3386 | dependencies = [ 3387 | "log", 3388 | "pin-project-lite", 3389 | "tracing-attributes", 3390 | "tracing-core", 3391 | ] 3392 | 3393 | [[package]] 3394 | name = "tracing-attributes" 3395 | version = "0.1.28" 3396 | source = "registry+https://github.com/rust-lang/crates.io-index" 3397 | checksum = "395ae124c09f9e6918a2310af6038fba074bcf474ac352496d5910dd59a2226d" 3398 | dependencies = [ 3399 | "proc-macro2", 3400 | "quote", 3401 | "syn 2.0.101", 3402 | ] 3403 | 3404 | [[package]] 3405 | name = "tracing-core" 3406 | version = "0.1.33" 3407 | source = "registry+https://github.com/rust-lang/crates.io-index" 3408 | checksum = "e672c95779cf947c5311f83787af4fa8fffd12fb27e4993211a84bdfd9610f9c" 3409 | dependencies = [ 3410 | "once_cell", 3411 | "valuable", 3412 | ] 3413 | 3414 | [[package]] 3415 | name = "tracing-log" 3416 | version = "0.2.0" 3417 | source = "registry+https://github.com/rust-lang/crates.io-index" 3418 | checksum = "ee855f1f400bd0e5c02d150ae5de3840039a3f54b025156404e34c23c03f47c3" 3419 | dependencies = [ 3420 | "log", 3421 | "once_cell", 3422 | "tracing-core", 3423 | ] 3424 | 3425 | [[package]] 3426 | name = "tracing-subscriber" 3427 | version = "0.3.19" 3428 | source = "registry+https://github.com/rust-lang/crates.io-index" 3429 | checksum = "e8189decb5ac0fa7bc8b96b7cb9b2701d60d48805aca84a238004d665fcc4008" 3430 | dependencies = [ 3431 | "matchers", 3432 | "nu-ansi-term", 3433 | "once_cell", 3434 | "regex", 3435 | "sharded-slab", 3436 | "smallvec", 3437 | "thread_local", 3438 | "tracing", 3439 | "tracing-core", 3440 | "tracing-log", 3441 | ] 3442 | 3443 | [[package]] 3444 | name = "trim-in-place" 3445 | version = "0.1.7" 3446 | source = "registry+https://github.com/rust-lang/crates.io-index" 3447 | checksum = "343e926fc669bc8cde4fa3129ab681c63671bae288b1f1081ceee6d9d37904fc" 3448 | 3449 | [[package]] 3450 | name = "try-lock" 3451 | version = "0.2.5" 3452 | source = "registry+https://github.com/rust-lang/crates.io-index" 3453 | checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" 3454 | 3455 | [[package]] 3456 | name = "tungstenite" 3457 | version = "0.26.2" 3458 | source = "registry+https://github.com/rust-lang/crates.io-index" 3459 | checksum = "4793cb5e56680ecbb1d843515b23b6de9a75eb04b66643e256a396d43be33c13" 3460 | dependencies = [ 3461 | "bytes", 3462 | "data-encoding", 3463 | "http", 3464 | "httparse", 3465 | "log", 3466 | "rand 0.9.1", 3467 | "rustls", 3468 | "rustls-pki-types", 3469 | "sha1", 3470 | "thiserror", 3471 | "url", 3472 | "utf-8", 3473 | ] 3474 | 3475 | [[package]] 3476 | name = "typenum" 3477 | version = "1.18.0" 3478 | source = "registry+https://github.com/rust-lang/crates.io-index" 3479 | checksum = "1dccffe3ce07af9386bfd29e80c0ab1a8205a2fc34e4bcd40364df902cfa8f3f" 3480 | 3481 | [[package]] 3482 | name = "typenum_mappings" 3483 | version = "0.1.0" 3484 | source = "registry+https://github.com/rust-lang/crates.io-index" 3485 | checksum = "0cbc2d8952dd1e08b0164a5b51549e80631ac9da4107669d26c8ea89cb0b5545" 3486 | dependencies = [ 3487 | "proc-macro2", 3488 | "quote", 3489 | "syn 2.0.101", 3490 | "to-arraystring", 3491 | ] 3492 | 3493 | [[package]] 3494 | name = "typesize" 3495 | version = "0.1.14" 3496 | source = "registry+https://github.com/rust-lang/crates.io-index" 3497 | checksum = "7da66c62c5b7017a2787e77373c03e6a5aafde77a73bff1ff96e91cd2e128179" 3498 | dependencies = [ 3499 | "chrono", 3500 | "nonmax", 3501 | "parking_lot", 3502 | "secrecy", 3503 | "serde_json", 3504 | "time", 3505 | "typesize-derive", 3506 | "url", 3507 | ] 3508 | 3509 | [[package]] 3510 | name = "typesize-derive" 3511 | version = "0.1.11" 3512 | source = "registry+https://github.com/rust-lang/crates.io-index" 3513 | checksum = "536b6812192bda8551cfa0e52524e328c6a951b48e66529ee4522d6c721243d6" 3514 | dependencies = [ 3515 | "proc-macro2", 3516 | "quote", 3517 | "syn 2.0.101", 3518 | ] 3519 | 3520 | [[package]] 3521 | name = "unicase" 3522 | version = "2.8.1" 3523 | source = "registry+https://github.com/rust-lang/crates.io-index" 3524 | checksum = "75b844d17643ee918803943289730bec8aac480150456169e647ed0b576ba539" 3525 | 3526 | [[package]] 3527 | name = "unicode-bidi" 3528 | version = "0.3.18" 3529 | source = "registry+https://github.com/rust-lang/crates.io-index" 3530 | checksum = "5c1cb5db39152898a79168971543b1cb5020dff7fe43c8dc468b0885f5e29df5" 3531 | 3532 | [[package]] 3533 | name = "unicode-ident" 3534 | version = "1.0.18" 3535 | source = "registry+https://github.com/rust-lang/crates.io-index" 3536 | checksum = "5a5f39404a5da50712a4c1eecf25e90dd62b613502b7e925fd4e4d19b5c96512" 3537 | 3538 | [[package]] 3539 | name = "unicode-normalization" 3540 | version = "0.1.24" 3541 | source = "registry+https://github.com/rust-lang/crates.io-index" 3542 | checksum = "5033c97c4262335cded6d6fc3e5c18ab755e1a3dc96376350f3d8e9f009ad956" 3543 | dependencies = [ 3544 | "tinyvec", 3545 | ] 3546 | 3547 | [[package]] 3548 | name = "unicode-properties" 3549 | version = "0.1.3" 3550 | source = "registry+https://github.com/rust-lang/crates.io-index" 3551 | checksum = "e70f2a8b45122e719eb623c01822704c4e0907e7e426a05927e1a1cfff5b75d0" 3552 | 3553 | [[package]] 3554 | name = "untrusted" 3555 | version = "0.9.0" 3556 | source = "registry+https://github.com/rust-lang/crates.io-index" 3557 | checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1" 3558 | 3559 | [[package]] 3560 | name = "url" 3561 | version = "2.5.4" 3562 | source = "registry+https://github.com/rust-lang/crates.io-index" 3563 | checksum = "32f8b686cadd1473f4bd0117a5d28d36b1ade384ea9b5069a1c40aefed7fda60" 3564 | dependencies = [ 3565 | "form_urlencoded", 3566 | "idna", 3567 | "percent-encoding", 3568 | "serde", 3569 | ] 3570 | 3571 | [[package]] 3572 | name = "utf-8" 3573 | version = "0.7.6" 3574 | source = "registry+https://github.com/rust-lang/crates.io-index" 3575 | checksum = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9" 3576 | 3577 | [[package]] 3578 | name = "utf8_iter" 3579 | version = "1.0.4" 3580 | source = "registry+https://github.com/rust-lang/crates.io-index" 3581 | checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be" 3582 | 3583 | [[package]] 3584 | name = "utf8parse" 3585 | version = "0.2.2" 3586 | source = "registry+https://github.com/rust-lang/crates.io-index" 3587 | checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" 3588 | 3589 | [[package]] 3590 | name = "uuid" 3591 | version = "1.16.0" 3592 | source = "registry+https://github.com/rust-lang/crates.io-index" 3593 | checksum = "458f7a779bf54acc9f347480ac654f68407d3aab21269a6e3c9f922acd9e2da9" 3594 | dependencies = [ 3595 | "serde", 3596 | ] 3597 | 3598 | [[package]] 3599 | name = "valuable" 3600 | version = "0.1.1" 3601 | source = "registry+https://github.com/rust-lang/crates.io-index" 3602 | checksum = "ba73ea9cf16a25df0c8caa16c51acb937d5712a8429db78a3ee29d5dcacd3a65" 3603 | 3604 | [[package]] 3605 | name = "value-bag" 3606 | version = "1.11.1" 3607 | source = "registry+https://github.com/rust-lang/crates.io-index" 3608 | checksum = "943ce29a8a743eb10d6082545d861b24f9d1b160b7d741e0f2cdf726bec909c5" 3609 | 3610 | [[package]] 3611 | name = "vcpkg" 3612 | version = "0.2.15" 3613 | source = "registry+https://github.com/rust-lang/crates.io-index" 3614 | checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426" 3615 | 3616 | [[package]] 3617 | name = "version_check" 3618 | version = "0.9.5" 3619 | source = "registry+https://github.com/rust-lang/crates.io-index" 3620 | checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" 3621 | 3622 | [[package]] 3623 | name = "want" 3624 | version = "0.3.1" 3625 | source = "registry+https://github.com/rust-lang/crates.io-index" 3626 | checksum = "bfa7760aed19e106de2c7c0b581b509f2f25d3dacaf737cb82ac61bc6d760b0e" 3627 | dependencies = [ 3628 | "try-lock", 3629 | ] 3630 | 3631 | [[package]] 3632 | name = "wasi" 3633 | version = "0.11.0+wasi-snapshot-preview1" 3634 | source = "registry+https://github.com/rust-lang/crates.io-index" 3635 | checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" 3636 | 3637 | [[package]] 3638 | name = "wasi" 3639 | version = "0.14.2+wasi-0.2.4" 3640 | source = "registry+https://github.com/rust-lang/crates.io-index" 3641 | checksum = "9683f9a5a998d873c0d21fcbe3c083009670149a8fab228644b8bd36b2c48cb3" 3642 | dependencies = [ 3643 | "wit-bindgen-rt", 3644 | ] 3645 | 3646 | [[package]] 3647 | name = "wasite" 3648 | version = "0.1.0" 3649 | source = "registry+https://github.com/rust-lang/crates.io-index" 3650 | checksum = "b8dad83b4f25e74f184f64c43b150b91efe7647395b42289f38e50566d82855b" 3651 | 3652 | [[package]] 3653 | name = "wasm-bindgen" 3654 | version = "0.2.100" 3655 | source = "registry+https://github.com/rust-lang/crates.io-index" 3656 | checksum = "1edc8929d7499fc4e8f0be2262a241556cfc54a0bea223790e71446f2aab1ef5" 3657 | dependencies = [ 3658 | "cfg-if", 3659 | "once_cell", 3660 | "rustversion", 3661 | "wasm-bindgen-macro", 3662 | ] 3663 | 3664 | [[package]] 3665 | name = "wasm-bindgen-backend" 3666 | version = "0.2.100" 3667 | source = "registry+https://github.com/rust-lang/crates.io-index" 3668 | checksum = "2f0a0651a5c2bc21487bde11ee802ccaf4c51935d0d3d42a6101f98161700bc6" 3669 | dependencies = [ 3670 | "bumpalo", 3671 | "log", 3672 | "proc-macro2", 3673 | "quote", 3674 | "syn 2.0.101", 3675 | "wasm-bindgen-shared", 3676 | ] 3677 | 3678 | [[package]] 3679 | name = "wasm-bindgen-futures" 3680 | version = "0.4.50" 3681 | source = "registry+https://github.com/rust-lang/crates.io-index" 3682 | checksum = "555d470ec0bc3bb57890405e5d4322cc9ea83cebb085523ced7be4144dac1e61" 3683 | dependencies = [ 3684 | "cfg-if", 3685 | "js-sys", 3686 | "once_cell", 3687 | "wasm-bindgen", 3688 | "web-sys", 3689 | ] 3690 | 3691 | [[package]] 3692 | name = "wasm-bindgen-macro" 3693 | version = "0.2.100" 3694 | source = "registry+https://github.com/rust-lang/crates.io-index" 3695 | checksum = "7fe63fc6d09ed3792bd0897b314f53de8e16568c2b3f7982f468c0bf9bd0b407" 3696 | dependencies = [ 3697 | "quote", 3698 | "wasm-bindgen-macro-support", 3699 | ] 3700 | 3701 | [[package]] 3702 | name = "wasm-bindgen-macro-support" 3703 | version = "0.2.100" 3704 | source = "registry+https://github.com/rust-lang/crates.io-index" 3705 | checksum = "8ae87ea40c9f689fc23f209965b6fb8a99ad69aeeb0231408be24920604395de" 3706 | dependencies = [ 3707 | "proc-macro2", 3708 | "quote", 3709 | "syn 2.0.101", 3710 | "wasm-bindgen-backend", 3711 | "wasm-bindgen-shared", 3712 | ] 3713 | 3714 | [[package]] 3715 | name = "wasm-bindgen-shared" 3716 | version = "0.2.100" 3717 | source = "registry+https://github.com/rust-lang/crates.io-index" 3718 | checksum = "1a05d73b933a847d6cccdda8f838a22ff101ad9bf93e33684f39c1f5f0eece3d" 3719 | dependencies = [ 3720 | "unicode-ident", 3721 | ] 3722 | 3723 | [[package]] 3724 | name = "wasm-streams" 3725 | version = "0.4.2" 3726 | source = "registry+https://github.com/rust-lang/crates.io-index" 3727 | checksum = "15053d8d85c7eccdbefef60f06769760a563c7f0a9d6902a13d35c7800b0ad65" 3728 | dependencies = [ 3729 | "futures-util", 3730 | "js-sys", 3731 | "wasm-bindgen", 3732 | "wasm-bindgen-futures", 3733 | "web-sys", 3734 | ] 3735 | 3736 | [[package]] 3737 | name = "web-sys" 3738 | version = "0.3.77" 3739 | source = "registry+https://github.com/rust-lang/crates.io-index" 3740 | checksum = "33b6dd2ef9186f1f2072e409e99cd22a975331a6b3591b12c764e0e55c60d5d2" 3741 | dependencies = [ 3742 | "js-sys", 3743 | "wasm-bindgen", 3744 | ] 3745 | 3746 | [[package]] 3747 | name = "web-time" 3748 | version = "1.1.0" 3749 | source = "registry+https://github.com/rust-lang/crates.io-index" 3750 | checksum = "5a6580f308b1fad9207618087a65c04e7a10bc77e02c8e84e9b00dd4b12fa0bb" 3751 | dependencies = [ 3752 | "js-sys", 3753 | "wasm-bindgen", 3754 | ] 3755 | 3756 | [[package]] 3757 | name = "webpki-roots" 3758 | version = "0.26.11" 3759 | source = "registry+https://github.com/rust-lang/crates.io-index" 3760 | checksum = "521bc38abb08001b01866da9f51eb7c5d647a19260e00054a8c7fd5f9e57f7a9" 3761 | dependencies = [ 3762 | "webpki-roots 1.0.0", 3763 | ] 3764 | 3765 | [[package]] 3766 | name = "webpki-roots" 3767 | version = "1.0.0" 3768 | source = "registry+https://github.com/rust-lang/crates.io-index" 3769 | checksum = "2853738d1cc4f2da3a225c18ec6c3721abb31961096e9dbf5ab35fa88b19cfdb" 3770 | dependencies = [ 3771 | "rustls-pki-types", 3772 | ] 3773 | 3774 | [[package]] 3775 | name = "whoami" 3776 | version = "1.6.0" 3777 | source = "registry+https://github.com/rust-lang/crates.io-index" 3778 | checksum = "6994d13118ab492c3c80c1f81928718159254c53c472bf9ce36f8dae4add02a7" 3779 | dependencies = [ 3780 | "redox_syscall", 3781 | "wasite", 3782 | ] 3783 | 3784 | [[package]] 3785 | name = "winapi" 3786 | version = "0.3.9" 3787 | source = "registry+https://github.com/rust-lang/crates.io-index" 3788 | checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" 3789 | dependencies = [ 3790 | "winapi-i686-pc-windows-gnu", 3791 | "winapi-x86_64-pc-windows-gnu", 3792 | ] 3793 | 3794 | [[package]] 3795 | name = "winapi-i686-pc-windows-gnu" 3796 | version = "0.4.0" 3797 | source = "registry+https://github.com/rust-lang/crates.io-index" 3798 | checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" 3799 | 3800 | [[package]] 3801 | name = "winapi-x86_64-pc-windows-gnu" 3802 | version = "0.4.0" 3803 | source = "registry+https://github.com/rust-lang/crates.io-index" 3804 | checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" 3805 | 3806 | [[package]] 3807 | name = "windows-core" 3808 | version = "0.61.0" 3809 | source = "registry+https://github.com/rust-lang/crates.io-index" 3810 | checksum = "4763c1de310c86d75a878046489e2e5ba02c649d185f21c67d4cf8a56d098980" 3811 | dependencies = [ 3812 | "windows-implement", 3813 | "windows-interface", 3814 | "windows-link", 3815 | "windows-result", 3816 | "windows-strings 0.4.0", 3817 | ] 3818 | 3819 | [[package]] 3820 | name = "windows-implement" 3821 | version = "0.60.0" 3822 | source = "registry+https://github.com/rust-lang/crates.io-index" 3823 | checksum = "a47fddd13af08290e67f4acabf4b459f647552718f683a7b415d290ac744a836" 3824 | dependencies = [ 3825 | "proc-macro2", 3826 | "quote", 3827 | "syn 2.0.101", 3828 | ] 3829 | 3830 | [[package]] 3831 | name = "windows-interface" 3832 | version = "0.59.1" 3833 | source = "registry+https://github.com/rust-lang/crates.io-index" 3834 | checksum = "bd9211b69f8dcdfa817bfd14bf1c97c9188afa36f4750130fcdf3f400eca9fa8" 3835 | dependencies = [ 3836 | "proc-macro2", 3837 | "quote", 3838 | "syn 2.0.101", 3839 | ] 3840 | 3841 | [[package]] 3842 | name = "windows-link" 3843 | version = "0.1.1" 3844 | source = "registry+https://github.com/rust-lang/crates.io-index" 3845 | checksum = "76840935b766e1b0a05c0066835fb9ec80071d4c09a16f6bd5f7e655e3c14c38" 3846 | 3847 | [[package]] 3848 | name = "windows-registry" 3849 | version = "0.4.0" 3850 | source = "registry+https://github.com/rust-lang/crates.io-index" 3851 | checksum = "4286ad90ddb45071efd1a66dfa43eb02dd0dfbae1545ad6cc3c51cf34d7e8ba3" 3852 | dependencies = [ 3853 | "windows-result", 3854 | "windows-strings 0.3.1", 3855 | "windows-targets 0.53.0", 3856 | ] 3857 | 3858 | [[package]] 3859 | name = "windows-result" 3860 | version = "0.3.2" 3861 | source = "registry+https://github.com/rust-lang/crates.io-index" 3862 | checksum = "c64fd11a4fd95df68efcfee5f44a294fe71b8bc6a91993e2791938abcc712252" 3863 | dependencies = [ 3864 | "windows-link", 3865 | ] 3866 | 3867 | [[package]] 3868 | name = "windows-strings" 3869 | version = "0.3.1" 3870 | source = "registry+https://github.com/rust-lang/crates.io-index" 3871 | checksum = "87fa48cc5d406560701792be122a10132491cff9d0aeb23583cc2dcafc847319" 3872 | dependencies = [ 3873 | "windows-link", 3874 | ] 3875 | 3876 | [[package]] 3877 | name = "windows-strings" 3878 | version = "0.4.0" 3879 | source = "registry+https://github.com/rust-lang/crates.io-index" 3880 | checksum = "7a2ba9642430ee452d5a7aa78d72907ebe8cfda358e8cb7918a2050581322f97" 3881 | dependencies = [ 3882 | "windows-link", 3883 | ] 3884 | 3885 | [[package]] 3886 | name = "windows-sys" 3887 | version = "0.48.0" 3888 | source = "registry+https://github.com/rust-lang/crates.io-index" 3889 | checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" 3890 | dependencies = [ 3891 | "windows-targets 0.48.5", 3892 | ] 3893 | 3894 | [[package]] 3895 | name = "windows-sys" 3896 | version = "0.52.0" 3897 | source = "registry+https://github.com/rust-lang/crates.io-index" 3898 | checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" 3899 | dependencies = [ 3900 | "windows-targets 0.52.6", 3901 | ] 3902 | 3903 | [[package]] 3904 | name = "windows-sys" 3905 | version = "0.59.0" 3906 | source = "registry+https://github.com/rust-lang/crates.io-index" 3907 | checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b" 3908 | dependencies = [ 3909 | "windows-targets 0.52.6", 3910 | ] 3911 | 3912 | [[package]] 3913 | name = "windows-targets" 3914 | version = "0.48.5" 3915 | source = "registry+https://github.com/rust-lang/crates.io-index" 3916 | checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" 3917 | dependencies = [ 3918 | "windows_aarch64_gnullvm 0.48.5", 3919 | "windows_aarch64_msvc 0.48.5", 3920 | "windows_i686_gnu 0.48.5", 3921 | "windows_i686_msvc 0.48.5", 3922 | "windows_x86_64_gnu 0.48.5", 3923 | "windows_x86_64_gnullvm 0.48.5", 3924 | "windows_x86_64_msvc 0.48.5", 3925 | ] 3926 | 3927 | [[package]] 3928 | name = "windows-targets" 3929 | version = "0.52.6" 3930 | source = "registry+https://github.com/rust-lang/crates.io-index" 3931 | checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973" 3932 | dependencies = [ 3933 | "windows_aarch64_gnullvm 0.52.6", 3934 | "windows_aarch64_msvc 0.52.6", 3935 | "windows_i686_gnu 0.52.6", 3936 | "windows_i686_gnullvm 0.52.6", 3937 | "windows_i686_msvc 0.52.6", 3938 | "windows_x86_64_gnu 0.52.6", 3939 | "windows_x86_64_gnullvm 0.52.6", 3940 | "windows_x86_64_msvc 0.52.6", 3941 | ] 3942 | 3943 | [[package]] 3944 | name = "windows-targets" 3945 | version = "0.53.0" 3946 | source = "registry+https://github.com/rust-lang/crates.io-index" 3947 | checksum = "b1e4c7e8ceaaf9cb7d7507c974735728ab453b67ef8f18febdd7c11fe59dca8b" 3948 | dependencies = [ 3949 | "windows_aarch64_gnullvm 0.53.0", 3950 | "windows_aarch64_msvc 0.53.0", 3951 | "windows_i686_gnu 0.53.0", 3952 | "windows_i686_gnullvm 0.53.0", 3953 | "windows_i686_msvc 0.53.0", 3954 | "windows_x86_64_gnu 0.53.0", 3955 | "windows_x86_64_gnullvm 0.53.0", 3956 | "windows_x86_64_msvc 0.53.0", 3957 | ] 3958 | 3959 | [[package]] 3960 | name = "windows_aarch64_gnullvm" 3961 | version = "0.48.5" 3962 | source = "registry+https://github.com/rust-lang/crates.io-index" 3963 | checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" 3964 | 3965 | [[package]] 3966 | name = "windows_aarch64_gnullvm" 3967 | version = "0.52.6" 3968 | source = "registry+https://github.com/rust-lang/crates.io-index" 3969 | checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3" 3970 | 3971 | [[package]] 3972 | name = "windows_aarch64_gnullvm" 3973 | version = "0.53.0" 3974 | source = "registry+https://github.com/rust-lang/crates.io-index" 3975 | checksum = "86b8d5f90ddd19cb4a147a5fa63ca848db3df085e25fee3cc10b39b6eebae764" 3976 | 3977 | [[package]] 3978 | name = "windows_aarch64_msvc" 3979 | version = "0.48.5" 3980 | source = "registry+https://github.com/rust-lang/crates.io-index" 3981 | checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" 3982 | 3983 | [[package]] 3984 | name = "windows_aarch64_msvc" 3985 | version = "0.52.6" 3986 | source = "registry+https://github.com/rust-lang/crates.io-index" 3987 | checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" 3988 | 3989 | [[package]] 3990 | name = "windows_aarch64_msvc" 3991 | version = "0.53.0" 3992 | source = "registry+https://github.com/rust-lang/crates.io-index" 3993 | checksum = "c7651a1f62a11b8cbd5e0d42526e55f2c99886c77e007179efff86c2b137e66c" 3994 | 3995 | [[package]] 3996 | name = "windows_i686_gnu" 3997 | version = "0.48.5" 3998 | source = "registry+https://github.com/rust-lang/crates.io-index" 3999 | checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" 4000 | 4001 | [[package]] 4002 | name = "windows_i686_gnu" 4003 | version = "0.52.6" 4004 | source = "registry+https://github.com/rust-lang/crates.io-index" 4005 | checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b" 4006 | 4007 | [[package]] 4008 | name = "windows_i686_gnu" 4009 | version = "0.53.0" 4010 | source = "registry+https://github.com/rust-lang/crates.io-index" 4011 | checksum = "c1dc67659d35f387f5f6c479dc4e28f1d4bb90ddd1a5d3da2e5d97b42d6272c3" 4012 | 4013 | [[package]] 4014 | name = "windows_i686_gnullvm" 4015 | version = "0.52.6" 4016 | source = "registry+https://github.com/rust-lang/crates.io-index" 4017 | checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66" 4018 | 4019 | [[package]] 4020 | name = "windows_i686_gnullvm" 4021 | version = "0.53.0" 4022 | source = "registry+https://github.com/rust-lang/crates.io-index" 4023 | checksum = "9ce6ccbdedbf6d6354471319e781c0dfef054c81fbc7cf83f338a4296c0cae11" 4024 | 4025 | [[package]] 4026 | name = "windows_i686_msvc" 4027 | version = "0.48.5" 4028 | source = "registry+https://github.com/rust-lang/crates.io-index" 4029 | checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" 4030 | 4031 | [[package]] 4032 | name = "windows_i686_msvc" 4033 | version = "0.52.6" 4034 | source = "registry+https://github.com/rust-lang/crates.io-index" 4035 | checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" 4036 | 4037 | [[package]] 4038 | name = "windows_i686_msvc" 4039 | version = "0.53.0" 4040 | source = "registry+https://github.com/rust-lang/crates.io-index" 4041 | checksum = "581fee95406bb13382d2f65cd4a908ca7b1e4c2f1917f143ba16efe98a589b5d" 4042 | 4043 | [[package]] 4044 | name = "windows_x86_64_gnu" 4045 | version = "0.48.5" 4046 | source = "registry+https://github.com/rust-lang/crates.io-index" 4047 | checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" 4048 | 4049 | [[package]] 4050 | name = "windows_x86_64_gnu" 4051 | version = "0.52.6" 4052 | source = "registry+https://github.com/rust-lang/crates.io-index" 4053 | checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" 4054 | 4055 | [[package]] 4056 | name = "windows_x86_64_gnu" 4057 | version = "0.53.0" 4058 | source = "registry+https://github.com/rust-lang/crates.io-index" 4059 | checksum = "2e55b5ac9ea33f2fc1716d1742db15574fd6fc8dadc51caab1c16a3d3b4190ba" 4060 | 4061 | [[package]] 4062 | name = "windows_x86_64_gnullvm" 4063 | version = "0.48.5" 4064 | source = "registry+https://github.com/rust-lang/crates.io-index" 4065 | checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" 4066 | 4067 | [[package]] 4068 | name = "windows_x86_64_gnullvm" 4069 | version = "0.52.6" 4070 | source = "registry+https://github.com/rust-lang/crates.io-index" 4071 | checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" 4072 | 4073 | [[package]] 4074 | name = "windows_x86_64_gnullvm" 4075 | version = "0.53.0" 4076 | source = "registry+https://github.com/rust-lang/crates.io-index" 4077 | checksum = "0a6e035dd0599267ce1ee132e51c27dd29437f63325753051e71dd9e42406c57" 4078 | 4079 | [[package]] 4080 | name = "windows_x86_64_msvc" 4081 | version = "0.48.5" 4082 | source = "registry+https://github.com/rust-lang/crates.io-index" 4083 | checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" 4084 | 4085 | [[package]] 4086 | name = "windows_x86_64_msvc" 4087 | version = "0.52.6" 4088 | source = "registry+https://github.com/rust-lang/crates.io-index" 4089 | checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" 4090 | 4091 | [[package]] 4092 | name = "windows_x86_64_msvc" 4093 | version = "0.53.0" 4094 | source = "registry+https://github.com/rust-lang/crates.io-index" 4095 | checksum = "271414315aff87387382ec3d271b52d7ae78726f5d44ac98b4f4030c91880486" 4096 | 4097 | [[package]] 4098 | name = "winnow" 4099 | version = "0.7.10" 4100 | source = "registry+https://github.com/rust-lang/crates.io-index" 4101 | checksum = "c06928c8748d81b05c9be96aad92e1b6ff01833332f281e8cfca3be4b35fc9ec" 4102 | dependencies = [ 4103 | "memchr", 4104 | ] 4105 | 4106 | [[package]] 4107 | name = "wit-bindgen-rt" 4108 | version = "0.39.0" 4109 | source = "registry+https://github.com/rust-lang/crates.io-index" 4110 | checksum = "6f42320e61fe2cfd34354ecb597f86f413484a798ba44a8ca1165c58d42da6c1" 4111 | dependencies = [ 4112 | "bitflags", 4113 | ] 4114 | 4115 | [[package]] 4116 | name = "writeable" 4117 | version = "0.6.1" 4118 | source = "registry+https://github.com/rust-lang/crates.io-index" 4119 | checksum = "ea2f10b9bb0928dfb1b42b65e1f9e36f7f54dbdf08457afefb38afcdec4fa2bb" 4120 | 4121 | [[package]] 4122 | name = "wyz" 4123 | version = "0.5.1" 4124 | source = "registry+https://github.com/rust-lang/crates.io-index" 4125 | checksum = "05f360fc0b24296329c78fda852a1e9ae82de9cf7b27dae4b7f62f118f77b9ed" 4126 | dependencies = [ 4127 | "tap", 4128 | ] 4129 | 4130 | [[package]] 4131 | name = "yansi" 4132 | version = "1.0.1" 4133 | source = "registry+https://github.com/rust-lang/crates.io-index" 4134 | checksum = "cfe53a6657fd280eaa890a3bc59152892ffa3e30101319d168b781ed6529b049" 4135 | 4136 | [[package]] 4137 | name = "yoke" 4138 | version = "0.8.0" 4139 | source = "registry+https://github.com/rust-lang/crates.io-index" 4140 | checksum = "5f41bb01b8226ef4bfd589436a297c53d118f65921786300e427be8d487695cc" 4141 | dependencies = [ 4142 | "serde", 4143 | "stable_deref_trait", 4144 | "yoke-derive", 4145 | "zerofrom", 4146 | ] 4147 | 4148 | [[package]] 4149 | name = "yoke-derive" 4150 | version = "0.8.0" 4151 | source = "registry+https://github.com/rust-lang/crates.io-index" 4152 | checksum = "38da3c9736e16c5d3c8c597a9aaa5d1fa565d0532ae05e27c24aa62fb32c0ab6" 4153 | dependencies = [ 4154 | "proc-macro2", 4155 | "quote", 4156 | "syn 2.0.101", 4157 | "synstructure", 4158 | ] 4159 | 4160 | [[package]] 4161 | name = "zerocopy" 4162 | version = "0.8.25" 4163 | source = "registry+https://github.com/rust-lang/crates.io-index" 4164 | checksum = "a1702d9583232ddb9174e01bb7c15a2ab8fb1bc6f227aa1233858c351a3ba0cb" 4165 | dependencies = [ 4166 | "zerocopy-derive", 4167 | ] 4168 | 4169 | [[package]] 4170 | name = "zerocopy-derive" 4171 | version = "0.8.25" 4172 | source = "registry+https://github.com/rust-lang/crates.io-index" 4173 | checksum = "28a6e20d751156648aa063f3800b706ee209a32c0b4d9f24be3d980b01be55ef" 4174 | dependencies = [ 4175 | "proc-macro2", 4176 | "quote", 4177 | "syn 2.0.101", 4178 | ] 4179 | 4180 | [[package]] 4181 | name = "zerofrom" 4182 | version = "0.1.6" 4183 | source = "registry+https://github.com/rust-lang/crates.io-index" 4184 | checksum = "50cc42e0333e05660c3587f3bf9d0478688e15d870fab3346451ce7f8c9fbea5" 4185 | dependencies = [ 4186 | "zerofrom-derive", 4187 | ] 4188 | 4189 | [[package]] 4190 | name = "zerofrom-derive" 4191 | version = "0.1.6" 4192 | source = "registry+https://github.com/rust-lang/crates.io-index" 4193 | checksum = "d71e5d6e06ab090c67b5e44993ec16b72dcbaabc526db883a360057678b48502" 4194 | dependencies = [ 4195 | "proc-macro2", 4196 | "quote", 4197 | "syn 2.0.101", 4198 | "synstructure", 4199 | ] 4200 | 4201 | [[package]] 4202 | name = "zeroize" 4203 | version = "1.8.1" 4204 | source = "registry+https://github.com/rust-lang/crates.io-index" 4205 | checksum = "ced3678a2879b30306d323f4542626697a464a97c0a07c9aebf7ebca65cd4dde" 4206 | 4207 | [[package]] 4208 | name = "zerotrie" 4209 | version = "0.2.2" 4210 | source = "registry+https://github.com/rust-lang/crates.io-index" 4211 | checksum = "36f0bbd478583f79edad978b407914f61b2972f5af6fa089686016be8f9af595" 4212 | dependencies = [ 4213 | "displaydoc", 4214 | "yoke", 4215 | "zerofrom", 4216 | ] 4217 | 4218 | [[package]] 4219 | name = "zerovec" 4220 | version = "0.11.2" 4221 | source = "registry+https://github.com/rust-lang/crates.io-index" 4222 | checksum = "4a05eb080e015ba39cc9e23bbe5e7fb04d5fb040350f99f34e338d5fdd294428" 4223 | dependencies = [ 4224 | "yoke", 4225 | "zerofrom", 4226 | "zerovec-derive", 4227 | ] 4228 | 4229 | [[package]] 4230 | name = "zerovec-derive" 4231 | version = "0.11.1" 4232 | source = "registry+https://github.com/rust-lang/crates.io-index" 4233 | checksum = "5b96237efa0c878c64bd89c436f661be4e46b2f3eff1ebb976f7ef2321d2f58f" 4234 | dependencies = [ 4235 | "proc-macro2", 4236 | "quote", 4237 | "syn 2.0.101", 4238 | ] 4239 | -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "anisearch" 3 | version = "3.0.0" 4 | edition = "2024" 5 | 6 | [workspace] 7 | members = [".", "entity", "migration"] 8 | 9 | [dependencies] 10 | anyhow = "1.0" 11 | chrono = "0.4" 12 | entity = { path = "entity" } 13 | migration = { path = "migration" } 14 | poise = { git = "https://github.com/serenity-rs/poise", branch = "serenity-next" } 15 | sea-orm = { version = "1.1", features = ["macros", "runtime-tokio-rustls", "sqlx-postgres"] } 16 | thiserror = "2.0" 17 | tokio = { version = "1.45", features = ["full"] } 18 | tracing = "0.1" 19 | tracing-subscriber = "0.3" 20 | 21 | [build-dependencies] 22 | chrono = "0.4" 23 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | GNU GENERAL PUBLIC LICENSE 2 | Version 3, 29 June 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 General Public License is a free, copyleft license for 11 | software and other kinds of works. 12 | 13 | The licenses for most software and other practical works are designed 14 | to take away your freedom to share and change the works. By contrast, 15 | the GNU General Public License is intended to guarantee your freedom to 16 | share and change all versions of a program--to make sure it remains free 17 | software for all its users. We, the Free Software Foundation, use the 18 | GNU General Public License for most of our software; it applies also to 19 | any other work released this way by its authors. You can apply it to 20 | your programs, too. 21 | 22 | When we speak of free software, we are referring to freedom, not 23 | price. Our General Public Licenses are designed to make sure that you 24 | have the freedom to distribute copies of free software (and charge for 25 | them if you wish), that you receive source code or can get it if you 26 | want it, that you can change the software or use pieces of it in new 27 | free programs, and that you know you can do these things. 28 | 29 | To protect your rights, we need to prevent others from denying you 30 | these rights or asking you to surrender the rights. Therefore, you have 31 | certain responsibilities if you distribute copies of the software, or if 32 | you modify it: responsibilities to respect the freedom of others. 33 | 34 | For example, if you distribute copies of such a program, whether 35 | gratis or for a fee, you must pass on to the recipients the same 36 | freedoms that you received. You must make sure that they, too, receive 37 | or can get the source code. And you must show them these terms so they 38 | know their rights. 39 | 40 | Developers that use the GNU GPL protect your rights with two steps: 41 | (1) assert copyright on the software, and (2) offer you this License 42 | giving you legal permission to copy, distribute and/or modify it. 43 | 44 | For the developers' and authors' protection, the GPL clearly explains 45 | that there is no warranty for this free software. For both users' and 46 | authors' sake, the GPL requires that modified versions be marked as 47 | changed, so that their problems will not be attributed erroneously to 48 | authors of previous versions. 49 | 50 | Some devices are designed to deny users access to install or run 51 | modified versions of the software inside them, although the manufacturer 52 | can do so. This is fundamentally incompatible with the aim of 53 | protecting users' freedom to change the software. The systematic 54 | pattern of such abuse occurs in the area of products for individuals to 55 | use, which is precisely where it is most unacceptable. Therefore, we 56 | have designed this version of the GPL to prohibit the practice for those 57 | products. If such problems arise substantially in other domains, we 58 | stand ready to extend this provision to those domains in future versions 59 | of the GPL, as needed to protect the freedom of users. 60 | 61 | Finally, every program is threatened constantly by software patents. 62 | States should not allow patents to restrict development and use of 63 | software on general-purpose computers, but in those that do, we wish to 64 | avoid the special danger that patents applied to a free program could 65 | make it effectively proprietary. To prevent this, the GPL assures that 66 | patents cannot be used to render the program non-free. 67 | 68 | The precise terms and conditions for copying, distribution and 69 | modification follow. 70 | 71 | TERMS AND CONDITIONS 72 | 73 | 0. Definitions. 74 | 75 | "This License" refers to version 3 of the GNU General Public License. 76 | 77 | "Copyright" also means copyright-like laws that apply to other kinds of 78 | works, such as semiconductor masks. 79 | 80 | "The Program" refers to any copyrightable work licensed under this 81 | License. Each licensee is addressed as "you". "Licensees" and 82 | "recipients" may be individuals or organizations. 83 | 84 | To "modify" a work means to copy from or adapt all or part of the work 85 | in a fashion requiring copyright permission, other than the making of an 86 | exact copy. The resulting work is called a "modified version" of the 87 | earlier work or a work "based on" the earlier work. 88 | 89 | A "covered work" means either the unmodified Program or a work based 90 | on the Program. 91 | 92 | To "propagate" a work means to do anything with it that, without 93 | permission, would make you directly or secondarily liable for 94 | infringement under applicable copyright law, except executing it on a 95 | computer or modifying a private copy. Propagation includes copying, 96 | distribution (with or without modification), making available to the 97 | public, and in some countries other activities as well. 98 | 99 | To "convey" a work means any kind of propagation that enables other 100 | parties to make or receive copies. Mere interaction with a user through 101 | a computer network, with no transfer of a copy, is not conveying. 102 | 103 | An interactive user interface displays "Appropriate Legal Notices" 104 | to the extent that it includes a convenient and prominently visible 105 | feature that (1) displays an appropriate copyright notice, and (2) 106 | tells the user that there is no warranty for the work (except to the 107 | extent that warranties are provided), that licensees may convey the 108 | work under this License, and how to view a copy of this License. If 109 | the interface presents a list of user commands or options, such as a 110 | menu, a prominent item in the list meets this criterion. 111 | 112 | 1. Source Code. 113 | 114 | The "source code" for a work means the preferred form of the work 115 | for making modifications to it. "Object code" means any non-source 116 | form of a work. 117 | 118 | A "Standard Interface" means an interface that either is an official 119 | standard defined by a recognized standards body, or, in the case of 120 | interfaces specified for a particular programming language, one that 121 | is widely used among developers working in that language. 122 | 123 | The "System Libraries" of an executable work include anything, other 124 | than the work as a whole, that (a) is included in the normal form of 125 | packaging a Major Component, but which is not part of that Major 126 | Component, and (b) serves only to enable use of the work with that 127 | Major Component, or to implement a Standard Interface for which an 128 | implementation is available to the public in source code form. A 129 | "Major Component", in this context, means a major essential component 130 | (kernel, window system, and so on) of the specific operating system 131 | (if any) on which the executable work runs, or a compiler used to 132 | produce the work, or an object code interpreter used to run it. 133 | 134 | The "Corresponding Source" for a work in object code form means all 135 | the source code needed to generate, install, and (for an executable 136 | work) run the object code and to modify the work, including scripts to 137 | control those activities. However, it does not include the work's 138 | System Libraries, or general-purpose tools or generally available free 139 | programs which are used unmodified in performing those activities but 140 | which are not part of the work. For example, Corresponding Source 141 | includes interface definition files associated with source files for 142 | the work, and the source code for shared libraries and dynamically 143 | linked subprograms that the work is specifically designed to require, 144 | such as by intimate data communication or control flow between those 145 | subprograms and other parts of the work. 146 | 147 | The Corresponding Source need not include anything that users 148 | can regenerate automatically from other parts of the Corresponding 149 | Source. 150 | 151 | The Corresponding Source for a work in source code form is that 152 | same work. 153 | 154 | 2. Basic Permissions. 155 | 156 | All rights granted under this License are granted for the term of 157 | copyright on the Program, and are irrevocable provided the stated 158 | conditions are met. This License explicitly affirms your unlimited 159 | permission to run the unmodified Program. The output from running a 160 | covered work is covered by this License only if the output, given its 161 | content, constitutes a covered work. This License acknowledges your 162 | rights of fair use or other equivalent, as provided by copyright law. 163 | 164 | You may make, run and propagate covered works that you do not 165 | convey, without conditions so long as your license otherwise remains 166 | in force. You may convey covered works to others for the sole purpose 167 | of having them make modifications exclusively for you, or provide you 168 | with facilities for running those works, provided that you comply with 169 | the terms of this License in conveying all material for which you do 170 | not control copyright. Those thus making or running the covered works 171 | for you must do so exclusively on your behalf, under your direction 172 | and control, on terms that prohibit them from making any copies of 173 | your copyrighted material outside their relationship with you. 174 | 175 | Conveying under any other circumstances is permitted solely under 176 | the conditions stated below. Sublicensing is not allowed; section 10 177 | makes it unnecessary. 178 | 179 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law. 180 | 181 | No covered work shall be deemed part of an effective technological 182 | measure under any applicable law fulfilling obligations under article 183 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or 184 | similar laws prohibiting or restricting circumvention of such 185 | measures. 186 | 187 | When you convey a covered work, you waive any legal power to forbid 188 | circumvention of technological measures to the extent such circumvention 189 | is effected by exercising rights under this License with respect to 190 | the covered work, and you disclaim any intention to limit operation or 191 | modification of the work as a means of enforcing, against the work's 192 | users, your or third parties' legal rights to forbid circumvention of 193 | technological measures. 194 | 195 | 4. Conveying Verbatim Copies. 196 | 197 | You may convey verbatim copies of the Program's source code as you 198 | receive it, in any medium, provided that you conspicuously and 199 | appropriately publish on each copy an appropriate copyright notice; 200 | keep intact all notices stating that this License and any 201 | non-permissive terms added in accord with section 7 apply to the code; 202 | keep intact all notices of the absence of any warranty; and give all 203 | recipients a copy of this License along with the Program. 204 | 205 | You may charge any price or no price for each copy that you convey, 206 | and you may offer support or warranty protection for a fee. 207 | 208 | 5. Conveying Modified Source Versions. 209 | 210 | You may convey a work based on the Program, or the modifications to 211 | produce it from the Program, in the form of source code under the 212 | terms of section 4, provided that you also meet all of these conditions: 213 | 214 | a) The work must carry prominent notices stating that you modified 215 | it, and giving a relevant date. 216 | 217 | b) The work must carry prominent notices stating that it is 218 | released under this License and any conditions added under section 219 | 7. This requirement modifies the requirement in section 4 to 220 | "keep intact all notices". 221 | 222 | c) You must license the entire work, as a whole, under this 223 | License to anyone who comes into possession of a copy. This 224 | License will therefore apply, along with any applicable section 7 225 | additional terms, to the whole of the work, and all its parts, 226 | regardless of how they are packaged. This License gives no 227 | permission to license the work in any other way, but it does not 228 | invalidate such permission if you have separately received it. 229 | 230 | d) If the work has interactive user interfaces, each must display 231 | Appropriate Legal Notices; however, if the Program has interactive 232 | interfaces that do not display Appropriate Legal Notices, your 233 | work need not make them do so. 234 | 235 | A compilation of a covered work with other separate and independent 236 | works, which are not by their nature extensions of the covered work, 237 | and which are not combined with it such as to form a larger program, 238 | in or on a volume of a storage or distribution medium, is called an 239 | "aggregate" if the compilation and its resulting copyright are not 240 | used to limit the access or legal rights of the compilation's users 241 | beyond what the individual works permit. Inclusion of a covered work 242 | in an aggregate does not cause this License to apply to the other 243 | parts of the aggregate. 244 | 245 | 6. Conveying Non-Source Forms. 246 | 247 | You may convey a covered work in object code form under the terms 248 | of sections 4 and 5, provided that you also convey the 249 | machine-readable Corresponding Source under the terms of this License, 250 | in one of these ways: 251 | 252 | a) Convey the object code in, or embodied in, a physical product 253 | (including a physical distribution medium), accompanied by the 254 | Corresponding Source fixed on a durable physical medium 255 | customarily used for software interchange. 256 | 257 | b) Convey the object code in, or embodied in, a physical product 258 | (including a physical distribution medium), accompanied by a 259 | written offer, valid for at least three years and valid for as 260 | long as you offer spare parts or customer support for that product 261 | model, to give anyone who possesses the object code either (1) a 262 | copy of the Corresponding Source for all the software in the 263 | product that is covered by this License, on a durable physical 264 | medium customarily used for software interchange, for a price no 265 | more than your reasonable cost of physically performing this 266 | conveying of source, or (2) access to copy the 267 | Corresponding Source from a network server at no charge. 268 | 269 | c) Convey individual copies of the object code with a copy of the 270 | written offer to provide the Corresponding Source. This 271 | alternative is allowed only occasionally and noncommercially, and 272 | only if you received the object code with such an offer, in accord 273 | with subsection 6b. 274 | 275 | d) Convey the object code by offering access from a designated 276 | place (gratis or for a charge), and offer equivalent access to the 277 | Corresponding Source in the same way through the same place at no 278 | further charge. You need not require recipients to copy the 279 | Corresponding Source along with the object code. If the place to 280 | copy the object code is a network server, the Corresponding Source 281 | may be on a different server (operated by you or a third party) 282 | that supports equivalent copying facilities, provided you maintain 283 | clear directions next to the object code saying where to find the 284 | Corresponding Source. Regardless of what server hosts the 285 | Corresponding Source, you remain obligated to ensure that it is 286 | available for as long as needed to satisfy these requirements. 287 | 288 | e) Convey the object code using peer-to-peer transmission, provided 289 | you inform other peers where the object code and Corresponding 290 | Source of the work are being offered to the general public at no 291 | charge under subsection 6d. 292 | 293 | A separable portion of the object code, whose source code is excluded 294 | from the Corresponding Source as a System Library, need not be 295 | included in conveying the object code work. 296 | 297 | A "User Product" is either (1) a "consumer product", which means any 298 | tangible personal property which is normally used for personal, family, 299 | or household purposes, or (2) anything designed or sold for incorporation 300 | into a dwelling. In determining whether a product is a consumer product, 301 | doubtful cases shall be resolved in favor of coverage. For a particular 302 | product received by a particular user, "normally used" refers to a 303 | typical or common use of that class of product, regardless of the status 304 | of the particular user or of the way in which the particular user 305 | actually uses, or expects or is expected to use, the product. A product 306 | is a consumer product regardless of whether the product has substantial 307 | commercial, industrial or non-consumer uses, unless such uses represent 308 | the only significant mode of use of the product. 309 | 310 | "Installation Information" for a User Product means any methods, 311 | procedures, authorization keys, or other information required to install 312 | and execute modified versions of a covered work in that User Product from 313 | a modified version of its Corresponding Source. The information must 314 | suffice to ensure that the continued functioning of the modified object 315 | code is in no case prevented or interfered with solely because 316 | modification has been made. 317 | 318 | If you convey an object code work under this section in, or with, or 319 | specifically for use in, a User Product, and the conveying occurs as 320 | part of a transaction in which the right of possession and use of the 321 | User Product is transferred to the recipient in perpetuity or for a 322 | fixed term (regardless of how the transaction is characterized), the 323 | Corresponding Source conveyed under this section must be accompanied 324 | by the Installation Information. But this requirement does not apply 325 | if neither you nor any third party retains the ability to install 326 | modified object code on the User Product (for example, the work has 327 | been installed in ROM). 328 | 329 | The requirement to provide Installation Information does not include a 330 | requirement to continue to provide support service, warranty, or updates 331 | for a work that has been modified or installed by the recipient, or for 332 | the User Product in which it has been modified or installed. Access to a 333 | network may be denied when the modification itself materially and 334 | adversely affects the operation of the network or violates the rules and 335 | protocols for communication across the network. 336 | 337 | Corresponding Source conveyed, and Installation Information provided, 338 | in accord with this section must be in a format that is publicly 339 | documented (and with an implementation available to the public in 340 | source code form), and must require no special password or key for 341 | unpacking, reading or copying. 342 | 343 | 7. Additional Terms. 344 | 345 | "Additional permissions" are terms that supplement the terms of this 346 | License by making exceptions from one or more of its conditions. 347 | Additional permissions that are applicable to the entire Program shall 348 | be treated as though they were included in this License, to the extent 349 | that they are valid under applicable law. If additional permissions 350 | apply only to part of the Program, that part may be used separately 351 | under those permissions, but the entire Program remains governed by 352 | this License without regard to the additional permissions. 353 | 354 | When you convey a copy of a covered work, you may at your option 355 | remove any additional permissions from that copy, or from any part of 356 | it. (Additional permissions may be written to require their own 357 | removal in certain cases when you modify the work.) You may place 358 | additional permissions on material, added by you to a covered work, 359 | for which you have or can give appropriate copyright permission. 360 | 361 | Notwithstanding any other provision of this License, for material you 362 | add to a covered work, you may (if authorized by the copyright holders of 363 | that material) supplement the terms of this License with terms: 364 | 365 | a) Disclaiming warranty or limiting liability differently from the 366 | terms of sections 15 and 16 of this License; or 367 | 368 | b) Requiring preservation of specified reasonable legal notices or 369 | author attributions in that material or in the Appropriate Legal 370 | Notices displayed by works containing it; or 371 | 372 | c) Prohibiting misrepresentation of the origin of that material, or 373 | requiring that modified versions of such material be marked in 374 | reasonable ways as different from the original version; or 375 | 376 | d) Limiting the use for publicity purposes of names of licensors or 377 | authors of the material; or 378 | 379 | e) Declining to grant rights under trademark law for use of some 380 | trade names, trademarks, or service marks; or 381 | 382 | f) Requiring indemnification of licensors and authors of that 383 | material by anyone who conveys the material (or modified versions of 384 | it) with contractual assumptions of liability to the recipient, for 385 | any liability that these contractual assumptions directly impose on 386 | those licensors and authors. 387 | 388 | All other non-permissive additional terms are considered "further 389 | restrictions" within the meaning of section 10. If the Program as you 390 | received it, or any part of it, contains a notice stating that it is 391 | governed by this License along with a term that is a further 392 | restriction, you may remove that term. If a license document contains 393 | a further restriction but permits relicensing or conveying under this 394 | License, you may add to a covered work material governed by the terms 395 | of that license document, provided that the further restriction does 396 | not survive such relicensing or conveying. 397 | 398 | If you add terms to a covered work in accord with this section, you 399 | must place, in the relevant source files, a statement of the 400 | additional terms that apply to those files, or a notice indicating 401 | where to find the applicable terms. 402 | 403 | Additional terms, permissive or non-permissive, may be stated in the 404 | form of a separately written license, or stated as exceptions; 405 | the above requirements apply either way. 406 | 407 | 8. Termination. 408 | 409 | You may not propagate or modify a covered work except as expressly 410 | provided under this License. Any attempt otherwise to propagate or 411 | modify it is void, and will automatically terminate your rights under 412 | this License (including any patent licenses granted under the third 413 | paragraph of section 11). 414 | 415 | However, if you cease all violation of this License, then your 416 | license from a particular copyright holder is reinstated (a) 417 | provisionally, unless and until the copyright holder explicitly and 418 | finally terminates your license, and (b) permanently, if the copyright 419 | holder fails to notify you of the violation by some reasonable means 420 | prior to 60 days after the cessation. 421 | 422 | Moreover, your license from a particular copyright holder is 423 | reinstated permanently if the copyright holder notifies you of the 424 | violation by some reasonable means, this is the first time you have 425 | received notice of violation of this License (for any work) from that 426 | copyright holder, and you cure the violation prior to 30 days after 427 | your receipt of the notice. 428 | 429 | Termination of your rights under this section does not terminate the 430 | licenses of parties who have received copies or rights from you under 431 | this License. If your rights have been terminated and not permanently 432 | reinstated, you do not qualify to receive new licenses for the same 433 | material under section 10. 434 | 435 | 9. Acceptance Not Required for Having Copies. 436 | 437 | You are not required to accept this License in order to receive or 438 | run a copy of the Program. Ancillary propagation of a covered work 439 | occurring solely as a consequence of using peer-to-peer transmission 440 | to receive a copy likewise does not require acceptance. However, 441 | nothing other than this License grants you permission to propagate or 442 | modify any covered work. These actions infringe copyright if you do 443 | not accept this License. Therefore, by modifying or propagating a 444 | covered work, you indicate your acceptance of this License to do so. 445 | 446 | 10. Automatic Licensing of Downstream Recipients. 447 | 448 | Each time you convey a covered work, the recipient automatically 449 | receives a license from the original licensors, to run, modify and 450 | propagate that work, subject to this License. You are not responsible 451 | for enforcing compliance by third parties with this License. 452 | 453 | An "entity transaction" is a transaction transferring control of an 454 | organization, or substantially all assets of one, or subdividing an 455 | organization, or merging organizations. If propagation of a covered 456 | work results from an entity transaction, each party to that 457 | transaction who receives a copy of the work also receives whatever 458 | licenses to the work the party's predecessor in interest had or could 459 | give under the previous paragraph, plus a right to possession of the 460 | Corresponding Source of the work from the predecessor in interest, if 461 | the predecessor has it or can get it with reasonable efforts. 462 | 463 | You may not impose any further restrictions on the exercise of the 464 | rights granted or affirmed under this License. For example, you may 465 | not impose a license fee, royalty, or other charge for exercise of 466 | rights granted under this License, and you may not initiate litigation 467 | (including a cross-claim or counterclaim in a lawsuit) alleging that 468 | any patent claim is infringed by making, using, selling, offering for 469 | sale, or importing the Program or any portion of it. 470 | 471 | 11. Patents. 472 | 473 | A "contributor" is a copyright holder who authorizes use under this 474 | License of the Program or a work on which the Program is based. The 475 | work thus licensed is called the contributor's "contributor version". 476 | 477 | A contributor's "essential patent claims" are all patent claims 478 | owned or controlled by the contributor, whether already acquired or 479 | hereafter acquired, that would be infringed by some manner, permitted 480 | by this License, of making, using, or selling its contributor version, 481 | but do not include claims that would be infringed only as a 482 | consequence of further modification of the contributor version. For 483 | purposes of this definition, "control" includes the right to grant 484 | patent sublicenses in a manner consistent with the requirements of 485 | this License. 486 | 487 | Each contributor grants you a non-exclusive, worldwide, royalty-free 488 | patent license under the contributor's essential patent claims, to 489 | make, use, sell, offer for sale, import and otherwise run, modify and 490 | propagate the contents of its contributor version. 491 | 492 | In the following three paragraphs, a "patent license" is any express 493 | agreement or commitment, however denominated, not to enforce a patent 494 | (such as an express permission to practice a patent or covenant not to 495 | sue for patent infringement). To "grant" such a patent license to a 496 | party means to make such an agreement or commitment not to enforce a 497 | patent against the party. 498 | 499 | If you convey a covered work, knowingly relying on a patent license, 500 | and the Corresponding Source of the work is not available for anyone 501 | to copy, free of charge and under the terms of this License, through a 502 | publicly available network server or other readily accessible means, 503 | then you must either (1) cause the Corresponding Source to be so 504 | available, or (2) arrange to deprive yourself of the benefit of the 505 | patent license for this particular work, or (3) arrange, in a manner 506 | consistent with the requirements of this License, to extend the patent 507 | license to downstream recipients. "Knowingly relying" means you have 508 | actual knowledge that, but for the patent license, your conveying the 509 | covered work in a country, or your recipient's use of the covered work 510 | in a country, would infringe one or more identifiable patents in that 511 | country that you have reason to believe are valid. 512 | 513 | If, pursuant to or in connection with a single transaction or 514 | arrangement, you convey, or propagate by procuring conveyance of, a 515 | covered work, and grant a patent license to some of the parties 516 | receiving the covered work authorizing them to use, propagate, modify 517 | or convey a specific copy of the covered work, then the patent license 518 | you grant is automatically extended to all recipients of the covered 519 | work and works based on it. 520 | 521 | A patent license is "discriminatory" if it does not include within 522 | the scope of its coverage, prohibits the exercise of, or is 523 | conditioned on the non-exercise of one or more of the rights that are 524 | specifically granted under this License. You may not convey a covered 525 | work if you are a party to an arrangement with a third party that is 526 | in the business of distributing software, under which you make payment 527 | to the third party based on the extent of your activity of conveying 528 | the work, and under which the third party grants, to any of the 529 | parties who would receive the covered work from you, a discriminatory 530 | patent license (a) in connection with copies of the covered work 531 | conveyed by you (or copies made from those copies), or (b) primarily 532 | for and in connection with specific products or compilations that 533 | contain the covered work, unless you entered into that arrangement, 534 | or that patent license was granted, prior to 28 March 2007. 535 | 536 | Nothing in this License shall be construed as excluding or limiting 537 | any implied license or other defenses to infringement that may 538 | otherwise be available to you under applicable patent law. 539 | 540 | 12. No Surrender of Others' Freedom. 541 | 542 | If conditions are imposed on you (whether by court order, agreement or 543 | otherwise) that contradict the conditions of this License, they do not 544 | excuse you from the conditions of this License. If you cannot convey a 545 | covered work so as to satisfy simultaneously your obligations under this 546 | License and any other pertinent obligations, then as a consequence you may 547 | not convey it at all. For example, if you agree to terms that obligate you 548 | to collect a royalty for further conveying from those to whom you convey 549 | the Program, the only way you could satisfy both those terms and this 550 | License would be to refrain entirely from conveying the Program. 551 | 552 | 13. Use with the GNU Affero General Public License. 553 | 554 | Notwithstanding any other provision of this License, you have 555 | permission to link or combine any covered work with a work licensed 556 | under version 3 of the GNU Affero General Public License into a single 557 | combined work, and to convey the resulting work. The terms of this 558 | License will continue to apply to the part which is the covered work, 559 | but the special requirements of the GNU Affero General Public License, 560 | section 13, concerning interaction through a network will apply to the 561 | combination as such. 562 | 563 | 14. Revised Versions of this License. 564 | 565 | The Free Software Foundation may publish revised and/or new versions of 566 | the GNU General Public License from time to time. Such new versions will 567 | be similar in spirit to the present version, but may differ in detail to 568 | address new problems or concerns. 569 | 570 | Each version is given a distinguishing version number. If the 571 | Program specifies that a certain numbered version of the GNU General 572 | Public License "or any later version" applies to it, you have the 573 | option of following the terms and conditions either of that numbered 574 | version or of any later version published by the Free Software 575 | Foundation. If the Program does not specify a version number of the 576 | GNU General Public License, you may choose any version ever published 577 | by the Free Software Foundation. 578 | 579 | If the Program specifies that a proxy can decide which future 580 | versions of the GNU General Public License can be used, that proxy's 581 | public statement of acceptance of a version permanently authorizes you 582 | to choose that version for the Program. 583 | 584 | Later license versions may give you additional or different 585 | permissions. However, no additional obligations are imposed on any 586 | author or copyright holder as a result of your choosing to follow a 587 | later version. 588 | 589 | 15. Disclaimer of Warranty. 590 | 591 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY 592 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT 593 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY 594 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, 595 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 596 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM 597 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF 598 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 599 | 600 | 16. Limitation of Liability. 601 | 602 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 603 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS 604 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 605 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE 606 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF 607 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD 608 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), 609 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF 610 | SUCH DAMAGES. 611 | 612 | 17. Interpretation of Sections 15 and 16. 613 | 614 | If the disclaimer of warranty and limitation of liability provided 615 | above cannot be given local legal effect according to their terms, 616 | reviewing courts shall apply local law that most closely approximates 617 | an absolute waiver of all civil liability in connection with the 618 | Program, unless a warranty or assumption of liability accompanies a 619 | copy of the Program in return for a fee. 620 | 621 | END OF TERMS AND CONDITIONS 622 | 623 | How to Apply These Terms to Your New Programs 624 | 625 | If you develop a new program, and you want it to be of the greatest 626 | possible use to the public, the best way to achieve this is to make it 627 | free software which everyone can redistribute and change under these terms. 628 | 629 | To do so, attach the following notices to the program. It is safest 630 | to attach them to the start of each source file to most effectively 631 | state the exclusion of warranty; and each file should have at least 632 | the "copyright" line and a pointer to where the full notice is found. 633 | 634 | 635 | Copyright (C) 636 | 637 | This program is free software: you can redistribute it and/or modify 638 | it under the terms of the GNU General Public License as published by 639 | the Free Software Foundation, either version 3 of the License, or 640 | (at your option) any later version. 641 | 642 | This program is distributed in the hope that it will be useful, 643 | but WITHOUT ANY WARRANTY; without even the implied warranty of 644 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 645 | GNU General Public License for more details. 646 | 647 | You should have received a copy of the GNU General Public License 648 | along with this program. If not, see . 649 | 650 | Also add information on how to contact you by electronic and paper mail. 651 | 652 | If the program does terminal interaction, make it output a short 653 | notice like this when it starts in an interactive mode: 654 | 655 | Copyright (C) 656 | This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 657 | This is free software, and you are welcome to redistribute it 658 | under certain conditions; type `show c' for details. 659 | 660 | The hypothetical commands `show w' and `show c' should show the appropriate 661 | parts of the General Public License. Of course, your program's commands 662 | might be different; for a GUI interface, you would use an "about box". 663 | 664 | You should also get your employer (if you work as a programmer) or school, 665 | if any, to sign a "copyright disclaimer" for the program, if necessary. 666 | For more information on this, and how to apply and follow the GNU GPL, see 667 | . 668 | 669 | The GNU General Public License does not permit incorporating your program 670 | into proprietary programs. If your program is a subroutine library, you 671 | may consider it more useful to permit linking proprietary applications with 672 | the library. If this is what you want to do, use the GNU Lesser General 673 | Public License instead of this License. But first, please read 674 | . 675 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # AniSearch 2 | 3 | [![Discord](https://img.shields.io/discord/835960108466176041?logo=discord&logoColor=ffffff)](https://discord.gg/Bv94yQYZM8) 4 | [![Version](https://img.shields.io/github/v/tag/IchBinLeoon/anisearch-discord-bot?label=version)](https://github.com/IchBinLeoon/anisearch-discord-bot/tags) 5 | [![Issues](https://img.shields.io/github/issues/IchBinLeoon/anisearch-discord-bot)](https://github.com/IchBinLeoon/anisearch-discord-bot/issues) 6 | [![Pulls](https://img.shields.io/github/issues-pr/IchBinLeoon/anisearch-discord-bot)](https://github.com/IchBinLeoon/anisearch-discord-bot/pulls) 7 | [![License](https://img.shields.io/github/license/IchBinLeoon/anisearch-discord-bot)](https://github.com/IchBinLeoon/anisearch-discord-bot/blob/main/LICENSE) 8 | 9 | The source code of the AniSearch Bot. 10 | 11 | > [!IMPORTANT] 12 | > This branch contains the ongoing rewrite of the bot and may be incomplete or unstable. 13 | > For the currently stable and actively deployed version, please refer to the [`legacy`](https://github.com/IchBinLeoon/anisearch-discord-bot/tree/legacy) branch. 14 | 15 | ## License 16 | This project is licensed under the GNU General Public License v3.0 (GPL-v3.0). See the [LICENSE](https://github.com/IchBinLeoon/anisearch-discord-bot/blob/main/LICENSE) file for more details. 17 | -------------------------------------------------------------------------------- /build.rs: -------------------------------------------------------------------------------- 1 | use std::process::Command; 2 | 3 | use chrono::Utc; 4 | 5 | fn main() { 6 | println!( 7 | "cargo:rustc-env=GIT_COMMIT_HASH={}", 8 | get_git_commit_hash().unwrap_or_default() 9 | ); 10 | 11 | println!("cargo:rustc-env=BUILD_DATE={}", Utc::now().format("%F")); 12 | } 13 | 14 | fn get_git_commit_hash() -> Option { 15 | let output = Command::new("git") 16 | .arg("rev-parse") 17 | .arg("--short") 18 | .arg("HEAD") 19 | .output(); 20 | 21 | output 22 | .ok() 23 | .filter(|o| o.status.success()) 24 | .and_then(|o| { 25 | String::from_utf8(o.stdout) 26 | .ok() 27 | .map(|s| s.trim().to_string()) 28 | }) 29 | .filter(|o| !o.is_empty()) 30 | } 31 | -------------------------------------------------------------------------------- /entity/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "entity" 3 | version = "0.1.0" 4 | edition = "2021" 5 | publish = false 6 | 7 | [lib] 8 | name = "entity" 9 | path = "src/lib.rs" 10 | 11 | [dependencies.sea-orm] 12 | version = "1.1" 13 | -------------------------------------------------------------------------------- /entity/src/guilds.rs: -------------------------------------------------------------------------------- 1 | //! `SeaORM` Entity, @generated by sea-orm-codegen 1.1.0 2 | 3 | use sea_orm::entity::prelude::*; 4 | 5 | #[derive(Clone, Debug, PartialEq, DeriveEntityModel, Eq)] 6 | #[sea_orm(table_name = "guilds")] 7 | pub struct Model { 8 | #[sea_orm(primary_key, auto_increment = false)] 9 | pub id: i64, 10 | pub added_at: DateTime, 11 | } 12 | 13 | #[derive(Copy, Clone, Debug, EnumIter, DeriveRelation)] 14 | pub enum Relation {} 15 | 16 | impl ActiveModelBehavior for ActiveModel {} 17 | -------------------------------------------------------------------------------- /entity/src/lib.rs: -------------------------------------------------------------------------------- 1 | //! `SeaORM` Entity, @generated by sea-orm-codegen 1.1.0 2 | 3 | pub mod prelude; 4 | 5 | pub mod guilds; 6 | pub mod users; 7 | -------------------------------------------------------------------------------- /entity/src/prelude.rs: -------------------------------------------------------------------------------- 1 | //! `SeaORM` Entity, @generated by sea-orm-codegen 1.1.0 2 | 3 | pub use super::guilds::Entity as Guilds; 4 | pub use super::users::Entity as Users; 5 | -------------------------------------------------------------------------------- /entity/src/users.rs: -------------------------------------------------------------------------------- 1 | //! `SeaORM` Entity, @generated by sea-orm-codegen 1.1.0 2 | 3 | use sea_orm::entity::prelude::*; 4 | 5 | #[derive(Clone, Debug, PartialEq, DeriveEntityModel, Eq)] 6 | #[sea_orm(table_name = "users")] 7 | pub struct Model { 8 | #[sea_orm(primary_key, auto_increment = false)] 9 | pub id: i64, 10 | pub added_at: DateTime, 11 | } 12 | 13 | #[derive(Copy, Clone, Debug, EnumIter, DeriveRelation)] 14 | pub enum Relation {} 15 | 16 | impl ActiveModelBehavior for ActiveModel {} 17 | -------------------------------------------------------------------------------- /migration/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "migration" 3 | version = "0.1.0" 4 | edition = "2021" 5 | publish = false 6 | 7 | [lib] 8 | name = "migration" 9 | path = "src/lib.rs" 10 | 11 | [dependencies] 12 | async-std = { version = "1.13", features = ["attributes", "tokio1"] } 13 | 14 | [dependencies.sea-orm-migration] 15 | version = "1.1" 16 | features = ["runtime-tokio-rustls", "sqlx-postgres"] 17 | -------------------------------------------------------------------------------- /migration/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub use sea_orm_migration::prelude::*; 2 | 3 | mod m20220101_000001_initial_schema; 4 | 5 | pub struct Migrator; 6 | 7 | #[async_trait::async_trait] 8 | impl MigratorTrait for Migrator { 9 | fn migrations() -> Vec> { 10 | vec![Box::new(m20220101_000001_initial_schema::Migration)] 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /migration/src/m20220101_000001_initial_schema.rs: -------------------------------------------------------------------------------- 1 | use sea_orm_migration::prelude::*; 2 | 3 | #[derive(DeriveMigrationName)] 4 | pub struct Migration; 5 | 6 | #[async_trait::async_trait] 7 | impl MigrationTrait for Migration { 8 | async fn up(&self, manager: &SchemaManager) -> Result<(), DbErr> { 9 | manager 10 | .create_table( 11 | Table::create() 12 | .table(Guilds::Table) 13 | .col( 14 | ColumnDef::new(Guilds::Id) 15 | .big_integer() 16 | .not_null() 17 | .primary_key(), 18 | ) 19 | .col( 20 | ColumnDef::new(Guilds::AddedAt) 21 | .timestamp() 22 | .not_null() 23 | .default(Keyword::CurrentTimestamp), 24 | ) 25 | .to_owned(), 26 | ) 27 | .await?; 28 | 29 | manager 30 | .create_table( 31 | Table::create() 32 | .table(Users::Table) 33 | .col( 34 | ColumnDef::new(Users::Id) 35 | .big_integer() 36 | .not_null() 37 | .primary_key(), 38 | ) 39 | .col( 40 | ColumnDef::new(Users::AddedAt) 41 | .timestamp() 42 | .not_null() 43 | .default(Keyword::CurrentTimestamp), 44 | ) 45 | .to_owned(), 46 | ) 47 | .await?; 48 | 49 | Ok(()) 50 | } 51 | 52 | async fn down(&self, manager: &SchemaManager) -> Result<(), DbErr> { 53 | manager 54 | .drop_table(Table::drop().table(Guilds::Table).to_owned()) 55 | .await?; 56 | 57 | manager 58 | .drop_table(Table::drop().table(Users::Table).to_owned()) 59 | .await?; 60 | 61 | Ok(()) 62 | } 63 | } 64 | 65 | #[derive(DeriveIden)] 66 | enum Guilds { 67 | Table, 68 | Id, 69 | AddedAt, 70 | } 71 | 72 | #[derive(Iden)] 73 | enum Users { 74 | Table, 75 | Id, 76 | AddedAt, 77 | } 78 | -------------------------------------------------------------------------------- /migration/src/main.rs: -------------------------------------------------------------------------------- 1 | use sea_orm_migration::prelude::*; 2 | 3 | #[async_std::main] 4 | async fn main() { 5 | cli::run_cli(migration::Migrator).await; 6 | } 7 | -------------------------------------------------------------------------------- /src/commands/help/mod.rs: -------------------------------------------------------------------------------- 1 | pub mod ping; 2 | -------------------------------------------------------------------------------- /src/commands/help/ping.rs: -------------------------------------------------------------------------------- 1 | use poise::CreateReply; 2 | 3 | use crate::Context; 4 | use crate::error::Result; 5 | use crate::utils::embeds::create_default_embed; 6 | 7 | /// 🏓 Check the latency of the bot. 8 | #[poise::command( 9 | slash_command, 10 | install_context = "Guild|User", 11 | interaction_context = "Guild|BotDm|PrivateChannel" 12 | )] 13 | pub async fn ping(ctx: Context<'_>) -> Result<()> { 14 | ctx.defer().await?; 15 | 16 | let embed = create_default_embed(ctx).await.title("🏓 Pong!"); 17 | 18 | let reply = CreateReply::new().embed(embed); 19 | 20 | ctx.send(reply).await?; 21 | 22 | Ok(()) 23 | } 24 | -------------------------------------------------------------------------------- /src/commands/mod.rs: -------------------------------------------------------------------------------- 1 | pub mod help; 2 | -------------------------------------------------------------------------------- /src/config.rs: -------------------------------------------------------------------------------- 1 | use std::env::var; 2 | use std::fmt::Display; 3 | use std::str::FromStr; 4 | 5 | use anyhow::{Result, anyhow}; 6 | use poise::serenity_prelude::{GuildId, Token}; 7 | 8 | pub struct Config { 9 | pub token: Token, 10 | pub database_uri: String, 11 | pub testing_guild: Option, 12 | pub total_shards: Option, 13 | } 14 | 15 | impl Config { 16 | pub fn init() -> Result { 17 | Ok(Self { 18 | token: parse_env_var("TOKEN")?, 19 | database_uri: parse_env_var("DATABASE_URI")?, 20 | testing_guild: parse_env_var_opt("TESTING_GUILD")?, 21 | total_shards: parse_env_var_opt("TOTAL_SHARDS")?, 22 | }) 23 | } 24 | } 25 | 26 | fn parse_env_var(key: &str) -> Result 27 | where 28 | T: FromStr, 29 | ::Err: Display, 30 | { 31 | var(key) 32 | .map_err(|e| anyhow!("Environment variable `{key}` not set: {e}"))? 33 | .parse::() 34 | .map_err(|e| anyhow!("Failed to parse `{key}` environment variable: {e}")) 35 | } 36 | 37 | fn parse_env_var_opt(key: &str) -> Result> 38 | where 39 | T: FromStr, 40 | ::Err: Display, 41 | { 42 | var(key) 43 | .ok() 44 | .map(|s| { 45 | s.parse::() 46 | .map_err(|e| anyhow!("Failed to parse optional `{key}` environment variable: {e}")) 47 | }) 48 | .transpose() 49 | } 50 | -------------------------------------------------------------------------------- /src/database.rs: -------------------------------------------------------------------------------- 1 | use migration::MigratorTrait; 2 | use sea_orm::{ConnectOptions, Database, DatabaseConnection}; 3 | use tracing::Level; 4 | use tracing::log::LevelFilter; 5 | 6 | use crate::error::Result; 7 | 8 | pub async fn create_database_connection(database_uri: &str) -> Result 9 | where 10 | M: MigratorTrait, 11 | { 12 | let mut options = ConnectOptions::new(database_uri); 13 | 14 | if tracing::enabled!(Level::DEBUG) { 15 | options.sqlx_logging_level(LevelFilter::Debug); 16 | } else { 17 | options.sqlx_logging(false); 18 | } 19 | 20 | let db = Database::connect(options).await?; 21 | 22 | run_migrations::(&db).await?; 23 | 24 | Ok(db) 25 | } 26 | 27 | async fn run_migrations(db: &DatabaseConnection) -> Result<()> 28 | where 29 | M: MigratorTrait, 30 | { 31 | M::install(db).await?; 32 | 33 | M::up(db, None).await?; 34 | 35 | Ok(()) 36 | } 37 | -------------------------------------------------------------------------------- /src/error.rs: -------------------------------------------------------------------------------- 1 | use poise::serenity_prelude::Error as SerenityError; 2 | use poise::{CreateReply, FrameworkError}; 3 | use sea_orm::DbErr; 4 | use thiserror::Error; 5 | use tracing::error; 6 | 7 | use crate::Data; 8 | use crate::utils::embeds::create_error_embed; 9 | 10 | pub type Result = std::result::Result; 11 | 12 | #[derive(Error, Debug)] 13 | pub enum Error { 14 | #[error("Serenity error: {0}")] 15 | Serenity(#[source] SerenityError), 16 | 17 | #[error("Database error: {0}")] 18 | Database(#[source] DbErr), 19 | } 20 | 21 | impl From for Error { 22 | fn from(e: SerenityError) -> Self { 23 | Self::Serenity(e) 24 | } 25 | } 26 | 27 | impl From for Error { 28 | fn from(e: DbErr) -> Self { 29 | Self::Database(e) 30 | } 31 | } 32 | 33 | pub async fn on_error(error: FrameworkError<'_, Data, Error>) -> Result<()> { 34 | if let FrameworkError::Command { error, .. } = &error { 35 | error!("An error occurred while executing a command: {error}"); 36 | } else { 37 | error!("An error occurred: {error}"); 38 | } 39 | 40 | if let Some(ctx) = error.ctx() { 41 | let embed = create_error_embed(ctx) 42 | .await 43 | .title("💢 Command Error") 44 | .description("An unknown error occurred. Please try again in a moment."); 45 | 46 | let reply = CreateReply::new().embed(embed); 47 | 48 | ctx.send(reply).await?; 49 | } 50 | 51 | Ok(()) 52 | } 53 | -------------------------------------------------------------------------------- /src/events.rs: -------------------------------------------------------------------------------- 1 | use poise::async_trait; 2 | use poise::serenity_prelude::{ 3 | CacheHttp, Command, Context, CreateCommand, EventHandler, FullEvent, GuildId, 4 | }; 5 | use tracing::{error, info}; 6 | 7 | pub struct Handler { 8 | pub create_commands: Vec>, 9 | pub testing_guild: Option, 10 | } 11 | 12 | #[async_trait] 13 | impl EventHandler for Handler { 14 | async fn dispatch(&self, ctx: &Context, event: &FullEvent) { 15 | match event { 16 | FullEvent::Ready { data_about_bot, .. } => { 17 | if let Some(testing_guild) = self.testing_guild { 18 | if let Err(e) = testing_guild 19 | .set_commands(ctx.http(), &self.create_commands) 20 | .await 21 | { 22 | error!("Failed to set testing guild commands: {e}"); 23 | } 24 | } else if let Err(e) = 25 | Command::set_global_commands(ctx.http(), &self.create_commands).await 26 | { 27 | error!("Failed to set global commands: {e}"); 28 | } 29 | 30 | if let Some(shard) = data_about_bot.shard { 31 | info!( 32 | "{} is connected on shard {}", 33 | data_about_bot.user.name, shard.id 34 | ); 35 | } else { 36 | info!("{} is connected", data_about_bot.user.name); 37 | } 38 | } 39 | FullEvent::GuildCreate { guild, is_new, .. } => { 40 | if matches!(is_new, Some(true)) { 41 | info!("Joined guild: {}", guild.id); 42 | } 43 | } 44 | FullEvent::GuildDelete { incomplete, .. } => { 45 | info!("Left guild: {}", incomplete.id); 46 | } 47 | _ => {} 48 | } 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /src/main.rs: -------------------------------------------------------------------------------- 1 | use std::process::exit; 2 | use std::sync::Arc; 3 | 4 | use anyhow::Result; 5 | use migration::Migrator; 6 | use poise::builtins::create_application_commands; 7 | use poise::serenity_prelude::{ClientBuilder, GatewayIntents}; 8 | use poise::{Framework, FrameworkOptions}; 9 | use sea_orm::DatabaseConnection; 10 | use tracing::{error, info}; 11 | use tracing_subscriber::fmt; 12 | 13 | use crate::config::Config; 14 | use crate::database::create_database_connection; 15 | use crate::error::{Error, on_error}; 16 | use crate::events::Handler; 17 | use crate::utils::version; 18 | 19 | mod commands; 20 | mod config; 21 | mod database; 22 | mod error; 23 | mod events; 24 | mod utils; 25 | 26 | pub type Context<'a> = poise::Context<'a, Data, Error>; 27 | 28 | pub struct Data { 29 | pub database: Arc, 30 | } 31 | 32 | #[tokio::main] 33 | async fn main() { 34 | fmt().init(); 35 | 36 | if let Err(e) = init().await { 37 | error!("{}", e); 38 | exit(1); 39 | } 40 | } 41 | 42 | async fn init() -> Result<()> { 43 | info!("Starting AniSearch Bot v{}", version()); 44 | 45 | let config = Config::init()?; 46 | 47 | let intents = GatewayIntents::default(); 48 | 49 | let options = FrameworkOptions { 50 | commands: vec![commands::help::ping::ping()], 51 | on_error: |error| { 52 | Box::pin(async move { 53 | if let Err(e) = on_error(error).await { 54 | error!("An error occurred while handling an error: {e}"); 55 | } 56 | }) 57 | }, 58 | ..Default::default() 59 | }; 60 | 61 | let handler = Handler { 62 | create_commands: create_application_commands(&options.commands), 63 | testing_guild: config.testing_guild, 64 | }; 65 | 66 | let framework = Framework::new(options); 67 | 68 | let database = Arc::new(create_database_connection::(&config.database_uri).await?); 69 | 70 | let data = Arc::new(Data { database }); 71 | 72 | let mut client = ClientBuilder::new(config.token, intents) 73 | .data(data) 74 | .framework(framework) 75 | .event_handler(handler) 76 | .await?; 77 | 78 | if let Some(total_shards) = config.total_shards { 79 | Ok(client.start_shards(total_shards).await?) 80 | } else { 81 | Ok(client.start_autosharded().await?) 82 | } 83 | } 84 | -------------------------------------------------------------------------------- /src/utils/embeds.rs: -------------------------------------------------------------------------------- 1 | use chrono::Utc; 2 | use poise::serenity_prelude::{Color, CreateEmbed, CreateEmbedFooter}; 3 | 4 | use crate::Context; 5 | 6 | pub const EMBED_DEFAULT_COLOUR: Color = Color::from_rgb(65, 105, 225); 7 | pub const EMBED_ERROR_COLOUR: Color = Color::from_rgb(255, 0, 0); 8 | 9 | pub async fn create_default_embed(ctx: Context<'_>) -> CreateEmbed { 10 | let (display_name, icon_url) = match ctx.author_member().await { 11 | Some(author) => (author.display_name().to_string(), author.face()), 12 | None => (ctx.author().display_name().to_string(), ctx.author().face()), 13 | }; 14 | 15 | let footer = CreateEmbedFooter::new(display_name).icon_url(icon_url); 16 | 17 | CreateEmbed::new() 18 | .color(EMBED_DEFAULT_COLOUR) 19 | .timestamp(Utc::now()) 20 | .footer(footer) 21 | } 22 | 23 | pub async fn create_error_embed(ctx: Context<'_>) -> CreateEmbed { 24 | create_default_embed(ctx).await.color(EMBED_ERROR_COLOUR) 25 | } 26 | -------------------------------------------------------------------------------- /src/utils/mod.rs: -------------------------------------------------------------------------------- 1 | pub mod embeds; 2 | 3 | pub fn version() -> String { 4 | let cargo_pkg_version = env!("CARGO_PKG_VERSION"); 5 | let git_commit_hash = env!("GIT_COMMIT_HASH"); 6 | let build_date = env!("BUILD_DATE"); 7 | 8 | if git_commit_hash.is_empty() { 9 | cargo_pkg_version.to_string() 10 | } else { 11 | format!("{} ({} {})", cargo_pkg_version, git_commit_hash, build_date) 12 | } 13 | } 14 | --------------------------------------------------------------------------------