My personal site cherry.computer
htmx tailwind axum askama

build: bump Rust dependencies to latest versions

cherry.computer e0298e3d b47bc7c2

verified
+303 -195
+296 -175
server/Cargo.lock
··· 40 40 41 41 [[package]] 42 42 name = "async-compression" 43 - version = "0.3.15" 43 + version = "0.4.18" 44 44 source = "registry+https://github.com/rust-lang/crates.io-index" 45 - checksum = "942c7cd7ae39e91bde4820d74132e9862e62c2f386c3aa90ccf55949f5bad63a" 45 + checksum = "df895a515f70646414f4b45c0b79082783b80552b373a68283012928df56f522" 46 46 dependencies = [ 47 47 "brotli", 48 48 "flate2", ··· 50 50 "memchr", 51 51 "pin-project-lite", 52 52 "tokio", 53 + "zstd", 54 + "zstd-safe", 53 55 ] 54 56 55 57 [[package]] 56 - name = "async-trait" 57 - version = "0.1.85" 58 + name = "atomic-waker" 59 + version = "1.1.2" 58 60 source = "registry+https://github.com/rust-lang/crates.io-index" 59 - checksum = "3f934833b4b7233644e5848f235df3f57ed8c80f1528a26c3dfa13d2147fa056" 60 - dependencies = [ 61 - "proc-macro2", 62 - "quote", 63 - "syn", 64 - ] 61 + checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" 65 62 66 63 [[package]] 67 64 name = "autocfg" ··· 71 68 72 69 [[package]] 73 70 name = "axum" 74 - version = "0.5.17" 71 + version = "0.8.1" 75 72 source = "registry+https://github.com/rust-lang/crates.io-index" 76 - checksum = "acee9fd5073ab6b045a275b3e709c163dd36c90685219cb21804a147b58dba43" 73 + checksum = "6d6fd624c75e18b3b4c6b9caf42b1afe24437daaee904069137d8bab077be8b8" 77 74 dependencies = [ 78 - "async-trait", 79 75 "axum-core", 80 - "bitflags 1.3.2", 81 76 "bytes", 77 + "form_urlencoded", 82 78 "futures-util", 83 79 "http", 84 80 "http-body", 81 + "http-body-util", 85 82 "hyper", 83 + "hyper-util", 86 84 "itoa", 87 85 "matchit", 88 86 "memchr", 89 87 "mime", 90 88 "percent-encoding", 91 89 "pin-project-lite", 90 + "rustversion", 92 91 "serde", 93 92 "serde_json", 93 + "serde_path_to_error", 94 94 "serde_urlencoded", 95 95 "sync_wrapper", 96 96 "tokio", 97 97 "tower", 98 - "tower-http", 99 98 "tower-layer", 100 99 "tower-service", 100 + "tracing", 101 101 ] 102 102 103 103 [[package]] 104 104 name = "axum-core" 105 - version = "0.2.9" 105 + version = "0.5.0" 106 106 source = "registry+https://github.com/rust-lang/crates.io-index" 107 - checksum = "37e5939e02c56fecd5c017c37df4238c0a839fa76b7f97acdd7efb804fd181cc" 107 + checksum = "df1362f362fd16024ae199c1970ce98f9661bf5ef94b9808fee734bc3698b733" 108 108 dependencies = [ 109 - "async-trait", 110 109 "bytes", 111 110 "futures-util", 112 111 "http", 113 112 "http-body", 113 + "http-body-util", 114 114 "mime", 115 + "pin-project-lite", 116 + "rustversion", 117 + "sync_wrapper", 115 118 "tower-layer", 116 119 "tower-service", 120 + "tracing", 117 121 ] 118 122 119 123 [[package]] ··· 128 132 "miniz_oxide", 129 133 "object", 130 134 "rustc-demangle", 131 - "windows-targets 0.52.6", 135 + "windows-targets", 132 136 ] 133 137 134 138 [[package]] 135 139 name = "base64" 136 - version = "0.21.7" 140 + version = "0.22.1" 137 141 source = "registry+https://github.com/rust-lang/crates.io-index" 138 - checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567" 139 - 140 - [[package]] 141 - name = "bitflags" 142 - version = "1.3.2" 143 - source = "registry+https://github.com/rust-lang/crates.io-index" 144 - checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" 142 + checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6" 145 143 146 144 [[package]] 147 145 name = "bitflags" ··· 151 149 152 150 [[package]] 153 151 name = "brotli" 154 - version = "3.5.0" 152 + version = "7.0.0" 155 153 source = "registry+https://github.com/rust-lang/crates.io-index" 156 - checksum = "d640d25bc63c50fb1f0b545ffd80207d2e10a4c965530809b40ba3386825c391" 154 + checksum = "cc97b8f16f944bba54f0433f07e30be199b6dc2bd25937444bbad560bcea29bd" 157 155 dependencies = [ 158 156 "alloc-no-stdlib", 159 157 "alloc-stdlib", ··· 162 160 163 161 [[package]] 164 162 name = "brotli-decompressor" 165 - version = "2.5.1" 163 + version = "4.0.1" 166 164 source = "registry+https://github.com/rust-lang/crates.io-index" 167 - checksum = "4e2e4afe60d7dd600fdd3de8d0f08c2b7ec039712e3b6137ff98b7004e82de4f" 165 + checksum = "9a45bd2e4095a8b518033b128020dd4a55aab1c0a381ba4404a472630f4bc362" 168 166 dependencies = [ 169 167 "alloc-no-stdlib", 170 168 "alloc-stdlib", ··· 188 186 source = "registry+https://github.com/rust-lang/crates.io-index" 189 187 checksum = "a012a0df96dd6d06ba9a1b29d6402d1a5d77c6befd2566afdc26e10603dc93d7" 190 188 dependencies = [ 189 + "jobserver", 190 + "libc", 191 191 "shlex", 192 192 ] 193 193 ··· 362 362 363 363 [[package]] 364 364 name = "h2" 365 - version = "0.3.26" 365 + version = "0.4.7" 366 366 source = "registry+https://github.com/rust-lang/crates.io-index" 367 - checksum = "81fe527a889e1532da5c525686d96d4c2e74cdd345badf8dfef9f6b39dd5f5e8" 367 + checksum = "ccae279728d634d083c00f6099cb58f01cc99c145b84b8be2f6c74618d79922e" 368 368 dependencies = [ 369 + "atomic-waker", 369 370 "bytes", 370 371 "fnv", 371 372 "futures-core", 372 373 "futures-sink", 373 - "futures-util", 374 374 "http", 375 375 "indexmap", 376 376 "slab", ··· 387 387 388 388 [[package]] 389 389 name = "http" 390 - version = "0.2.12" 390 + version = "1.2.0" 391 391 source = "registry+https://github.com/rust-lang/crates.io-index" 392 - checksum = "601cbb57e577e2f5ef5be8e7b83f0f63994f25aa94d673e54a92d5c516d101f1" 392 + checksum = "f16ca2af56261c99fba8bac40a10251ce8188205a4c448fbb745a2e4daa76fea" 393 393 dependencies = [ 394 394 "bytes", 395 395 "fnv", ··· 398 398 399 399 [[package]] 400 400 name = "http-body" 401 - version = "0.4.6" 401 + version = "1.0.1" 402 402 source = "registry+https://github.com/rust-lang/crates.io-index" 403 - checksum = "7ceab25649e9960c0311ea418d17bee82c0dcec1bd053b5f9a66e265a693bed2" 403 + checksum = "1efedce1fb8e6913f23e0c92de8e62cd5b772a67e7b3946df930a62566c93184" 404 404 dependencies = [ 405 405 "bytes", 406 406 "http", 407 + ] 408 + 409 + [[package]] 410 + name = "http-body-util" 411 + version = "0.1.2" 412 + source = "registry+https://github.com/rust-lang/crates.io-index" 413 + checksum = "793429d76616a256bcb62c2a2ec2bed781c8307e797e2598c50010f2bee2544f" 414 + dependencies = [ 415 + "bytes", 416 + "futures-util", 417 + "http", 418 + "http-body", 407 419 "pin-project-lite", 408 420 ] 409 421 410 422 [[package]] 411 423 name = "http-range-header" 412 - version = "0.3.1" 424 + version = "0.4.2" 413 425 source = "registry+https://github.com/rust-lang/crates.io-index" 414 - checksum = "add0ab9360ddbd88cfeb3bd9574a1d85cfdfa14db10b3e21d3700dbc4328758f" 426 + checksum = "9171a2ea8a68358193d15dd5d70c1c10a2afc3e7e4c5bc92bc9f025cebd7359c" 415 427 416 428 [[package]] 417 429 name = "httparse" ··· 427 439 428 440 [[package]] 429 441 name = "hyper" 430 - version = "0.14.32" 442 + version = "1.5.2" 431 443 source = "registry+https://github.com/rust-lang/crates.io-index" 432 - checksum = "41dfc780fdec9373c01bae43289ea34c972e40ee3c9f6b3c8801a35f35586ce7" 444 + checksum = "256fb8d4bd6413123cc9d91832d78325c48ff41677595be797d90f42969beae0" 433 445 dependencies = [ 434 446 "bytes", 435 447 "futures-channel", 436 - "futures-core", 437 448 "futures-util", 438 449 "h2", 439 450 "http", ··· 442 453 "httpdate", 443 454 "itoa", 444 455 "pin-project-lite", 445 - "socket2", 456 + "smallvec", 446 457 "tokio", 447 - "tower-service", 448 - "tracing", 449 458 "want", 459 + ] 460 + 461 + [[package]] 462 + name = "hyper-rustls" 463 + version = "0.27.5" 464 + source = "registry+https://github.com/rust-lang/crates.io-index" 465 + checksum = "2d191583f3da1305256f22463b9bb0471acad48a4e534a5218b9963e9c1f59b2" 466 + dependencies = [ 467 + "futures-util", 468 + "http", 469 + "hyper", 470 + "hyper-util", 471 + "rustls", 472 + "rustls-pki-types", 473 + "tokio", 474 + "tokio-rustls", 475 + "tower-service", 450 476 ] 451 477 452 478 [[package]] 453 479 name = "hyper-tls" 454 - version = "0.5.0" 480 + version = "0.6.0" 455 481 source = "registry+https://github.com/rust-lang/crates.io-index" 456 - checksum = "d6183ddfa99b85da61a140bea0efc93fdf56ceaa041b37d553518030827f9905" 482 + checksum = "70206fc6890eaca9fde8a0bf71caa2ddfc9fe045ac9e5c70df101a7dbde866e0" 457 483 dependencies = [ 458 484 "bytes", 485 + "http-body-util", 459 486 "hyper", 487 + "hyper-util", 460 488 "native-tls", 461 489 "tokio", 462 490 "tokio-native-tls", 491 + "tower-service", 492 + ] 493 + 494 + [[package]] 495 + name = "hyper-util" 496 + version = "0.1.10" 497 + source = "registry+https://github.com/rust-lang/crates.io-index" 498 + checksum = "df2dcfbe0677734ab2f3ffa7fa7bfd4706bfdc1ef393f2ee30184aed67e631b4" 499 + dependencies = [ 500 + "bytes", 501 + "futures-channel", 502 + "futures-util", 503 + "http", 504 + "http-body", 505 + "hyper", 506 + "pin-project-lite", 507 + "socket2", 508 + "tokio", 509 + "tower-service", 510 + "tracing", 463 511 ] 464 512 465 513 [[package]] ··· 624 672 checksum = "d75a2a4b1b190afb6f5425f10f6a8f959d2ea0b9c2b1d79553551850539e4674" 625 673 626 674 [[package]] 675 + name = "jobserver" 676 + version = "0.1.32" 677 + source = "registry+https://github.com/rust-lang/crates.io-index" 678 + checksum = "48d1dbcbbeb6a7fec7e059840aa538bd62aaccf972c7346c4d9d2059312853d0" 679 + dependencies = [ 680 + "libc", 681 + ] 682 + 683 + [[package]] 627 684 name = "js-sys" 628 685 version = "0.3.76" 629 686 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 675 732 676 733 [[package]] 677 734 name = "matchit" 678 - version = "0.5.0" 735 + version = "0.8.4" 679 736 source = "registry+https://github.com/rust-lang/crates.io-index" 680 - checksum = "73cbba799671b762df5a175adf59ce145165747bb891505c43d09aefbbf38beb" 737 + checksum = "47e1ffaa40ddd1f3ed91f717a33c8c0ee23fff369e3aa8772b9605cc1d22f4c3" 681 738 682 739 [[package]] 683 740 name = "memchr" ··· 783 840 source = "registry+https://github.com/rust-lang/crates.io-index" 784 841 checksum = "6174bc48f102d208783c2c84bf931bb75927a617866870de8a4ea85597f871f5" 785 842 dependencies = [ 786 - "bitflags 2.6.0", 843 + "bitflags", 787 844 "cfg-if", 788 845 "foreign-types", 789 846 "libc", ··· 847 904 "libc", 848 905 "redox_syscall", 849 906 "smallvec", 850 - "windows-targets 0.52.6", 907 + "windows-targets", 851 908 ] 852 909 853 910 [[package]] ··· 857 914 checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" 858 915 859 916 [[package]] 860 - name = "pin-project" 861 - version = "1.1.8" 862 - source = "registry+https://github.com/rust-lang/crates.io-index" 863 - checksum = "1e2ec53ad785f4d35dac0adea7f7dc6f1bb277ad84a680c7afefeae05d1f5916" 864 - dependencies = [ 865 - "pin-project-internal", 866 - ] 867 - 868 - [[package]] 869 - name = "pin-project-internal" 870 - version = "1.1.8" 871 - source = "registry+https://github.com/rust-lang/crates.io-index" 872 - checksum = "d56a66c0c55993aa927429d0f8a0abfd74f084e4d9c192cffed01e418d83eefb" 873 - dependencies = [ 874 - "proc-macro2", 875 - "quote", 876 - "syn", 877 - ] 878 - 879 - [[package]] 880 917 name = "pin-project-lite" 881 918 version = "0.2.16" 882 919 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 918 955 source = "registry+https://github.com/rust-lang/crates.io-index" 919 956 checksum = "03a862b389f93e68874fbf580b9de08dd02facb9a788ebadaf4a3fd33cf58834" 920 957 dependencies = [ 921 - "bitflags 2.6.0", 958 + "bitflags", 922 959 ] 923 960 924 961 [[package]] 925 962 name = "reqwest" 926 - version = "0.11.27" 963 + version = "0.12.12" 927 964 source = "registry+https://github.com/rust-lang/crates.io-index" 928 - checksum = "dd67538700a17451e7cba03ac727fb961abb7607553461627b97de0b89cf4a62" 965 + checksum = "43e734407157c3c2034e0258f5e4473ddb361b1e85f95a66690d67264d7cd1da" 929 966 dependencies = [ 930 967 "base64", 931 968 "bytes", ··· 935 972 "h2", 936 973 "http", 937 974 "http-body", 975 + "http-body-util", 938 976 "hyper", 977 + "hyper-rustls", 939 978 "hyper-tls", 979 + "hyper-util", 940 980 "ipnet", 941 981 "js-sys", 942 982 "log", ··· 953 993 "system-configuration", 954 994 "tokio", 955 995 "tokio-native-tls", 996 + "tower", 956 997 "tower-service", 957 998 "url", 958 999 "wasm-bindgen", 959 1000 "wasm-bindgen-futures", 960 1001 "web-sys", 961 - "winreg", 1002 + "windows-registry", 1003 + ] 1004 + 1005 + [[package]] 1006 + name = "ring" 1007 + version = "0.17.8" 1008 + source = "registry+https://github.com/rust-lang/crates.io-index" 1009 + checksum = "c17fa4cb658e3583423e915b9f3acc01cceaee1860e33d59ebae66adc3a2dc0d" 1010 + dependencies = [ 1011 + "cc", 1012 + "cfg-if", 1013 + "getrandom", 1014 + "libc", 1015 + "spin", 1016 + "untrusted", 1017 + "windows-sys 0.52.0", 962 1018 ] 963 1019 964 1020 [[package]] ··· 973 1029 source = "registry+https://github.com/rust-lang/crates.io-index" 974 1030 checksum = "a78891ee6bf2340288408954ac787aa063d8e8817e9f53abb37c695c6d834ef6" 975 1031 dependencies = [ 976 - "bitflags 2.6.0", 1032 + "bitflags", 977 1033 "errno", 978 1034 "libc", 979 1035 "linux-raw-sys", ··· 981 1037 ] 982 1038 983 1039 [[package]] 1040 + name = "rustls" 1041 + version = "0.23.20" 1042 + source = "registry+https://github.com/rust-lang/crates.io-index" 1043 + checksum = "5065c3f250cbd332cd894be57c40fa52387247659b14a2d6041d121547903b1b" 1044 + dependencies = [ 1045 + "once_cell", 1046 + "rustls-pki-types", 1047 + "rustls-webpki", 1048 + "subtle", 1049 + "zeroize", 1050 + ] 1051 + 1052 + [[package]] 984 1053 name = "rustls-pemfile" 985 - version = "1.0.4" 1054 + version = "2.2.0" 1055 + source = "registry+https://github.com/rust-lang/crates.io-index" 1056 + checksum = "dce314e5fee3f39953d46bb63bb8a46d40c2f8fb7cc5a3b6cab2bde9721d6e50" 1057 + dependencies = [ 1058 + "rustls-pki-types", 1059 + ] 1060 + 1061 + [[package]] 1062 + name = "rustls-pki-types" 1063 + version = "1.10.1" 1064 + source = "registry+https://github.com/rust-lang/crates.io-index" 1065 + checksum = "d2bf47e6ff922db3825eb750c4e2ff784c6ff8fb9e13046ef6a1d1c5401b0b37" 1066 + 1067 + [[package]] 1068 + name = "rustls-webpki" 1069 + version = "0.102.8" 986 1070 source = "registry+https://github.com/rust-lang/crates.io-index" 987 - checksum = "1c74cae0a4cf6ccbbf5f359f08efdf8ee7e1dc532573bf0db71968cb56b1448c" 1071 + checksum = "64ca1bc8749bd4cf37b5ce386cc146580777b4e8572c7b97baf22c83f444bee9" 988 1072 dependencies = [ 989 - "base64", 1073 + "ring", 1074 + "rustls-pki-types", 1075 + "untrusted", 990 1076 ] 991 1077 992 1078 [[package]] 1079 + name = "rustversion" 1080 + version = "1.0.19" 1081 + source = "registry+https://github.com/rust-lang/crates.io-index" 1082 + checksum = "f7c45b9784283f1b2e7fb61b42047c2fd678ef0960d4f6f1eba131594cc369d4" 1083 + 1084 + [[package]] 993 1085 name = "ryu" 994 1086 version = "1.0.18" 995 1087 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 1016 1108 source = "registry+https://github.com/rust-lang/crates.io-index" 1017 1109 checksum = "897b2245f0b511c87893af39b033e5ca9cce68824c4d7e7630b5a1d339658d02" 1018 1110 dependencies = [ 1019 - "bitflags 2.6.0", 1111 + "bitflags", 1020 1112 "core-foundation", 1021 1113 "core-foundation-sys", 1022 1114 "libc", ··· 1066 1158 ] 1067 1159 1068 1160 [[package]] 1161 + name = "serde_path_to_error" 1162 + version = "0.1.16" 1163 + source = "registry+https://github.com/rust-lang/crates.io-index" 1164 + checksum = "af99884400da37c88f5e9146b7f1fd0fbcae8f6eec4e9da38b67d05486f814a6" 1165 + dependencies = [ 1166 + "itoa", 1167 + "serde", 1168 + ] 1169 + 1170 + [[package]] 1069 1171 name = "serde_urlencoded" 1070 1172 version = "0.7.1" 1071 1173 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 1127 1229 ] 1128 1230 1129 1231 [[package]] 1232 + name = "spin" 1233 + version = "0.9.8" 1234 + source = "registry+https://github.com/rust-lang/crates.io-index" 1235 + checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67" 1236 + 1237 + [[package]] 1130 1238 name = "stable_deref_trait" 1131 1239 version = "1.2.0" 1132 1240 source = "registry+https://github.com/rust-lang/crates.io-index" 1133 1241 checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" 1134 1242 1135 1243 [[package]] 1244 + name = "subtle" 1245 + version = "2.6.1" 1246 + source = "registry+https://github.com/rust-lang/crates.io-index" 1247 + checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" 1248 + 1249 + [[package]] 1136 1250 name = "syn" 1137 1251 version = "2.0.95" 1138 1252 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 1145 1259 1146 1260 [[package]] 1147 1261 name = "sync_wrapper" 1148 - version = "0.1.2" 1262 + version = "1.0.2" 1149 1263 source = "registry+https://github.com/rust-lang/crates.io-index" 1150 - checksum = "2047c6ded9c721764247e62cd3b03c09ffc529b2ba5b10ec482ae507a4a70160" 1264 + checksum = "0bf256ce5efdfa370213c1dabab5935a12e49f2c58d15e9eac2870d3b4f27263" 1265 + dependencies = [ 1266 + "futures-core", 1267 + ] 1151 1268 1152 1269 [[package]] 1153 1270 name = "synstructure" ··· 1162 1279 1163 1280 [[package]] 1164 1281 name = "system-configuration" 1165 - version = "0.5.1" 1282 + version = "0.6.1" 1166 1283 source = "registry+https://github.com/rust-lang/crates.io-index" 1167 - checksum = "ba3a3adc5c275d719af8cb4272ea1c4a6d668a777f37e115f6d11ddbc1c8e0e7" 1284 + checksum = "3c879d448e9d986b661742763247d3693ed13609438cf3d006f51f5368a5ba6b" 1168 1285 dependencies = [ 1169 - "bitflags 1.3.2", 1286 + "bitflags", 1170 1287 "core-foundation", 1171 1288 "system-configuration-sys", 1172 1289 ] 1173 1290 1174 1291 [[package]] 1175 1292 name = "system-configuration-sys" 1176 - version = "0.5.0" 1293 + version = "0.6.0" 1177 1294 source = "registry+https://github.com/rust-lang/crates.io-index" 1178 - checksum = "a75fb188eb626b924683e3b95e3a48e63551fcfb51949de2f06a9d91dbee93c9" 1295 + checksum = "8e1d1b10ced5ca923a1fcb8d03e96b8d3268065d724548c0211415ff6ac6bac4" 1179 1296 dependencies = [ 1180 1297 "core-foundation-sys", 1181 1298 "libc", ··· 1255 1372 ] 1256 1373 1257 1374 [[package]] 1375 + name = "tokio-rustls" 1376 + version = "0.26.1" 1377 + source = "registry+https://github.com/rust-lang/crates.io-index" 1378 + checksum = "5f6d0975eaace0cf0fcadee4e4aaa5da15b5c079146f2cffb67c113be122bf37" 1379 + dependencies = [ 1380 + "rustls", 1381 + "tokio", 1382 + ] 1383 + 1384 + [[package]] 1258 1385 name = "tokio-util" 1259 1386 version = "0.7.13" 1260 1387 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 1269 1396 1270 1397 [[package]] 1271 1398 name = "tower" 1272 - version = "0.4.13" 1399 + version = "0.5.2" 1273 1400 source = "registry+https://github.com/rust-lang/crates.io-index" 1274 - checksum = "b8fa9be0de6cf49e536ce1851f987bd21a43b771b09473c3549a6c853db37c1c" 1401 + checksum = "d039ad9159c98b70ecfd540b2573b97f7f52c3e8d9f8ad57a24b916a536975f9" 1275 1402 dependencies = [ 1276 1403 "futures-core", 1277 1404 "futures-util", 1278 - "pin-project", 1279 1405 "pin-project-lite", 1406 + "sync_wrapper", 1280 1407 "tokio", 1281 1408 "tower-layer", 1282 1409 "tower-service", ··· 1285 1412 1286 1413 [[package]] 1287 1414 name = "tower-http" 1288 - version = "0.3.5" 1415 + version = "0.6.2" 1289 1416 source = "registry+https://github.com/rust-lang/crates.io-index" 1290 - checksum = "f873044bf02dd1e8239e9c1293ea39dad76dc594ec16185d0a1bf31d8dc8d858" 1417 + checksum = "403fa3b783d4b626a8ad51d766ab03cb6d2dbfc46b1c5d4448395e6628dc9697" 1291 1418 dependencies = [ 1292 1419 "async-compression", 1293 - "bitflags 1.3.2", 1420 + "bitflags", 1294 1421 "bytes", 1295 1422 "futures-core", 1296 1423 "futures-util", 1297 1424 "http", 1298 1425 "http-body", 1426 + "http-body-util", 1299 1427 "http-range-header", 1300 1428 "httpdate", 1301 1429 "mime", ··· 1304 1432 "pin-project-lite", 1305 1433 "tokio", 1306 1434 "tokio-util", 1307 - "tower", 1308 1435 "tower-layer", 1309 1436 "tower-service", 1310 1437 "tracing", ··· 1397 1524 version = "1.0.14" 1398 1525 source = "registry+https://github.com/rust-lang/crates.io-index" 1399 1526 checksum = "adb9e6ca4f869e1180728b7950e35922a7fc6397f7b641499e8f3ef06e50dc83" 1527 + 1528 + [[package]] 1529 + name = "untrusted" 1530 + version = "0.9.0" 1531 + source = "registry+https://github.com/rust-lang/crates.io-index" 1532 + checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1" 1400 1533 1401 1534 [[package]] 1402 1535 name = "url" ··· 1548 1681 checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" 1549 1682 1550 1683 [[package]] 1551 - name = "windows-sys" 1552 - version = "0.48.0" 1684 + name = "windows-registry" 1685 + version = "0.2.0" 1686 + source = "registry+https://github.com/rust-lang/crates.io-index" 1687 + checksum = "e400001bb720a623c1c69032f8e3e4cf09984deec740f007dd2b03ec864804b0" 1688 + dependencies = [ 1689 + "windows-result", 1690 + "windows-strings", 1691 + "windows-targets", 1692 + ] 1693 + 1694 + [[package]] 1695 + name = "windows-result" 1696 + version = "0.2.0" 1697 + source = "registry+https://github.com/rust-lang/crates.io-index" 1698 + checksum = "1d1043d8214f791817bab27572aaa8af63732e11bf84aa21a45a78d6c317ae0e" 1699 + dependencies = [ 1700 + "windows-targets", 1701 + ] 1702 + 1703 + [[package]] 1704 + name = "windows-strings" 1705 + version = "0.1.0" 1553 1706 source = "registry+https://github.com/rust-lang/crates.io-index" 1554 - checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" 1707 + checksum = "4cd9b125c486025df0eabcb585e62173c6c9eddcec5d117d3b6e8c30e2ee4d10" 1555 1708 dependencies = [ 1556 - "windows-targets 0.48.5", 1709 + "windows-result", 1710 + "windows-targets", 1557 1711 ] 1558 1712 1559 1713 [[package]] ··· 1562 1716 source = "registry+https://github.com/rust-lang/crates.io-index" 1563 1717 checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" 1564 1718 dependencies = [ 1565 - "windows-targets 0.52.6", 1719 + "windows-targets", 1566 1720 ] 1567 1721 1568 1722 [[package]] ··· 1571 1725 source = "registry+https://github.com/rust-lang/crates.io-index" 1572 1726 checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b" 1573 1727 dependencies = [ 1574 - "windows-targets 0.52.6", 1575 - ] 1576 - 1577 - [[package]] 1578 - name = "windows-targets" 1579 - version = "0.48.5" 1580 - source = "registry+https://github.com/rust-lang/crates.io-index" 1581 - checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" 1582 - dependencies = [ 1583 - "windows_aarch64_gnullvm 0.48.5", 1584 - "windows_aarch64_msvc 0.48.5", 1585 - "windows_i686_gnu 0.48.5", 1586 - "windows_i686_msvc 0.48.5", 1587 - "windows_x86_64_gnu 0.48.5", 1588 - "windows_x86_64_gnullvm 0.48.5", 1589 - "windows_x86_64_msvc 0.48.5", 1728 + "windows-targets", 1590 1729 ] 1591 1730 1592 1731 [[package]] ··· 1595 1734 source = "registry+https://github.com/rust-lang/crates.io-index" 1596 1735 checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973" 1597 1736 dependencies = [ 1598 - "windows_aarch64_gnullvm 0.52.6", 1599 - "windows_aarch64_msvc 0.52.6", 1600 - "windows_i686_gnu 0.52.6", 1737 + "windows_aarch64_gnullvm", 1738 + "windows_aarch64_msvc", 1739 + "windows_i686_gnu", 1601 1740 "windows_i686_gnullvm", 1602 - "windows_i686_msvc 0.52.6", 1603 - "windows_x86_64_gnu 0.52.6", 1604 - "windows_x86_64_gnullvm 0.52.6", 1605 - "windows_x86_64_msvc 0.52.6", 1741 + "windows_i686_msvc", 1742 + "windows_x86_64_gnu", 1743 + "windows_x86_64_gnullvm", 1744 + "windows_x86_64_msvc", 1606 1745 ] 1607 - 1608 - [[package]] 1609 - name = "windows_aarch64_gnullvm" 1610 - version = "0.48.5" 1611 - source = "registry+https://github.com/rust-lang/crates.io-index" 1612 - checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" 1613 1746 1614 1747 [[package]] 1615 1748 name = "windows_aarch64_gnullvm" ··· 1619 1752 1620 1753 [[package]] 1621 1754 name = "windows_aarch64_msvc" 1622 - version = "0.48.5" 1623 - source = "registry+https://github.com/rust-lang/crates.io-index" 1624 - checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" 1625 - 1626 - [[package]] 1627 - name = "windows_aarch64_msvc" 1628 1755 version = "0.52.6" 1629 1756 source = "registry+https://github.com/rust-lang/crates.io-index" 1630 1757 checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" 1631 1758 1632 1759 [[package]] 1633 1760 name = "windows_i686_gnu" 1634 - version = "0.48.5" 1635 - source = "registry+https://github.com/rust-lang/crates.io-index" 1636 - checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" 1637 - 1638 - [[package]] 1639 - name = "windows_i686_gnu" 1640 1761 version = "0.52.6" 1641 1762 source = "registry+https://github.com/rust-lang/crates.io-index" 1642 1763 checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b" ··· 1649 1770 1650 1771 [[package]] 1651 1772 name = "windows_i686_msvc" 1652 - version = "0.48.5" 1653 - source = "registry+https://github.com/rust-lang/crates.io-index" 1654 - checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" 1655 - 1656 - [[package]] 1657 - name = "windows_i686_msvc" 1658 1773 version = "0.52.6" 1659 1774 source = "registry+https://github.com/rust-lang/crates.io-index" 1660 1775 checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" 1661 1776 1662 1777 [[package]] 1663 1778 name = "windows_x86_64_gnu" 1664 - version = "0.48.5" 1665 - source = "registry+https://github.com/rust-lang/crates.io-index" 1666 - checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" 1667 - 1668 - [[package]] 1669 - name = "windows_x86_64_gnu" 1670 1779 version = "0.52.6" 1671 1780 source = "registry+https://github.com/rust-lang/crates.io-index" 1672 1781 checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" 1673 1782 1674 1783 [[package]] 1675 1784 name = "windows_x86_64_gnullvm" 1676 - version = "0.48.5" 1677 - source = "registry+https://github.com/rust-lang/crates.io-index" 1678 - checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" 1679 - 1680 - [[package]] 1681 - name = "windows_x86_64_gnullvm" 1682 1785 version = "0.52.6" 1683 1786 source = "registry+https://github.com/rust-lang/crates.io-index" 1684 1787 checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" 1685 1788 1686 1789 [[package]] 1687 1790 name = "windows_x86_64_msvc" 1688 - version = "0.48.5" 1689 - source = "registry+https://github.com/rust-lang/crates.io-index" 1690 - checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" 1691 - 1692 - [[package]] 1693 - name = "windows_x86_64_msvc" 1694 1791 version = "0.52.6" 1695 1792 source = "registry+https://github.com/rust-lang/crates.io-index" 1696 1793 checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" 1697 - 1698 - [[package]] 1699 - name = "winreg" 1700 - version = "0.50.0" 1701 - source = "registry+https://github.com/rust-lang/crates.io-index" 1702 - checksum = "524e57b2c537c0f9b1e69f1965311ec12182b4122e45035b1508cd24d2adadb1" 1703 - dependencies = [ 1704 - "cfg-if", 1705 - "windows-sys 0.48.0", 1706 - ] 1707 1794 1708 1795 [[package]] 1709 1796 name = "write16" ··· 1763 1850 ] 1764 1851 1765 1852 [[package]] 1853 + name = "zeroize" 1854 + version = "1.8.1" 1855 + source = "registry+https://github.com/rust-lang/crates.io-index" 1856 + checksum = "ced3678a2879b30306d323f4542626697a464a97c0a07c9aebf7ebca65cd4dde" 1857 + 1858 + [[package]] 1766 1859 name = "zerovec" 1767 1860 version = "0.10.4" 1768 1861 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 1783 1876 "quote", 1784 1877 "syn", 1785 1878 ] 1879 + 1880 + [[package]] 1881 + name = "zstd" 1882 + version = "0.13.2" 1883 + source = "registry+https://github.com/rust-lang/crates.io-index" 1884 + checksum = "fcf2b778a664581e31e389454a7072dab1647606d44f7feea22cd5abb9c9f3f9" 1885 + dependencies = [ 1886 + "zstd-safe", 1887 + ] 1888 + 1889 + [[package]] 1890 + name = "zstd-safe" 1891 + version = "7.2.1" 1892 + source = "registry+https://github.com/rust-lang/crates.io-index" 1893 + checksum = "54a3ab4db68cea366acc5c897c7b4d4d1b8994a9cd6e6f841f8964566a419059" 1894 + dependencies = [ 1895 + "zstd-sys", 1896 + ] 1897 + 1898 + [[package]] 1899 + name = "zstd-sys" 1900 + version = "2.0.13+zstd.1.5.6" 1901 + source = "registry+https://github.com/rust-lang/crates.io-index" 1902 + checksum = "38ff0f21cfee8f97d94cef41359e0c89aa6113028ab0291aa8ca0038995a95aa" 1903 + dependencies = [ 1904 + "cc", 1905 + "pkg-config", 1906 + ]
+4 -9
server/Cargo.toml
··· 7 7 8 8 [dependencies] 9 9 anyhow = "1.0.57" 10 - axum = "0.5.6" 11 - reqwest = "0.11.10" 10 + axum = "0.8.1" 11 + reqwest = "0.12.12" 12 12 tokio = { version = "1.18.2", features = ["full"] } 13 - tower = "0.4.12" 14 - tower-http = { version = "0.3.3", features = [ 15 - "compression-full", 16 - "fs", 17 - "trace", 18 - "set-header" 19 - ] } 13 + tower = "0.5.2" 14 + tower-http = { version = "0.6.2", features = ["compression-full", "fs", "trace", "set-header"] } 20 15 tracing = "0.1.34" 21 16 tracing-subscriber = "0.3.11"
+3 -11
server/src/main.rs
··· 1 1 mod scrobble_monitor; 2 2 3 - use std::{env, io, net::SocketAddr}; 3 + use std::{env, net::SocketAddr}; 4 4 5 5 use crate::scrobble_monitor::ScrobbleMonitor; 6 6 ··· 38 38 39 39 let addr = SocketAddr::from(([0, 0, 0, 0], 8080)); 40 40 tracing::debug!("starting server on {addr}"); 41 - axum::Server::bind(&addr) 42 - .serve(app.into_make_service()) 43 - .await?; 41 + let listener = tokio::net::TcpListener::bind(addr).await?; 42 + axum::serve(listener, app).await?; 44 43 45 44 Ok(()) 46 - } 47 - 48 - async fn handle_serve_error(error: io::Error) -> impl IntoResponse { 49 - ( 50 - StatusCode::INTERNAL_SERVER_ERROR, 51 - format!("Unhandled internal error: {error}"), 52 - ) 53 45 } 54 46 55 47 async fn get_scrobble(Extension(mut monitor): Extension<ScrobbleMonitor>) -> impl IntoResponse {