Sync your own workout data from your "Strong" app
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

updated dependencies and deploy

tolik518 599f9ec1 0b8d7346

+511 -222
+10
.github/workflows/deploy.yml
··· 31 31 - uses: actions/checkout@v4 32 32 with: 33 33 fetch-depth: 0 34 + 34 35 - name: Extract version from Cargo.toml 35 36 run: | 36 37 VERSION=$(grep '^version' strong-api-fetch/Cargo.toml | head -n 1 | sed -E 's/version *= *"([^"]+)".*/\1/') 37 38 echo "VERSION=$VERSION" >> $GITHUB_ENV 38 39 echo "Version extracted: $VERSION" 40 + 39 41 - name: Check existing tag 40 42 id: check_tag 41 43 run: | ··· 48 50 echo "New version detected: $VERSION" 49 51 echo "tag_created=true" >> $GITHUB_OUTPUT 50 52 fi 53 + 51 54 - name: Create and push Git tag 52 55 if: steps.check_tag.outputs.tag_created == 'true' 53 56 run: | ··· 64 67 name: production 65 68 steps: 66 69 - uses: actions/checkout@v4 70 + 67 71 - name: Extract version from Cargo.toml 68 72 run: | 69 73 VERSION=$(grep '^version' strong-api-fetch/Cargo.toml | head -n 1 | sed -E 's/version *= *"([^"]+)".*/\1/') 70 74 echo "VERSION=$VERSION" >> $GITHUB_ENV 71 75 echo "Version extracted: $VERSION" 76 + 72 77 - name: SSH into Server and Deploy 73 78 env: 74 79 PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }} ··· 103 108 fi 104 109 echo "Deployment successful - container is running" 105 110 EOF 111 + 112 + if [ $? -ne 0 ]; then 113 + echo "Deployment failed" 114 + exit 1 115 + fi 106 116 107 117 rm -f private_key.pem
+491 -211
Cargo.lock
··· 34 34 checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26" 35 35 36 36 [[package]] 37 + name = "aws-lc-rs" 38 + version = "1.16.1" 39 + source = "registry+https://github.com/rust-lang/crates.io-index" 40 + checksum = "94bffc006df10ac2a68c83692d734a465f8ee6c5b384d8545a636f81d858f4bf" 41 + dependencies = [ 42 + "aws-lc-sys", 43 + "zeroize", 44 + ] 45 + 46 + [[package]] 47 + name = "aws-lc-sys" 48 + version = "0.38.0" 49 + source = "registry+https://github.com/rust-lang/crates.io-index" 50 + checksum = "4321e568ed89bb5a7d291a7f37997c2c0df89809d7b6d12062c81ddb54aa782e" 51 + dependencies = [ 52 + "cc", 53 + "cmake", 54 + "dunce", 55 + "fs_extra", 56 + ] 57 + 58 + [[package]] 37 59 name = "base64" 38 60 version = "0.22.1" 39 61 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 41 63 42 64 [[package]] 43 65 name = "bitflags" 44 - version = "2.9.0" 66 + version = "2.11.0" 45 67 source = "registry+https://github.com/rust-lang/crates.io-index" 46 - checksum = "5c8214115b7bf84099f1309324e63141d4c5d7cc26862f97a0a857dbefe165bd" 68 + checksum = "843867be96c8daad0d758b57df9392b6d8d271134fce549de6ce169ff98a92af" 47 69 48 70 [[package]] 49 71 name = "bstr" ··· 68 90 69 91 [[package]] 70 92 name = "cc" 71 - version = "1.2.16" 93 + version = "1.2.57" 72 94 source = "registry+https://github.com/rust-lang/crates.io-index" 73 - checksum = "be714c154be609ec7f5dad223a33bf1482fff90472de28f7362806e6d4832b8c" 95 + checksum = "7a0dd1ca384932ff3641c8718a02769f1698e7563dc6974ffd03346116310423" 74 96 dependencies = [ 97 + "find-msvc-tools", 98 + "jobserver", 99 + "libc", 75 100 "shlex", 76 101 ] 77 102 78 103 [[package]] 104 + name = "cesu8" 105 + version = "1.1.0" 106 + source = "registry+https://github.com/rust-lang/crates.io-index" 107 + checksum = "6d43a04d8753f35258c91f8ec639f792891f748a1edbd759cf1dcea3382ad83c" 108 + 109 + [[package]] 79 110 name = "cfg-if" 80 111 version = "1.0.0" 81 112 source = "registry+https://github.com/rust-lang/crates.io-index" 82 113 checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" 83 114 84 115 [[package]] 116 + name = "cfg_aliases" 117 + version = "0.2.1" 118 + source = "registry+https://github.com/rust-lang/crates.io-index" 119 + checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724" 120 + 121 + [[package]] 85 122 name = "cityhash-rs" 86 123 version = "1.0.1" 87 124 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 89 126 90 127 [[package]] 91 128 name = "clickhouse" 92 - version = "0.13.2" 129 + version = "0.13.3" 93 130 source = "registry+https://github.com/rust-lang/crates.io-index" 94 - checksum = "d9894248c4c5a4402f76a56c273836a0c32547ec8a68166aedee7e01b7b8d102" 131 + checksum = "9a9a81a1dffadd762ee662635ce409232258ce9beebd7cc0fa227df0b5e7efc0" 95 132 dependencies = [ 96 133 "bstr", 97 134 "bytes", ··· 108 145 "sealed", 109 146 "serde", 110 147 "static_assertions", 111 - "thiserror", 148 + "thiserror 1.0.69", 112 149 "time", 113 150 "tokio", 114 151 "url", ··· 128 165 ] 129 166 130 167 [[package]] 168 + name = "cmake" 169 + version = "0.1.57" 170 + source = "registry+https://github.com/rust-lang/crates.io-index" 171 + checksum = "75443c44cd6b379beb8c5b45d85d0773baf31cce901fe7bb252f4eff3008ef7d" 172 + dependencies = [ 173 + "cc", 174 + ] 175 + 176 + [[package]] 177 + name = "combine" 178 + version = "4.6.7" 179 + source = "registry+https://github.com/rust-lang/crates.io-index" 180 + checksum = "ba5a308b75df32fe02788e748662718f03fde005016435c444eea572398219fd" 181 + dependencies = [ 182 + "bytes", 183 + "memchr", 184 + ] 185 + 186 + [[package]] 131 187 name = "core-foundation" 132 188 version = "0.9.4" 133 189 source = "registry+https://github.com/rust-lang/crates.io-index" 134 190 checksum = "91e195e091a93c46f7102ec7818a2aa394e1e1771c3ab4825963fa03e45afb8f" 191 + dependencies = [ 192 + "core-foundation-sys", 193 + "libc", 194 + ] 195 + 196 + [[package]] 197 + name = "core-foundation" 198 + version = "0.10.1" 199 + source = "registry+https://github.com/rust-lang/crates.io-index" 200 + checksum = "b2a6cd9ae233e7f62ba4e9353e81a88df7fc8a5987b8d445b4d90c879bd156f6" 135 201 dependencies = [ 136 202 "core-foundation-sys", 137 203 "libc", ··· 194 260 checksum = "1aaf95b3e5c8f23aa320147307562d361db0ae0d51242340f558153b4eb2439b" 195 261 196 262 [[package]] 263 + name = "dunce" 264 + version = "1.0.5" 265 + source = "registry+https://github.com/rust-lang/crates.io-index" 266 + checksum = "92773504d58c093f6de2459af4af33faa518c13451eb8f2b5698ed3d36e7c813" 267 + 268 + [[package]] 197 269 name = "encoding_rs" 198 270 version = "0.8.35" 199 271 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 209 281 checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f" 210 282 211 283 [[package]] 212 - name = "errno" 213 - version = "0.3.10" 214 - source = "registry+https://github.com/rust-lang/crates.io-index" 215 - checksum = "33d852cb9b869c2a9b3df2f71a3074817f01e1844f839a144f5fcef059a4eb5d" 216 - dependencies = [ 217 - "libc", 218 - "windows-sys 0.59.0", 219 - ] 220 - 221 - [[package]] 222 - name = "fastrand" 223 - version = "2.3.0" 284 + name = "find-msvc-tools" 285 + version = "0.1.9" 224 286 source = "registry+https://github.com/rust-lang/crates.io-index" 225 - checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be" 287 + checksum = "5baebc0774151f905a1a2cc41989300b1e6fbb29aff0ceffa1064fdd3088d582" 226 288 227 289 [[package]] 228 290 name = "fnv" ··· 231 293 checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" 232 294 233 295 [[package]] 234 - name = "foreign-types" 235 - version = "0.3.2" 236 - source = "registry+https://github.com/rust-lang/crates.io-index" 237 - checksum = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1" 238 - dependencies = [ 239 - "foreign-types-shared", 240 - ] 241 - 242 - [[package]] 243 - name = "foreign-types-shared" 244 - version = "0.1.1" 245 - source = "registry+https://github.com/rust-lang/crates.io-index" 246 - checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" 247 - 248 - [[package]] 249 296 name = "form_urlencoded" 250 297 version = "1.2.1" 251 298 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 255 302 ] 256 303 257 304 [[package]] 305 + name = "fs_extra" 306 + version = "1.3.0" 307 + source = "registry+https://github.com/rust-lang/crates.io-index" 308 + checksum = "42703706b716c37f96a77aea830392ad231f44c9e9a67872fa5548707e11b11c" 309 + 310 + [[package]] 258 311 name = "futures" 259 312 version = "0.3.31" 260 313 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 350 403 checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7" 351 404 dependencies = [ 352 405 "cfg-if", 406 + "js-sys", 353 407 "libc", 354 408 "wasi 0.11.0+wasi-snapshot-preview1", 409 + "wasm-bindgen", 355 410 ] 356 411 357 412 [[package]] ··· 361 416 checksum = "43a49c392881ce6d5c3b8cb70f98717b7c07aabbdff06687b9030dbfbe2725f8" 362 417 dependencies = [ 363 418 "cfg-if", 419 + "js-sys", 364 420 "libc", 365 421 "wasi 0.13.3+wasi-0.2.2", 422 + "wasm-bindgen", 366 423 "windows-targets 0.52.6", 367 424 ] 368 425 ··· 484 541 ] 485 542 486 543 [[package]] 487 - name = "hyper-tls" 488 - version = "0.6.0" 489 - source = "registry+https://github.com/rust-lang/crates.io-index" 490 - checksum = "70206fc6890eaca9fde8a0bf71caa2ddfc9fe045ac9e5c70df101a7dbde866e0" 491 - dependencies = [ 492 - "bytes", 493 - "http-body-util", 494 - "hyper", 495 - "hyper-util", 496 - "native-tls", 497 - "tokio", 498 - "tokio-native-tls", 499 - "tower-service", 500 - ] 501 - 502 - [[package]] 503 544 name = "hyper-util" 504 - version = "0.1.10" 545 + version = "0.1.20" 505 546 source = "registry+https://github.com/rust-lang/crates.io-index" 506 - checksum = "df2dcfbe0677734ab2f3ffa7fa7bfd4706bfdc1ef393f2ee30184aed67e631b4" 547 + checksum = "96547c2556ec9d12fb1578c4eaf448b04993e7fb79cbaad930a656880a6bdfa0" 507 548 dependencies = [ 549 + "base64", 508 550 "bytes", 509 551 "futures-channel", 510 552 "futures-util", 511 553 "http", 512 554 "http-body", 513 555 "hyper", 556 + "ipnet", 557 + "libc", 558 + "percent-encoding", 514 559 "pin-project-lite", 515 - "socket2 0.5.8", 560 + "socket2", 561 + "system-configuration", 516 562 "tokio", 517 563 "tower-service", 518 564 "tracing", 565 + "windows-registry", 519 566 ] 520 567 521 568 [[package]] ··· 674 721 checksum = "469fb0b9cefa57e3ef31275ee7cacb78f2fdca44e4765491884a2b119d4eb130" 675 722 676 723 [[package]] 724 + name = "iri-string" 725 + version = "0.7.10" 726 + source = "registry+https://github.com/rust-lang/crates.io-index" 727 + checksum = "c91338f0783edbd6195decb37bae672fd3b165faffb89bf7b9e6942f8b1a731a" 728 + dependencies = [ 729 + "memchr", 730 + "serde", 731 + ] 732 + 733 + [[package]] 677 734 name = "itoa" 678 735 version = "1.0.15" 679 736 source = "registry+https://github.com/rust-lang/crates.io-index" 680 737 checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c" 681 738 682 739 [[package]] 740 + name = "jni" 741 + version = "0.21.1" 742 + source = "registry+https://github.com/rust-lang/crates.io-index" 743 + checksum = "1a87aa2bb7d2af34197c04845522473242e1aa17c12f4935d5856491a7fb8c97" 744 + dependencies = [ 745 + "cesu8", 746 + "cfg-if", 747 + "combine", 748 + "jni-sys", 749 + "log", 750 + "thiserror 1.0.69", 751 + "walkdir", 752 + "windows-sys 0.45.0", 753 + ] 754 + 755 + [[package]] 756 + name = "jni-sys" 757 + version = "0.3.0" 758 + source = "registry+https://github.com/rust-lang/crates.io-index" 759 + checksum = "8eaf4bc02d17cbdd7ff4c7438cafcdf7fb9a4613313ad11b4f8fefe7d3fa0130" 760 + 761 + [[package]] 762 + name = "jobserver" 763 + version = "0.1.32" 764 + source = "registry+https://github.com/rust-lang/crates.io-index" 765 + checksum = "48d1dbcbbeb6a7fec7e059840aa538bd62aaccf972c7346c4d9d2059312853d0" 766 + dependencies = [ 767 + "libc", 768 + ] 769 + 770 + [[package]] 683 771 name = "js-sys" 684 772 version = "0.3.77" 685 773 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 702 790 checksum = "b5b646652bf6661599e1da8901b3b9522896f01e736bad5f723fe7a3a27f899d" 703 791 704 792 [[package]] 705 - name = "linux-raw-sys" 706 - version = "0.9.3" 707 - source = "registry+https://github.com/rust-lang/crates.io-index" 708 - checksum = "fe7db12097d22ec582439daf8618b8fdd1a7bef6270e9af3b1ebcd30893cf413" 709 - 710 - [[package]] 711 793 name = "litemap" 712 794 version = "0.7.5" 713 795 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 728 810 version = "0.4.26" 729 811 source = "registry+https://github.com/rust-lang/crates.io-index" 730 812 checksum = "30bde2b3dc3671ae49d8e2e9f044c7c005836e7a023ee57cffa25ab82764bb9e" 813 + 814 + [[package]] 815 + name = "lru-slab" 816 + version = "0.1.2" 817 + source = "registry+https://github.com/rust-lang/crates.io-index" 818 + checksum = "112b39cec0b298b6c1999fee3e31427f74f676e4cb9879ed1a121b43661a4154" 731 819 732 820 [[package]] 733 821 name = "lz4_flex" ··· 759 847 ] 760 848 761 849 [[package]] 762 - name = "native-tls" 763 - version = "0.2.14" 764 - source = "registry+https://github.com/rust-lang/crates.io-index" 765 - checksum = "87de3442987e9dbec73158d5c715e7ad9072fda936bb03d19d7fa10e00520f0e" 766 - dependencies = [ 767 - "libc", 768 - "log", 769 - "openssl", 770 - "openssl-probe", 771 - "openssl-sys", 772 - "schannel", 773 - "security-framework", 774 - "security-framework-sys", 775 - "tempfile", 776 - ] 777 - 778 - [[package]] 779 850 name = "num-conv" 780 851 version = "0.1.0" 781 852 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 798 869 checksum = "d75b0bedcc4fe52caa0e03d9f1151a323e4aa5e2d78ba3580400cd3c9e2bc4bc" 799 870 800 871 [[package]] 801 - name = "openssl" 802 - version = "0.10.73" 803 - source = "registry+https://github.com/rust-lang/crates.io-index" 804 - checksum = "8505734d46c8ab1e19a1dce3aef597ad87dcb4c37e7188231769bd6bd51cebf8" 805 - dependencies = [ 806 - "bitflags", 807 - "cfg-if", 808 - "foreign-types", 809 - "libc", 810 - "once_cell", 811 - "openssl-macros", 812 - "openssl-sys", 813 - ] 814 - 815 - [[package]] 816 - name = "openssl-macros" 817 - version = "0.1.1" 818 - source = "registry+https://github.com/rust-lang/crates.io-index" 819 - checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c" 820 - dependencies = [ 821 - "proc-macro2", 822 - "quote", 823 - "syn", 824 - ] 825 - 826 - [[package]] 827 872 name = "openssl-probe" 828 - version = "0.1.6" 873 + version = "0.2.1" 829 874 source = "registry+https://github.com/rust-lang/crates.io-index" 830 - checksum = "d05e27ee213611ffe7d6348b942e8f942b37114c00cc03cec254295a4a17852e" 831 - 832 - [[package]] 833 - name = "openssl-sys" 834 - version = "0.9.109" 835 - source = "registry+https://github.com/rust-lang/crates.io-index" 836 - checksum = "90096e2e47630d78b7d1c20952dc621f957103f8bc2c8359ec81290d75238571" 837 - dependencies = [ 838 - "cc", 839 - "libc", 840 - "pkg-config", 841 - "vcpkg", 842 - ] 875 + checksum = "7c87def4c32ab89d880effc9e097653c8da5d6ef28e6b539d313baaacfbafcbe" 843 876 844 877 [[package]] 845 878 name = "parking_lot" ··· 883 916 checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" 884 917 885 918 [[package]] 886 - name = "pkg-config" 887 - version = "0.3.32" 888 - source = "registry+https://github.com/rust-lang/crates.io-index" 889 - checksum = "7edddbd0b52d732b21ad9a5fab5c704c14cd949e5e9a1ec5929a24fded1b904c" 890 - 891 - [[package]] 892 919 name = "powerfmt" 893 920 version = "0.2.0" 894 921 source = "registry+https://github.com/rust-lang/crates.io-index" 895 922 checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" 896 923 897 924 [[package]] 925 + name = "ppv-lite86" 926 + version = "0.2.21" 927 + source = "registry+https://github.com/rust-lang/crates.io-index" 928 + checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9" 929 + dependencies = [ 930 + "zerocopy", 931 + ] 932 + 933 + [[package]] 898 934 name = "proc-macro2" 899 935 version = "1.0.94" 900 936 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 919 955 ] 920 956 921 957 [[package]] 958 + name = "quinn" 959 + version = "0.11.9" 960 + source = "registry+https://github.com/rust-lang/crates.io-index" 961 + checksum = "b9e20a958963c291dc322d98411f541009df2ced7b5a4f2bd52337638cfccf20" 962 + dependencies = [ 963 + "bytes", 964 + "cfg_aliases", 965 + "pin-project-lite", 966 + "quinn-proto", 967 + "quinn-udp", 968 + "rustc-hash", 969 + "rustls", 970 + "socket2", 971 + "thiserror 2.0.18", 972 + "tokio", 973 + "tracing", 974 + "web-time", 975 + ] 976 + 977 + [[package]] 978 + name = "quinn-proto" 979 + version = "0.11.14" 980 + source = "registry+https://github.com/rust-lang/crates.io-index" 981 + checksum = "434b42fec591c96ef50e21e886936e66d3cc3f737104fdb9b737c40ffb94c098" 982 + dependencies = [ 983 + "aws-lc-rs", 984 + "bytes", 985 + "getrandom 0.3.1", 986 + "lru-slab", 987 + "rand", 988 + "ring", 989 + "rustc-hash", 990 + "rustls", 991 + "rustls-pki-types", 992 + "slab", 993 + "thiserror 2.0.18", 994 + "tinyvec", 995 + "tracing", 996 + "web-time", 997 + ] 998 + 999 + [[package]] 1000 + name = "quinn-udp" 1001 + version = "0.5.14" 1002 + source = "registry+https://github.com/rust-lang/crates.io-index" 1003 + checksum = "addec6a0dcad8a8d96a771f815f0eaf55f9d1805756410b39f5fa81332574cbd" 1004 + dependencies = [ 1005 + "cfg_aliases", 1006 + "libc", 1007 + "once_cell", 1008 + "socket2", 1009 + "tracing", 1010 + "windows-sys 0.59.0", 1011 + ] 1012 + 1013 + [[package]] 922 1014 name = "quote" 923 1015 version = "1.0.40" 924 1016 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 928 1020 ] 929 1021 930 1022 [[package]] 1023 + name = "rand" 1024 + version = "0.9.2" 1025 + source = "registry+https://github.com/rust-lang/crates.io-index" 1026 + checksum = "6db2770f06117d490610c7488547d543617b21bfa07796d7a12f6f1bd53850d1" 1027 + dependencies = [ 1028 + "rand_chacha", 1029 + "rand_core", 1030 + ] 1031 + 1032 + [[package]] 1033 + name = "rand_chacha" 1034 + version = "0.9.0" 1035 + source = "registry+https://github.com/rust-lang/crates.io-index" 1036 + checksum = "d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb" 1037 + dependencies = [ 1038 + "ppv-lite86", 1039 + "rand_core", 1040 + ] 1041 + 1042 + [[package]] 1043 + name = "rand_core" 1044 + version = "0.9.5" 1045 + source = "registry+https://github.com/rust-lang/crates.io-index" 1046 + checksum = "76afc826de14238e6e8c374ddcc1fa19e374fd8dd986b0d2af0d02377261d83c" 1047 + dependencies = [ 1048 + "getrandom 0.3.1", 1049 + ] 1050 + 1051 + [[package]] 931 1052 name = "raw-cpuid" 932 1053 version = "11.5.0" 933 1054 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 976 1097 977 1098 [[package]] 978 1099 name = "replace_with" 979 - version = "0.1.7" 1100 + version = "0.1.8" 980 1101 source = "registry+https://github.com/rust-lang/crates.io-index" 981 - checksum = "e3a8614ee435691de62bcffcf4a66d91b3594bf1428a5722e79103249a095690" 1102 + checksum = "51743d3e274e2b18df81c4dc6caf8a5b8e15dbe799e0dca05c7617380094e884" 982 1103 983 1104 [[package]] 984 1105 name = "reqwest" 985 - version = "0.12.14" 1106 + version = "0.13.2" 986 1107 source = "registry+https://github.com/rust-lang/crates.io-index" 987 - checksum = "989e327e510263980e231de548a33e63d34962d29ae61b467389a1a09627a254" 1108 + checksum = "ab3f43e3283ab1488b624b44b0e988d0acea0b3214e694730a055cb6b2efa801" 988 1109 dependencies = [ 989 1110 "base64", 990 1111 "bytes", 991 1112 "encoding_rs", 992 1113 "futures-core", 993 - "futures-util", 994 1114 "h2", 995 1115 "http", 996 1116 "http-body", 997 1117 "http-body-util", 998 1118 "hyper", 999 1119 "hyper-rustls", 1000 - "hyper-tls", 1001 1120 "hyper-util", 1002 - "ipnet", 1003 1121 "js-sys", 1004 1122 "log", 1005 1123 "mime", 1006 - "native-tls", 1007 - "once_cell", 1008 1124 "percent-encoding", 1009 1125 "pin-project-lite", 1010 - "rustls-pemfile", 1126 + "quinn", 1127 + "rustls", 1128 + "rustls-pki-types", 1129 + "rustls-platform-verifier", 1011 1130 "serde", 1012 1131 "serde_json", 1013 - "serde_urlencoded", 1014 1132 "sync_wrapper", 1015 - "system-configuration", 1016 1133 "tokio", 1017 - "tokio-native-tls", 1134 + "tokio-rustls", 1018 1135 "tower", 1136 + "tower-http", 1019 1137 "tower-service", 1020 1138 "url", 1021 1139 "wasm-bindgen", 1022 1140 "wasm-bindgen-futures", 1023 1141 "web-sys", 1024 - "windows-registry", 1025 1142 ] 1026 1143 1027 1144 [[package]] ··· 1039 1156 ] 1040 1157 1041 1158 [[package]] 1042 - name = "rustix" 1043 - version = "1.0.2" 1159 + name = "rustc-hash" 1160 + version = "2.1.1" 1044 1161 source = "registry+https://github.com/rust-lang/crates.io-index" 1045 - checksum = "f7178faa4b75a30e269c71e61c353ce2748cf3d76f0c44c393f4e60abf49b825" 1046 - dependencies = [ 1047 - "bitflags", 1048 - "errno", 1049 - "libc", 1050 - "linux-raw-sys", 1051 - "windows-sys 0.59.0", 1052 - ] 1162 + checksum = "357703d41365b4b27c590e3ed91eabb1b663f07c4c084095e60cbed4362dff0d" 1053 1163 1054 1164 [[package]] 1055 1165 name = "rustls" 1056 - version = "0.23.23" 1166 + version = "0.23.28" 1057 1167 source = "registry+https://github.com/rust-lang/crates.io-index" 1058 - checksum = "47796c98c480fce5406ef69d1c76378375492c3b0a0de587be0c1d9feb12f395" 1168 + checksum = "7160e3e10bf4535308537f3c4e1641468cd0e485175d6163087c0393c7d46643" 1059 1169 dependencies = [ 1170 + "aws-lc-rs", 1060 1171 "once_cell", 1061 1172 "rustls-pki-types", 1062 1173 "rustls-webpki", ··· 1065 1176 ] 1066 1177 1067 1178 [[package]] 1068 - name = "rustls-pemfile" 1069 - version = "2.2.0" 1179 + name = "rustls-native-certs" 1180 + version = "0.8.3" 1070 1181 source = "registry+https://github.com/rust-lang/crates.io-index" 1071 - checksum = "dce314e5fee3f39953d46bb63bb8a46d40c2f8fb7cc5a3b6cab2bde9721d6e50" 1182 + checksum = "612460d5f7bea540c490b2b6395d8e34a953e52b491accd6c86c8164c5932a63" 1072 1183 dependencies = [ 1184 + "openssl-probe", 1073 1185 "rustls-pki-types", 1186 + "schannel", 1187 + "security-framework", 1074 1188 ] 1075 1189 1076 1190 [[package]] ··· 1078 1192 version = "1.11.0" 1079 1193 source = "registry+https://github.com/rust-lang/crates.io-index" 1080 1194 checksum = "917ce264624a4b4db1c364dcc35bfca9ded014d0a958cd47ad3e960e988ea51c" 1195 + dependencies = [ 1196 + "web-time", 1197 + ] 1198 + 1199 + [[package]] 1200 + name = "rustls-platform-verifier" 1201 + version = "0.6.2" 1202 + source = "registry+https://github.com/rust-lang/crates.io-index" 1203 + checksum = "1d99feebc72bae7ab76ba994bb5e121b8d83d910ca40b36e0921f53becc41784" 1204 + dependencies = [ 1205 + "core-foundation 0.10.1", 1206 + "core-foundation-sys", 1207 + "jni", 1208 + "log", 1209 + "once_cell", 1210 + "rustls", 1211 + "rustls-native-certs", 1212 + "rustls-platform-verifier-android", 1213 + "rustls-webpki", 1214 + "security-framework", 1215 + "security-framework-sys", 1216 + "webpki-root-certs", 1217 + "windows-sys 0.61.2", 1218 + ] 1219 + 1220 + [[package]] 1221 + name = "rustls-platform-verifier-android" 1222 + version = "0.1.1" 1223 + source = "registry+https://github.com/rust-lang/crates.io-index" 1224 + checksum = "f87165f0995f63a9fbeea62b64d10b4d9d8e78ec6d7d51fb2125fda7bb36788f" 1081 1225 1082 1226 [[package]] 1083 1227 name = "rustls-webpki" 1084 - version = "0.102.8" 1228 + version = "0.103.3" 1085 1229 source = "registry+https://github.com/rust-lang/crates.io-index" 1086 - checksum = "64ca1bc8749bd4cf37b5ce386cc146580777b4e8572c7b97baf22c83f444bee9" 1230 + checksum = "e4a72fe2bcf7a6ac6fd7d0b9e5cb68aeb7d4c0a0271730218b3e92d43b4eb435" 1087 1231 dependencies = [ 1232 + "aws-lc-rs", 1088 1233 "ring", 1089 1234 "rustls-pki-types", 1090 1235 "untrusted", ··· 1103 1248 checksum = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f" 1104 1249 1105 1250 [[package]] 1251 + name = "same-file" 1252 + version = "1.0.6" 1253 + source = "registry+https://github.com/rust-lang/crates.io-index" 1254 + checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" 1255 + dependencies = [ 1256 + "winapi-util", 1257 + ] 1258 + 1259 + [[package]] 1106 1260 name = "schannel" 1107 1261 version = "0.1.27" 1108 1262 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 1130 1284 1131 1285 [[package]] 1132 1286 name = "security-framework" 1133 - version = "2.11.1" 1287 + version = "3.7.0" 1134 1288 source = "registry+https://github.com/rust-lang/crates.io-index" 1135 - checksum = "897b2245f0b511c87893af39b033e5ca9cce68824c4d7e7630b5a1d339658d02" 1289 + checksum = "b7f4bc775c73d9a02cde8bf7b2ec4c9d12743edf609006c7facc23998404cd1d" 1136 1290 dependencies = [ 1137 1291 "bitflags", 1138 - "core-foundation", 1292 + "core-foundation 0.10.1", 1139 1293 "core-foundation-sys", 1140 1294 "libc", 1141 1295 "security-framework-sys", ··· 1143 1297 1144 1298 [[package]] 1145 1299 name = "security-framework-sys" 1146 - version = "2.14.0" 1300 + version = "2.17.0" 1147 1301 source = "registry+https://github.com/rust-lang/crates.io-index" 1148 - checksum = "49db231d56a190491cb4aeda9527f1ad45345af50b0851622a7adb8c03b01c32" 1302 + checksum = "6ce2691df843ecc5d231c0b14ece2acc3efb62c0a398c7e1d875f3983ce020e3" 1149 1303 dependencies = [ 1150 1304 "core-foundation-sys", 1151 1305 "libc", ··· 1195 1349 ] 1196 1350 1197 1351 [[package]] 1198 - name = "serde_urlencoded" 1199 - version = "0.7.1" 1200 - source = "registry+https://github.com/rust-lang/crates.io-index" 1201 - checksum = "d3491c14715ca2294c4d6a88f15e84739788c1d030eed8c110436aafdaa2f3fd" 1202 - dependencies = [ 1203 - "form_urlencoded", 1204 - "itoa", 1205 - "ryu", 1206 - "serde", 1207 - ] 1208 - 1209 - [[package]] 1210 1352 name = "shlex" 1211 1353 version = "1.3.0" 1212 1354 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 1235 1377 version = "1.14.0" 1236 1378 source = "registry+https://github.com/rust-lang/crates.io-index" 1237 1379 checksum = "7fcf8323ef1faaee30a44a340193b1ac6814fd9b7b4e88e9d4519a3e4abe1cfd" 1238 - 1239 - [[package]] 1240 - name = "socket2" 1241 - version = "0.5.8" 1242 - source = "registry+https://github.com/rust-lang/crates.io-index" 1243 - checksum = "c970269d99b64e60ec3bd6ad27270092a5394c4e309314b18ae3fe575695fbe8" 1244 - dependencies = [ 1245 - "libc", 1246 - "windows-sys 0.52.0", 1247 - ] 1248 1380 1249 1381 [[package]] 1250 1382 name = "socket2" ··· 1270 1402 1271 1403 [[package]] 1272 1404 name = "strong-api-fetch" 1273 - version = "0.2.1" 1405 + version = "0.2.2" 1274 1406 dependencies = [ 1275 1407 "clickhouse", 1276 1408 "dotenvy", ··· 1285 1417 1286 1418 [[package]] 1287 1419 name = "strong-api-lib" 1288 - version = "0.3.1" 1420 + version = "0.3.2" 1289 1421 dependencies = [ 1290 1422 "reqwest", 1291 1423 "serde", ··· 1333 1465 1334 1466 [[package]] 1335 1467 name = "system-configuration" 1336 - version = "0.6.1" 1468 + version = "0.7.0" 1337 1469 source = "registry+https://github.com/rust-lang/crates.io-index" 1338 - checksum = "3c879d448e9d986b661742763247d3693ed13609438cf3d006f51f5368a5ba6b" 1470 + checksum = "a13f3d0daba03132c0aa9767f98351b3488edc2c100cda2d2ec2b04f3d8d3c8b" 1339 1471 dependencies = [ 1340 1472 "bitflags", 1341 - "core-foundation", 1473 + "core-foundation 0.9.4", 1342 1474 "system-configuration-sys", 1343 1475 ] 1344 1476 ··· 1353 1485 ] 1354 1486 1355 1487 [[package]] 1356 - name = "tempfile" 1357 - version = "3.19.0" 1488 + name = "thiserror" 1489 + version = "1.0.69" 1358 1490 source = "registry+https://github.com/rust-lang/crates.io-index" 1359 - checksum = "488960f40a3fd53d72c2a29a58722561dee8afdd175bd88e3db4677d7b2ba600" 1491 + checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52" 1360 1492 dependencies = [ 1361 - "fastrand", 1362 - "getrandom 0.3.1", 1363 - "once_cell", 1364 - "rustix", 1365 - "windows-sys 0.59.0", 1493 + "thiserror-impl 1.0.69", 1366 1494 ] 1367 1495 1368 1496 [[package]] 1369 1497 name = "thiserror" 1370 - version = "1.0.69" 1498 + version = "2.0.18" 1371 1499 source = "registry+https://github.com/rust-lang/crates.io-index" 1372 - checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52" 1500 + checksum = "4288b5bcbc7920c07a1149a35cf9590a2aa808e0bc1eafaade0b80947865fbc4" 1373 1501 dependencies = [ 1374 - "thiserror-impl", 1502 + "thiserror-impl 2.0.18", 1375 1503 ] 1376 1504 1377 1505 [[package]] ··· 1386 1514 ] 1387 1515 1388 1516 [[package]] 1517 + name = "thiserror-impl" 1518 + version = "2.0.18" 1519 + source = "registry+https://github.com/rust-lang/crates.io-index" 1520 + checksum = "ebc4ee7f67670e9b64d05fa4253e753e016c6c95ff35b89b7941d6b856dec1d5" 1521 + dependencies = [ 1522 + "proc-macro2", 1523 + "quote", 1524 + "syn", 1525 + ] 1526 + 1527 + [[package]] 1389 1528 name = "time" 1390 1529 version = "0.3.40" 1391 1530 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 1427 1566 ] 1428 1567 1429 1568 [[package]] 1569 + name = "tinyvec" 1570 + version = "1.10.0" 1571 + source = "registry+https://github.com/rust-lang/crates.io-index" 1572 + checksum = "bfa5fdc3bce6191a1dbc8c02d5c8bffcf557bafa17c124c5264a458f1b0613fa" 1573 + dependencies = [ 1574 + "tinyvec_macros", 1575 + ] 1576 + 1577 + [[package]] 1578 + name = "tinyvec_macros" 1579 + version = "0.1.1" 1580 + source = "registry+https://github.com/rust-lang/crates.io-index" 1581 + checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" 1582 + 1583 + [[package]] 1430 1584 name = "tokio" 1431 1585 version = "1.50.0" 1432 1586 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 1438 1592 "parking_lot", 1439 1593 "pin-project-lite", 1440 1594 "signal-hook-registry", 1441 - "socket2 0.6.3", 1595 + "socket2", 1442 1596 "tokio-macros", 1443 1597 "windows-sys 0.61.2", 1444 1598 ] ··· 1452 1606 "proc-macro2", 1453 1607 "quote", 1454 1608 "syn", 1455 - ] 1456 - 1457 - [[package]] 1458 - name = "tokio-native-tls" 1459 - version = "0.3.1" 1460 - source = "registry+https://github.com/rust-lang/crates.io-index" 1461 - checksum = "bbae76ab933c85776efabc971569dd6119c580d8f5d448769dec1764bf796ef2" 1462 - dependencies = [ 1463 - "native-tls", 1464 - "tokio", 1465 1609 ] 1466 1610 1467 1611 [[package]] ··· 1503 1647 ] 1504 1648 1505 1649 [[package]] 1650 + name = "tower-http" 1651 + version = "0.6.8" 1652 + source = "registry+https://github.com/rust-lang/crates.io-index" 1653 + checksum = "d4e6559d53cc268e5031cd8429d05415bc4cb4aefc4aa5d6cc35fbf5b924a1f8" 1654 + dependencies = [ 1655 + "bitflags", 1656 + "bytes", 1657 + "futures-util", 1658 + "http", 1659 + "http-body", 1660 + "iri-string", 1661 + "pin-project-lite", 1662 + "tower", 1663 + "tower-layer", 1664 + "tower-service", 1665 + ] 1666 + 1667 + [[package]] 1506 1668 name = "tower-layer" 1507 1669 version = "0.3.3" 1508 1670 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 1584 1746 ] 1585 1747 1586 1748 [[package]] 1587 - name = "vcpkg" 1588 - version = "0.2.15" 1749 + name = "walkdir" 1750 + version = "2.5.0" 1589 1751 source = "registry+https://github.com/rust-lang/crates.io-index" 1590 - checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426" 1752 + checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b" 1753 + dependencies = [ 1754 + "same-file", 1755 + "winapi-util", 1756 + ] 1591 1757 1592 1758 [[package]] 1593 1759 name = "want" ··· 1695 1861 ] 1696 1862 1697 1863 [[package]] 1864 + name = "web-time" 1865 + version = "1.1.0" 1866 + source = "registry+https://github.com/rust-lang/crates.io-index" 1867 + checksum = "5a6580f308b1fad9207618087a65c04e7a10bc77e02c8e84e9b00dd4b12fa0bb" 1868 + dependencies = [ 1869 + "js-sys", 1870 + "wasm-bindgen", 1871 + ] 1872 + 1873 + [[package]] 1874 + name = "webpki-root-certs" 1875 + version = "1.0.6" 1876 + source = "registry+https://github.com/rust-lang/crates.io-index" 1877 + checksum = "804f18a4ac2676ffb4e8b5b5fa9ae38af06df08162314f96a68d2a363e21a8ca" 1878 + dependencies = [ 1879 + "rustls-pki-types", 1880 + ] 1881 + 1882 + [[package]] 1698 1883 name = "winapi" 1699 1884 version = "0.3.9" 1700 1885 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 1711 1896 checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" 1712 1897 1713 1898 [[package]] 1899 + name = "winapi-util" 1900 + version = "0.1.11" 1901 + source = "registry+https://github.com/rust-lang/crates.io-index" 1902 + checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22" 1903 + dependencies = [ 1904 + "windows-sys 0.61.2", 1905 + ] 1906 + 1907 + [[package]] 1714 1908 name = "winapi-x86_64-pc-windows-gnu" 1715 1909 version = "0.4.0" 1716 1910 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 1759 1953 1760 1954 [[package]] 1761 1955 name = "windows-sys" 1956 + version = "0.45.0" 1957 + source = "registry+https://github.com/rust-lang/crates.io-index" 1958 + checksum = "75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0" 1959 + dependencies = [ 1960 + "windows-targets 0.42.2", 1961 + ] 1962 + 1963 + [[package]] 1964 + name = "windows-sys" 1762 1965 version = "0.52.0" 1763 1966 source = "registry+https://github.com/rust-lang/crates.io-index" 1764 1967 checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" ··· 1786 1989 1787 1990 [[package]] 1788 1991 name = "windows-targets" 1992 + version = "0.42.2" 1993 + source = "registry+https://github.com/rust-lang/crates.io-index" 1994 + checksum = "8e5180c00cd44c9b1c88adb3693291f1cd93605ded80c250a75d472756b4d071" 1995 + dependencies = [ 1996 + "windows_aarch64_gnullvm 0.42.2", 1997 + "windows_aarch64_msvc 0.42.2", 1998 + "windows_i686_gnu 0.42.2", 1999 + "windows_i686_msvc 0.42.2", 2000 + "windows_x86_64_gnu 0.42.2", 2001 + "windows_x86_64_gnullvm 0.42.2", 2002 + "windows_x86_64_msvc 0.42.2", 2003 + ] 2004 + 2005 + [[package]] 2006 + name = "windows-targets" 1789 2007 version = "0.52.6" 1790 2008 source = "registry+https://github.com/rust-lang/crates.io-index" 1791 2009 checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973" ··· 1818 2036 1819 2037 [[package]] 1820 2038 name = "windows_aarch64_gnullvm" 2039 + version = "0.42.2" 2040 + source = "registry+https://github.com/rust-lang/crates.io-index" 2041 + checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8" 2042 + 2043 + [[package]] 2044 + name = "windows_aarch64_gnullvm" 1821 2045 version = "0.52.6" 1822 2046 source = "registry+https://github.com/rust-lang/crates.io-index" 1823 2047 checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3" ··· 1830 2054 1831 2055 [[package]] 1832 2056 name = "windows_aarch64_msvc" 2057 + version = "0.42.2" 2058 + source = "registry+https://github.com/rust-lang/crates.io-index" 2059 + checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43" 2060 + 2061 + [[package]] 2062 + name = "windows_aarch64_msvc" 1833 2063 version = "0.52.6" 1834 2064 source = "registry+https://github.com/rust-lang/crates.io-index" 1835 2065 checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" ··· 1839 2069 version = "0.53.0" 1840 2070 source = "registry+https://github.com/rust-lang/crates.io-index" 1841 2071 checksum = "c7651a1f62a11b8cbd5e0d42526e55f2c99886c77e007179efff86c2b137e66c" 2072 + 2073 + [[package]] 2074 + name = "windows_i686_gnu" 2075 + version = "0.42.2" 2076 + source = "registry+https://github.com/rust-lang/crates.io-index" 2077 + checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f" 1842 2078 1843 2079 [[package]] 1844 2080 name = "windows_i686_gnu" ··· 1866 2102 1867 2103 [[package]] 1868 2104 name = "windows_i686_msvc" 2105 + version = "0.42.2" 2106 + source = "registry+https://github.com/rust-lang/crates.io-index" 2107 + checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060" 2108 + 2109 + [[package]] 2110 + name = "windows_i686_msvc" 1869 2111 version = "0.52.6" 1870 2112 source = "registry+https://github.com/rust-lang/crates.io-index" 1871 2113 checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" ··· 1878 2120 1879 2121 [[package]] 1880 2122 name = "windows_x86_64_gnu" 2123 + version = "0.42.2" 2124 + source = "registry+https://github.com/rust-lang/crates.io-index" 2125 + checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36" 2126 + 2127 + [[package]] 2128 + name = "windows_x86_64_gnu" 1881 2129 version = "0.52.6" 1882 2130 source = "registry+https://github.com/rust-lang/crates.io-index" 1883 2131 checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" ··· 1890 2138 1891 2139 [[package]] 1892 2140 name = "windows_x86_64_gnullvm" 2141 + version = "0.42.2" 2142 + source = "registry+https://github.com/rust-lang/crates.io-index" 2143 + checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3" 2144 + 2145 + [[package]] 2146 + name = "windows_x86_64_gnullvm" 1893 2147 version = "0.52.6" 1894 2148 source = "registry+https://github.com/rust-lang/crates.io-index" 1895 2149 checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" ··· 1899 2153 version = "0.53.0" 1900 2154 source = "registry+https://github.com/rust-lang/crates.io-index" 1901 2155 checksum = "0a6e035dd0599267ce1ee132e51c27dd29437f63325753051e71dd9e42406c57" 2156 + 2157 + [[package]] 2158 + name = "windows_x86_64_msvc" 2159 + version = "0.42.2" 2160 + source = "registry+https://github.com/rust-lang/crates.io-index" 2161 + checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0" 1902 2162 1903 2163 [[package]] 1904 2164 name = "windows_x86_64_msvc" ··· 1978 2238 "quote", 1979 2239 "syn", 1980 2240 "synstructure", 2241 + ] 2242 + 2243 + [[package]] 2244 + name = "zerocopy" 2245 + version = "0.8.42" 2246 + source = "registry+https://github.com/rust-lang/crates.io-index" 2247 + checksum = "f2578b716f8a7a858b7f02d5bd870c14bf4ddbbcf3a4c05414ba6503640505e3" 2248 + dependencies = [ 2249 + "zerocopy-derive", 2250 + ] 2251 + 2252 + [[package]] 2253 + name = "zerocopy-derive" 2254 + version = "0.8.42" 2255 + source = "registry+https://github.com/rust-lang/crates.io-index" 2256 + checksum = "7e6cc098ea4d3bd6246687de65af3f920c430e236bee1e3bf2e441463f08a02f" 2257 + dependencies = [ 2258 + "proc-macro2", 2259 + "quote", 2260 + "syn", 1981 2261 ] 1982 2262 1983 2263 [[package]]
+1 -3
docker-compose.yml
··· 1 1 services: 2 2 strong-api-fetch: 3 - build: 4 - context: . 3 + image: factorion-bot:${VERSION} 5 4 container_name: strong-api-fetch 6 5 restart: unless-stopped 7 6 depends_on: 8 7 clickhouse-server: 9 8 condition: service_started 10 - 11 9 volumes: 12 10 - ./:/usr/strong-api-fetch 13 11 networks:
+4 -4
strong-api-fetch/Cargo.toml
··· 1 1 [package] 2 2 name = "strong-api-fetch" 3 - version = "0.2.1" 3 + version = "0.2.2" 4 4 edition = "2024" 5 5 6 6 [dependencies] 7 7 strong-api-lib = { path = "../strong-api-lib" } 8 8 dotenvy = "0.15" 9 - reqwest = "0.12.14" 9 + reqwest = "0.13.2" 10 10 serde_json = "1.0" 11 11 tokio = { version = "1", features = ["full"] } 12 - clickhouse = { version = "0.13.2", features = ["inserter", "time", "uuid"] } 12 + clickhouse = { version = "0.13.3", features = ["inserter", "time", "uuid"] } 13 13 serde = { version = "1.0.219", features = ["derive"] } 14 14 uuid = { version = "1.15.1", features = ["serde"] } 15 15 time = { version = "0.3.40", features = ["parsing", "macros", "formatting"] } 16 16 17 17 [dev-dependencies] 18 - clickhouse = { version = "0.13.2", features = ["test-util"] } 18 + clickhouse = { version = "0.13.3", features = ["test-util"] }
+3 -2
strong-api-fetch/src/clickhouse_saver.rs
··· 1 1 use clickhouse::Row; 2 2 use serde::{Deserialize, Serialize}; 3 3 use std::error::Error; 4 - use strong_api_lib::data_transformer::{Exercise, Workout}; 4 + use clickhouse::insert::Insert; 5 + use strong_api_lib::data_transformer::Workout; 5 6 use time::OffsetDateTime; 6 7 use time::format_description::well_known::Rfc3339; 7 8 use uuid::Uuid; ··· 62 63 /// 63 64 /// A Result indicating success or any error encountered. 64 65 pub async fn save_workout(&self, workout: &Workout) -> Result<(), Box<dyn Error>> { 65 - let mut insert = self.client.insert(&self.table_name)?; 66 + let mut insert: Insert<WorkoutSet> = self.client.insert(&self.table_name)?; 66 67 67 68 for exercise in &workout.exercises { 68 69 let exercise_nr = workout
+2 -2
strong-api-lib/Cargo.toml
··· 1 1 [package] 2 2 name = "strong-api-lib" 3 - version = "0.3.1" 3 + version = "0.3.2" 4 4 edition = "2024" 5 5 6 6 [dependencies] 7 - reqwest = { version = "0.12.12", features = ["json"] } 7 + reqwest = { version = "0.13.2", features = ["json"] } 8 8 serde_json = "1.0.139" 9 9 serde = { version = "1.0.218", features = ["derive"] } 10 10