Mirror of https://git.olaren.dev/Olaren/moot-graph

what am i doing

Olaren cec95453 1f1ce3bf

Changed files
+774 -2
src
+748
Cargo.lock
··· 3 3 version = 4 4 4 5 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.1" 17 + source = "registry+https://github.com/rust-lang/crates.io-index" 18 + checksum = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa" 19 + 20 + [[package]] 21 + name = "atomic-waker" 22 + version = "1.1.2" 23 + source = "registry+https://github.com/rust-lang/crates.io-index" 24 + checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" 25 + 26 + [[package]] 27 + name = "autocfg" 28 + version = "1.5.0" 29 + source = "registry+https://github.com/rust-lang/crates.io-index" 30 + checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8" 31 + 32 + [[package]] 33 + name = "axum" 34 + version = "0.8.4" 35 + source = "registry+https://github.com/rust-lang/crates.io-index" 36 + checksum = "021e862c184ae977658b36c4500f7feac3221ca5da43e3f25bd04ab6c79a29b5" 37 + dependencies = [ 38 + "axum-core", 39 + "bytes", 40 + "form_urlencoded", 41 + "futures-util", 42 + "http", 43 + "http-body", 44 + "http-body-util", 45 + "hyper", 46 + "hyper-util", 47 + "itoa", 48 + "matchit", 49 + "memchr", 50 + "mime", 51 + "percent-encoding", 52 + "pin-project-lite", 53 + "rustversion", 54 + "serde", 55 + "serde_json", 56 + "serde_path_to_error", 57 + "serde_urlencoded", 58 + "sync_wrapper", 59 + "tokio", 60 + "tower", 61 + "tower-layer", 62 + "tower-service", 63 + "tracing", 64 + ] 65 + 66 + [[package]] 67 + name = "axum-core" 68 + version = "0.5.2" 69 + source = "registry+https://github.com/rust-lang/crates.io-index" 70 + checksum = "68464cd0412f486726fb3373129ef5d2993f90c34bc2bc1c1e9943b2f4fc7ca6" 71 + dependencies = [ 72 + "bytes", 73 + "futures-core", 74 + "http", 75 + "http-body", 76 + "http-body-util", 77 + "mime", 78 + "pin-project-lite", 79 + "rustversion", 80 + "sync_wrapper", 81 + "tower-layer", 82 + "tower-service", 83 + "tracing", 84 + ] 85 + 86 + [[package]] 87 + name = "backtrace" 88 + version = "0.3.75" 89 + source = "registry+https://github.com/rust-lang/crates.io-index" 90 + checksum = "6806a6321ec58106fea15becdad98371e28d92ccbc7c8f1b3b6dd724fe8f1002" 91 + dependencies = [ 92 + "addr2line", 93 + "cfg-if", 94 + "libc", 95 + "miniz_oxide", 96 + "object", 97 + "rustc-demangle", 98 + "windows-targets", 99 + ] 100 + 101 + [[package]] 102 + name = "bitflags" 103 + version = "2.9.4" 104 + source = "registry+https://github.com/rust-lang/crates.io-index" 105 + checksum = "2261d10cca569e4643e526d8dc2e62e433cc8aba21ab764233731f8d369bf394" 106 + 107 + [[package]] 108 + name = "bytes" 109 + version = "1.10.1" 110 + source = "registry+https://github.com/rust-lang/crates.io-index" 111 + checksum = "d71b6127be86fdcfddb610f7182ac57211d4b18a3e9c82eb2d17662f2227ad6a" 112 + 113 + [[package]] 114 + name = "cfg-if" 115 + version = "1.0.3" 116 + source = "registry+https://github.com/rust-lang/crates.io-index" 117 + checksum = "2fd1289c04a9ea8cb22300a459a72a385d7c73d3259e2ed7dcb2af674838cfa9" 118 + 119 + [[package]] 120 + name = "fnv" 121 + version = "1.0.7" 122 + source = "registry+https://github.com/rust-lang/crates.io-index" 123 + checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" 124 + 125 + [[package]] 126 + name = "form_urlencoded" 127 + version = "1.2.2" 128 + source = "registry+https://github.com/rust-lang/crates.io-index" 129 + checksum = "cb4cb245038516f5f85277875cdaa4f7d2c9a0fa0468de06ed190163b1581fcf" 130 + dependencies = [ 131 + "percent-encoding", 132 + ] 133 + 134 + [[package]] 135 + name = "futures-channel" 136 + version = "0.3.31" 137 + source = "registry+https://github.com/rust-lang/crates.io-index" 138 + checksum = "2dff15bf788c671c1934e366d07e30c1814a8ef514e1af724a602e8a2fbe1b10" 139 + dependencies = [ 140 + "futures-core", 141 + ] 142 + 143 + [[package]] 144 + name = "futures-core" 145 + version = "0.3.31" 146 + source = "registry+https://github.com/rust-lang/crates.io-index" 147 + checksum = "05f29059c0c2090612e8d742178b0580d2dc940c837851ad723096f87af6663e" 148 + 149 + [[package]] 150 + name = "futures-task" 151 + version = "0.3.31" 152 + source = "registry+https://github.com/rust-lang/crates.io-index" 153 + checksum = "f90f7dce0722e95104fcb095585910c0977252f286e354b5e3bd38902cd99988" 154 + 155 + [[package]] 156 + name = "futures-util" 157 + version = "0.3.31" 158 + source = "registry+https://github.com/rust-lang/crates.io-index" 159 + checksum = "9fa08315bb612088cc391249efdc3bc77536f16c91f6cf495e6fbe85b20a4a81" 160 + dependencies = [ 161 + "futures-core", 162 + "futures-task", 163 + "pin-project-lite", 164 + "pin-utils", 165 + ] 166 + 167 + [[package]] 168 + name = "gimli" 169 + version = "0.31.1" 170 + source = "registry+https://github.com/rust-lang/crates.io-index" 171 + checksum = "07e28edb80900c19c28f1072f2e8aeca7fa06b23cd4169cefe1af5aa3260783f" 172 + 173 + [[package]] 174 + name = "http" 175 + version = "1.3.1" 176 + source = "registry+https://github.com/rust-lang/crates.io-index" 177 + checksum = "f4a85d31aea989eead29a3aaf9e1115a180df8282431156e533de47660892565" 178 + dependencies = [ 179 + "bytes", 180 + "fnv", 181 + "itoa", 182 + ] 183 + 184 + [[package]] 185 + name = "http-body" 186 + version = "1.0.1" 187 + source = "registry+https://github.com/rust-lang/crates.io-index" 188 + checksum = "1efedce1fb8e6913f23e0c92de8e62cd5b772a67e7b3946df930a62566c93184" 189 + dependencies = [ 190 + "bytes", 191 + "http", 192 + ] 193 + 194 + [[package]] 195 + name = "http-body-util" 196 + version = "0.1.3" 197 + source = "registry+https://github.com/rust-lang/crates.io-index" 198 + checksum = "b021d93e26becf5dc7e1b75b1bed1fd93124b374ceb73f43d4d4eafec896a64a" 199 + dependencies = [ 200 + "bytes", 201 + "futures-core", 202 + "http", 203 + "http-body", 204 + "pin-project-lite", 205 + ] 206 + 207 + [[package]] 208 + name = "httparse" 209 + version = "1.10.1" 210 + source = "registry+https://github.com/rust-lang/crates.io-index" 211 + checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87" 212 + 213 + [[package]] 214 + name = "httpdate" 215 + version = "1.0.3" 216 + source = "registry+https://github.com/rust-lang/crates.io-index" 217 + checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9" 218 + 219 + [[package]] 220 + name = "hyper" 221 + version = "1.7.0" 222 + source = "registry+https://github.com/rust-lang/crates.io-index" 223 + checksum = "eb3aa54a13a0dfe7fbe3a59e0c76093041720fdc77b110cc0fc260fafb4dc51e" 224 + dependencies = [ 225 + "atomic-waker", 226 + "bytes", 227 + "futures-channel", 228 + "futures-core", 229 + "http", 230 + "http-body", 231 + "httparse", 232 + "httpdate", 233 + "itoa", 234 + "pin-project-lite", 235 + "pin-utils", 236 + "smallvec", 237 + "tokio", 238 + ] 239 + 240 + [[package]] 241 + name = "hyper-util" 242 + version = "0.1.16" 243 + source = "registry+https://github.com/rust-lang/crates.io-index" 244 + checksum = "8d9b05277c7e8da2c93a568989bb6207bef0112e8d17df7a6eda4a3cf143bc5e" 245 + dependencies = [ 246 + "bytes", 247 + "futures-core", 248 + "http", 249 + "http-body", 250 + "hyper", 251 + "pin-project-lite", 252 + "tokio", 253 + "tower-service", 254 + ] 255 + 256 + [[package]] 257 + name = "io-uring" 258 + version = "0.7.10" 259 + source = "registry+https://github.com/rust-lang/crates.io-index" 260 + checksum = "046fa2d4d00aea763528b4950358d0ead425372445dc8ff86312b3c69ff7727b" 261 + dependencies = [ 262 + "bitflags", 263 + "cfg-if", 264 + "libc", 265 + ] 266 + 267 + [[package]] 268 + name = "itoa" 269 + version = "1.0.15" 270 + source = "registry+https://github.com/rust-lang/crates.io-index" 271 + checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c" 272 + 273 + [[package]] 274 + name = "libc" 275 + version = "0.2.175" 276 + source = "registry+https://github.com/rust-lang/crates.io-index" 277 + checksum = "6a82ae493e598baaea5209805c49bbf2ea7de956d50d7da0da1164f9c6d28543" 278 + 279 + [[package]] 280 + name = "lock_api" 281 + version = "0.4.13" 282 + source = "registry+https://github.com/rust-lang/crates.io-index" 283 + checksum = "96936507f153605bddfcda068dd804796c84324ed2510809e5b2a624c81da765" 284 + dependencies = [ 285 + "autocfg", 286 + "scopeguard", 287 + ] 288 + 289 + [[package]] 290 + name = "log" 291 + version = "0.4.28" 292 + source = "registry+https://github.com/rust-lang/crates.io-index" 293 + checksum = "34080505efa8e45a4b816c349525ebe327ceaa8559756f0356cba97ef3bf7432" 294 + 295 + [[package]] 296 + name = "matchit" 297 + version = "0.8.4" 298 + source = "registry+https://github.com/rust-lang/crates.io-index" 299 + checksum = "47e1ffaa40ddd1f3ed91f717a33c8c0ee23fff369e3aa8772b9605cc1d22f4c3" 300 + 301 + [[package]] 302 + name = "maud" 303 + version = "0.27.0" 304 + source = "registry+https://github.com/rust-lang/crates.io-index" 305 + checksum = "8156733e27020ea5c684db5beac5d1d611e1272ab17901a49466294b84fc217e" 306 + dependencies = [ 307 + "axum-core", 308 + "http", 309 + "itoa", 310 + "maud_macros", 311 + ] 312 + 313 + [[package]] 314 + name = "maud_macros" 315 + version = "0.27.0" 316 + source = "registry+https://github.com/rust-lang/crates.io-index" 317 + checksum = "7261b00f3952f617899bc012e3dbd56e4f0110a038175929fa5d18e5a19913ca" 318 + dependencies = [ 319 + "proc-macro2", 320 + "proc-macro2-diagnostics", 321 + "quote", 322 + "syn", 323 + ] 324 + 325 + [[package]] 326 + name = "memchr" 327 + version = "2.7.5" 328 + source = "registry+https://github.com/rust-lang/crates.io-index" 329 + checksum = "32a282da65faaf38286cf3be983213fcf1d2e2a58700e808f83f4ea9a4804bc0" 330 + 331 + [[package]] 332 + name = "mime" 333 + version = "0.3.17" 334 + source = "registry+https://github.com/rust-lang/crates.io-index" 335 + checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a" 336 + 337 + [[package]] 338 + name = "miniz_oxide" 339 + version = "0.8.9" 340 + source = "registry+https://github.com/rust-lang/crates.io-index" 341 + checksum = "1fa76a2c86f704bdb222d66965fb3d63269ce38518b83cb0575fca855ebb6316" 342 + dependencies = [ 343 + "adler2", 344 + ] 345 + 346 + [[package]] 347 + name = "mio" 348 + version = "1.0.4" 349 + source = "registry+https://github.com/rust-lang/crates.io-index" 350 + checksum = "78bed444cc8a2160f01cbcf811ef18cac863ad68ae8ca62092e8db51d51c761c" 351 + dependencies = [ 352 + "libc", 353 + "wasi", 354 + "windows-sys", 355 + ] 356 + 357 + [[package]] 358 + name = "object" 359 + version = "0.36.7" 360 + source = "registry+https://github.com/rust-lang/crates.io-index" 361 + checksum = "62948e14d923ea95ea2c7c86c71013138b66525b86bdc08d2dcc262bdb497b87" 362 + dependencies = [ 363 + "memchr", 364 + ] 365 + 366 + [[package]] 367 + name = "once_cell" 368 + version = "1.21.3" 369 + source = "registry+https://github.com/rust-lang/crates.io-index" 370 + checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d" 371 + 372 + [[package]] 373 + name = "parking_lot" 374 + version = "0.12.4" 375 + source = "registry+https://github.com/rust-lang/crates.io-index" 376 + checksum = "70d58bf43669b5795d1576d0641cfb6fbb2057bf629506267a92807158584a13" 377 + dependencies = [ 378 + "lock_api", 379 + "parking_lot_core", 380 + ] 381 + 382 + [[package]] 383 + name = "parking_lot_core" 384 + version = "0.9.11" 385 + source = "registry+https://github.com/rust-lang/crates.io-index" 386 + checksum = "bc838d2a56b5b1a6c25f55575dfc605fabb63bb2365f6c2353ef9159aa69e4a5" 387 + dependencies = [ 388 + "cfg-if", 389 + "libc", 390 + "redox_syscall", 391 + "smallvec", 392 + "windows-targets", 393 + ] 394 + 395 + [[package]] 396 + name = "percent-encoding" 397 + version = "2.3.2" 398 + source = "registry+https://github.com/rust-lang/crates.io-index" 399 + checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220" 400 + 401 + [[package]] 402 + name = "pin-project-lite" 403 + version = "0.2.16" 404 + source = "registry+https://github.com/rust-lang/crates.io-index" 405 + checksum = "3b3cff922bd51709b605d9ead9aa71031d81447142d828eb4a6eba76fe619f9b" 406 + 407 + [[package]] 408 + name = "pin-utils" 409 + version = "0.1.0" 410 + source = "registry+https://github.com/rust-lang/crates.io-index" 411 + checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" 412 + 413 + [[package]] 414 + name = "proc-macro2" 415 + version = "1.0.101" 416 + source = "registry+https://github.com/rust-lang/crates.io-index" 417 + checksum = "89ae43fd86e4158d6db51ad8e2b80f313af9cc74f5c0e03ccb87de09998732de" 418 + dependencies = [ 419 + "unicode-ident", 420 + ] 421 + 422 + [[package]] 423 + name = "proc-macro2-diagnostics" 424 + version = "0.10.1" 425 + source = "registry+https://github.com/rust-lang/crates.io-index" 426 + checksum = "af066a9c399a26e020ada66a034357a868728e72cd426f3adcd35f80d88d88c8" 427 + dependencies = [ 428 + "proc-macro2", 429 + "quote", 430 + "syn", 431 + "version_check", 432 + ] 433 + 434 + [[package]] 435 + name = "quote" 436 + version = "1.0.40" 437 + source = "registry+https://github.com/rust-lang/crates.io-index" 438 + checksum = "1885c039570dc00dcb4ff087a89e185fd56bae234ddc7f056a945bf36467248d" 439 + dependencies = [ 440 + "proc-macro2", 441 + ] 442 + 443 + [[package]] 444 + name = "redox_syscall" 445 + version = "0.5.17" 446 + source = "registry+https://github.com/rust-lang/crates.io-index" 447 + checksum = "5407465600fb0548f1442edf71dd20683c6ed326200ace4b1ef0763521bb3b77" 448 + dependencies = [ 449 + "bitflags", 450 + ] 451 + 452 + [[package]] 453 + name = "rustc-demangle" 454 + version = "0.1.26" 455 + source = "registry+https://github.com/rust-lang/crates.io-index" 456 + checksum = "56f7d92ca342cea22a06f2121d944b4fd82af56988c270852495420f961d4ace" 457 + 458 + [[package]] 459 + name = "rustversion" 460 + version = "1.0.22" 461 + source = "registry+https://github.com/rust-lang/crates.io-index" 462 + checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d" 463 + 464 + [[package]] 465 + name = "ryu" 466 + version = "1.0.20" 467 + source = "registry+https://github.com/rust-lang/crates.io-index" 468 + checksum = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f" 469 + 470 + [[package]] 471 + name = "scopeguard" 472 + version = "1.2.0" 473 + source = "registry+https://github.com/rust-lang/crates.io-index" 474 + checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" 475 + 476 + [[package]] 477 + name = "serde" 478 + version = "1.0.219" 479 + source = "registry+https://github.com/rust-lang/crates.io-index" 480 + checksum = "5f0e2c6ed6606019b4e29e69dbaba95b11854410e5347d525002456dbbb786b6" 481 + dependencies = [ 482 + "serde_derive", 483 + ] 484 + 485 + [[package]] 486 + name = "serde_derive" 487 + version = "1.0.219" 488 + source = "registry+https://github.com/rust-lang/crates.io-index" 489 + checksum = "5b0276cf7f2c73365f7157c8123c21cd9a50fbbd844757af28ca1f5925fc2a00" 490 + dependencies = [ 491 + "proc-macro2", 492 + "quote", 493 + "syn", 494 + ] 495 + 496 + [[package]] 497 + name = "serde_json" 498 + version = "1.0.143" 499 + source = "registry+https://github.com/rust-lang/crates.io-index" 500 + checksum = "d401abef1d108fbd9cbaebc3e46611f4b1021f714a0597a71f41ee463f5f4a5a" 501 + dependencies = [ 502 + "itoa", 503 + "memchr", 504 + "ryu", 505 + "serde", 506 + ] 507 + 508 + [[package]] 509 + name = "serde_path_to_error" 510 + version = "0.1.17" 511 + source = "registry+https://github.com/rust-lang/crates.io-index" 512 + checksum = "59fab13f937fa393d08645bf3a84bdfe86e296747b506ada67bb15f10f218b2a" 513 + dependencies = [ 514 + "itoa", 515 + "serde", 516 + ] 517 + 518 + [[package]] 519 + name = "serde_urlencoded" 520 + version = "0.7.1" 521 + source = "registry+https://github.com/rust-lang/crates.io-index" 522 + checksum = "d3491c14715ca2294c4d6a88f15e84739788c1d030eed8c110436aafdaa2f3fd" 523 + dependencies = [ 524 + "form_urlencoded", 525 + "itoa", 526 + "ryu", 527 + "serde", 528 + ] 529 + 530 + [[package]] 6 531 name = "shitsky" 7 532 version = "0.1.0" 533 + dependencies = [ 534 + "axum", 535 + "maud", 536 + "tokio", 537 + ] 538 + 539 + [[package]] 540 + name = "signal-hook-registry" 541 + version = "1.4.6" 542 + source = "registry+https://github.com/rust-lang/crates.io-index" 543 + checksum = "b2a4719bff48cee6b39d12c020eeb490953ad2443b7055bd0b21fca26bd8c28b" 544 + dependencies = [ 545 + "libc", 546 + ] 547 + 548 + [[package]] 549 + name = "slab" 550 + version = "0.4.11" 551 + source = "registry+https://github.com/rust-lang/crates.io-index" 552 + checksum = "7a2ae44ef20feb57a68b23d846850f861394c2e02dc425a50098ae8c90267589" 553 + 554 + [[package]] 555 + name = "smallvec" 556 + version = "1.15.1" 557 + source = "registry+https://github.com/rust-lang/crates.io-index" 558 + checksum = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03" 559 + 560 + [[package]] 561 + name = "socket2" 562 + version = "0.6.0" 563 + source = "registry+https://github.com/rust-lang/crates.io-index" 564 + checksum = "233504af464074f9d066d7b5416c5f9b894a5862a6506e306f7b816cdd6f1807" 565 + dependencies = [ 566 + "libc", 567 + "windows-sys", 568 + ] 569 + 570 + [[package]] 571 + name = "syn" 572 + version = "2.0.106" 573 + source = "registry+https://github.com/rust-lang/crates.io-index" 574 + checksum = "ede7c438028d4436d71104916910f5bb611972c5cfd7f89b8300a8186e6fada6" 575 + dependencies = [ 576 + "proc-macro2", 577 + "quote", 578 + "unicode-ident", 579 + ] 580 + 581 + [[package]] 582 + name = "sync_wrapper" 583 + version = "1.0.2" 584 + source = "registry+https://github.com/rust-lang/crates.io-index" 585 + checksum = "0bf256ce5efdfa370213c1dabab5935a12e49f2c58d15e9eac2870d3b4f27263" 586 + 587 + [[package]] 588 + name = "tokio" 589 + version = "1.47.1" 590 + source = "registry+https://github.com/rust-lang/crates.io-index" 591 + checksum = "89e49afdadebb872d3145a5638b59eb0691ea23e46ca484037cfab3b76b95038" 592 + dependencies = [ 593 + "backtrace", 594 + "bytes", 595 + "io-uring", 596 + "libc", 597 + "mio", 598 + "parking_lot", 599 + "pin-project-lite", 600 + "signal-hook-registry", 601 + "slab", 602 + "socket2", 603 + "tokio-macros", 604 + "windows-sys", 605 + ] 606 + 607 + [[package]] 608 + name = "tokio-macros" 609 + version = "2.5.0" 610 + source = "registry+https://github.com/rust-lang/crates.io-index" 611 + checksum = "6e06d43f1345a3bcd39f6a56dbb7dcab2ba47e68e8ac134855e7e2bdbaf8cab8" 612 + dependencies = [ 613 + "proc-macro2", 614 + "quote", 615 + "syn", 616 + ] 617 + 618 + [[package]] 619 + name = "tower" 620 + version = "0.5.2" 621 + source = "registry+https://github.com/rust-lang/crates.io-index" 622 + checksum = "d039ad9159c98b70ecfd540b2573b97f7f52c3e8d9f8ad57a24b916a536975f9" 623 + dependencies = [ 624 + "futures-core", 625 + "futures-util", 626 + "pin-project-lite", 627 + "sync_wrapper", 628 + "tokio", 629 + "tower-layer", 630 + "tower-service", 631 + "tracing", 632 + ] 633 + 634 + [[package]] 635 + name = "tower-layer" 636 + version = "0.3.3" 637 + source = "registry+https://github.com/rust-lang/crates.io-index" 638 + checksum = "121c2a6cda46980bb0fcd1647ffaf6cd3fc79a013de288782836f6df9c48780e" 639 + 640 + [[package]] 641 + name = "tower-service" 642 + version = "0.3.3" 643 + source = "registry+https://github.com/rust-lang/crates.io-index" 644 + checksum = "8df9b6e13f2d32c91b9bd719c00d1958837bc7dec474d94952798cc8e69eeec3" 645 + 646 + [[package]] 647 + name = "tracing" 648 + version = "0.1.41" 649 + source = "registry+https://github.com/rust-lang/crates.io-index" 650 + checksum = "784e0ac535deb450455cbfa28a6f0df145ea1bb7ae51b821cf5e7927fdcfbdd0" 651 + dependencies = [ 652 + "log", 653 + "pin-project-lite", 654 + "tracing-core", 655 + ] 656 + 657 + [[package]] 658 + name = "tracing-core" 659 + version = "0.1.34" 660 + source = "registry+https://github.com/rust-lang/crates.io-index" 661 + checksum = "b9d12581f227e93f094d3af2ae690a574abb8a2b9b7a96e7cfe9647b2b617678" 662 + dependencies = [ 663 + "once_cell", 664 + ] 665 + 666 + [[package]] 667 + name = "unicode-ident" 668 + version = "1.0.19" 669 + source = "registry+https://github.com/rust-lang/crates.io-index" 670 + checksum = "f63a545481291138910575129486daeaf8ac54aee4387fe7906919f7830c7d9d" 671 + 672 + [[package]] 673 + name = "version_check" 674 + version = "0.9.5" 675 + source = "registry+https://github.com/rust-lang/crates.io-index" 676 + checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" 677 + 678 + [[package]] 679 + name = "wasi" 680 + version = "0.11.1+wasi-snapshot-preview1" 681 + source = "registry+https://github.com/rust-lang/crates.io-index" 682 + checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b" 683 + 684 + [[package]] 685 + name = "windows-sys" 686 + version = "0.59.0" 687 + source = "registry+https://github.com/rust-lang/crates.io-index" 688 + checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b" 689 + dependencies = [ 690 + "windows-targets", 691 + ] 692 + 693 + [[package]] 694 + name = "windows-targets" 695 + version = "0.52.6" 696 + source = "registry+https://github.com/rust-lang/crates.io-index" 697 + checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973" 698 + dependencies = [ 699 + "windows_aarch64_gnullvm", 700 + "windows_aarch64_msvc", 701 + "windows_i686_gnu", 702 + "windows_i686_gnullvm", 703 + "windows_i686_msvc", 704 + "windows_x86_64_gnu", 705 + "windows_x86_64_gnullvm", 706 + "windows_x86_64_msvc", 707 + ] 708 + 709 + [[package]] 710 + name = "windows_aarch64_gnullvm" 711 + version = "0.52.6" 712 + source = "registry+https://github.com/rust-lang/crates.io-index" 713 + checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3" 714 + 715 + [[package]] 716 + name = "windows_aarch64_msvc" 717 + version = "0.52.6" 718 + source = "registry+https://github.com/rust-lang/crates.io-index" 719 + checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" 720 + 721 + [[package]] 722 + name = "windows_i686_gnu" 723 + version = "0.52.6" 724 + source = "registry+https://github.com/rust-lang/crates.io-index" 725 + checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b" 726 + 727 + [[package]] 728 + name = "windows_i686_gnullvm" 729 + version = "0.52.6" 730 + source = "registry+https://github.com/rust-lang/crates.io-index" 731 + checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66" 732 + 733 + [[package]] 734 + name = "windows_i686_msvc" 735 + version = "0.52.6" 736 + source = "registry+https://github.com/rust-lang/crates.io-index" 737 + checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" 738 + 739 + [[package]] 740 + name = "windows_x86_64_gnu" 741 + version = "0.52.6" 742 + source = "registry+https://github.com/rust-lang/crates.io-index" 743 + checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" 744 + 745 + [[package]] 746 + name = "windows_x86_64_gnullvm" 747 + version = "0.52.6" 748 + source = "registry+https://github.com/rust-lang/crates.io-index" 749 + checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" 750 + 751 + [[package]] 752 + name = "windows_x86_64_msvc" 753 + version = "0.52.6" 754 + source = "registry+https://github.com/rust-lang/crates.io-index" 755 + checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
+3
Cargo.toml
··· 4 4 edition = "2024" 5 5 6 6 [dependencies] 7 + axum = "0.8" 8 + maud = { version = "0.27", features = ["axum"] } 9 + tokio = { version = "1.0", features = ["full"] }
+23 -2
src/main.rs
··· 1 - fn main() { 2 - println!("Hello, world!"); 1 + use axum::{Router, routing::get}; 2 + use maud::{DOCTYPE, PreEscaped, html}; 3 + use tokio::net::TcpListener; 4 + 5 + #[tokio::main] 6 + async fn main() { 7 + let app = Router::new().route("/", get(hello_world)); 8 + 9 + let listener = TcpListener::bind("0.0.0.0:6969").await.unwrap(); 10 + axum::serve(listener, app).await.unwrap(); 11 + } 12 + 13 + async fn hello_world() -> PreEscaped<String> { 14 + html! { 15 + (DOCTYPE) 16 + head { 17 + meta lang="your mom"; 18 + title { "ShitSky" } 19 + } 20 + body { 21 + p { "Hello from shitsky" } 22 + } 23 + } 3 24 }