Fetch User Keys - simple tool for fetching SSH keys from various sources
2
fork

Configure Feed

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

ft: setup of Rust implementation

+1279
+1202
Cargo.lock
··· 1 + # This file is automatically @generated by Cargo. 2 + # It is not intended for manual editing. 3 + version = 3 4 + 5 + [[package]] 6 + name = "addr2line" 7 + version = "0.21.0" 8 + source = "registry+https://github.com/rust-lang/crates.io-index" 9 + checksum = "8a30b2e23b9e17a9f90641c7ab1549cd9b44f296d3ccbf309d2863cfe398a0cb" 10 + dependencies = [ 11 + "gimli", 12 + ] 13 + 14 + [[package]] 15 + name = "adler" 16 + version = "1.0.2" 17 + source = "registry+https://github.com/rust-lang/crates.io-index" 18 + checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" 19 + 20 + [[package]] 21 + name = "autocfg" 22 + version = "1.1.0" 23 + source = "registry+https://github.com/rust-lang/crates.io-index" 24 + checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" 25 + 26 + [[package]] 27 + name = "backtrace" 28 + version = "0.3.69" 29 + source = "registry+https://github.com/rust-lang/crates.io-index" 30 + checksum = "2089b7e3f35b9dd2d0ed921ead4f6d318c27680d4a5bd167b3ee120edb105837" 31 + dependencies = [ 32 + "addr2line", 33 + "cc", 34 + "cfg-if", 35 + "libc", 36 + "miniz_oxide", 37 + "object", 38 + "rustc-demangle", 39 + ] 40 + 41 + [[package]] 42 + name = "base64" 43 + version = "0.21.7" 44 + source = "registry+https://github.com/rust-lang/crates.io-index" 45 + checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567" 46 + 47 + [[package]] 48 + name = "bitflags" 49 + version = "1.3.2" 50 + source = "registry+https://github.com/rust-lang/crates.io-index" 51 + checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" 52 + 53 + [[package]] 54 + name = "bitflags" 55 + version = "2.4.2" 56 + source = "registry+https://github.com/rust-lang/crates.io-index" 57 + checksum = "ed570934406eb16438a4e976b1b4500774099c13b8cb96eec99f620f05090ddf" 58 + 59 + [[package]] 60 + name = "bumpalo" 61 + version = "3.14.0" 62 + source = "registry+https://github.com/rust-lang/crates.io-index" 63 + checksum = "7f30e7476521f6f8af1a1c4c0b8cc94f0bee37d91763d0ca2665f299b6cd8aec" 64 + 65 + [[package]] 66 + name = "bytes" 67 + version = "1.5.0" 68 + source = "registry+https://github.com/rust-lang/crates.io-index" 69 + checksum = "a2bd12c1caf447e69cd4528f47f94d203fd2582878ecb9e9465484c4148a8223" 70 + 71 + [[package]] 72 + name = "cc" 73 + version = "1.0.83" 74 + source = "registry+https://github.com/rust-lang/crates.io-index" 75 + checksum = "f1174fb0b6ec23863f8b971027804a42614e347eafb0a95bf0b12cdae21fc4d0" 76 + dependencies = [ 77 + "libc", 78 + ] 79 + 80 + [[package]] 81 + name = "cfg-if" 82 + version = "1.0.0" 83 + source = "registry+https://github.com/rust-lang/crates.io-index" 84 + checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" 85 + 86 + [[package]] 87 + name = "core-foundation" 88 + version = "0.9.4" 89 + source = "registry+https://github.com/rust-lang/crates.io-index" 90 + checksum = "91e195e091a93c46f7102ec7818a2aa394e1e1771c3ab4825963fa03e45afb8f" 91 + dependencies = [ 92 + "core-foundation-sys", 93 + "libc", 94 + ] 95 + 96 + [[package]] 97 + name = "core-foundation-sys" 98 + version = "0.8.6" 99 + source = "registry+https://github.com/rust-lang/crates.io-index" 100 + checksum = "06ea2b9bc92be3c2baa9334a323ebca2d6f074ff852cd1d7b11064035cd3868f" 101 + 102 + [[package]] 103 + name = "encoding_rs" 104 + version = "0.8.33" 105 + source = "registry+https://github.com/rust-lang/crates.io-index" 106 + checksum = "7268b386296a025e474d5140678f75d6de9493ae55a5d709eeb9dd08149945e1" 107 + dependencies = [ 108 + "cfg-if", 109 + ] 110 + 111 + [[package]] 112 + name = "equivalent" 113 + version = "1.0.1" 114 + source = "registry+https://github.com/rust-lang/crates.io-index" 115 + checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" 116 + 117 + [[package]] 118 + name = "errno" 119 + version = "0.3.8" 120 + source = "registry+https://github.com/rust-lang/crates.io-index" 121 + checksum = "a258e46cdc063eb8519c00b9fc845fc47bcfca4130e2f08e88665ceda8474245" 122 + dependencies = [ 123 + "libc", 124 + "windows-sys 0.52.0", 125 + ] 126 + 127 + [[package]] 128 + name = "fastrand" 129 + version = "2.0.1" 130 + source = "registry+https://github.com/rust-lang/crates.io-index" 131 + checksum = "25cbce373ec4653f1a01a31e8a5e5ec0c622dc27ff9c4e6606eefef5cbbed4a5" 132 + 133 + [[package]] 134 + name = "fnv" 135 + version = "1.0.7" 136 + source = "registry+https://github.com/rust-lang/crates.io-index" 137 + checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" 138 + 139 + [[package]] 140 + name = "foreign-types" 141 + version = "0.3.2" 142 + source = "registry+https://github.com/rust-lang/crates.io-index" 143 + checksum = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1" 144 + dependencies = [ 145 + "foreign-types-shared", 146 + ] 147 + 148 + [[package]] 149 + name = "foreign-types-shared" 150 + version = "0.1.1" 151 + source = "registry+https://github.com/rust-lang/crates.io-index" 152 + checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" 153 + 154 + [[package]] 155 + name = "form_urlencoded" 156 + version = "1.2.1" 157 + source = "registry+https://github.com/rust-lang/crates.io-index" 158 + checksum = "e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456" 159 + dependencies = [ 160 + "percent-encoding", 161 + ] 162 + 163 + [[package]] 164 + name = "fuk" 165 + version = "0.1.0" 166 + dependencies = [ 167 + "futures", 168 + "reqwest", 169 + "tokio", 170 + "tokio-stream", 171 + ] 172 + 173 + [[package]] 174 + name = "futures" 175 + version = "0.3.30" 176 + source = "registry+https://github.com/rust-lang/crates.io-index" 177 + checksum = "645c6916888f6cb6350d2550b80fb63e734897a8498abe35cfb732b6487804b0" 178 + dependencies = [ 179 + "futures-channel", 180 + "futures-core", 181 + "futures-executor", 182 + "futures-io", 183 + "futures-sink", 184 + "futures-task", 185 + "futures-util", 186 + ] 187 + 188 + [[package]] 189 + name = "futures-channel" 190 + version = "0.3.30" 191 + source = "registry+https://github.com/rust-lang/crates.io-index" 192 + checksum = "eac8f7d7865dcb88bd4373ab671c8cf4508703796caa2b1985a9ca867b3fcb78" 193 + dependencies = [ 194 + "futures-core", 195 + "futures-sink", 196 + ] 197 + 198 + [[package]] 199 + name = "futures-core" 200 + version = "0.3.30" 201 + source = "registry+https://github.com/rust-lang/crates.io-index" 202 + checksum = "dfc6580bb841c5a68e9ef15c77ccc837b40a7504914d52e47b8b0e9bbda25a1d" 203 + 204 + [[package]] 205 + name = "futures-executor" 206 + version = "0.3.30" 207 + source = "registry+https://github.com/rust-lang/crates.io-index" 208 + checksum = "a576fc72ae164fca6b9db127eaa9a9dda0d61316034f33a0a0d4eda41f02b01d" 209 + dependencies = [ 210 + "futures-core", 211 + "futures-task", 212 + "futures-util", 213 + ] 214 + 215 + [[package]] 216 + name = "futures-io" 217 + version = "0.3.30" 218 + source = "registry+https://github.com/rust-lang/crates.io-index" 219 + checksum = "a44623e20b9681a318efdd71c299b6b222ed6f231972bfe2f224ebad6311f0c1" 220 + 221 + [[package]] 222 + name = "futures-macro" 223 + version = "0.3.30" 224 + source = "registry+https://github.com/rust-lang/crates.io-index" 225 + checksum = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac" 226 + dependencies = [ 227 + "proc-macro2", 228 + "quote", 229 + "syn", 230 + ] 231 + 232 + [[package]] 233 + name = "futures-sink" 234 + version = "0.3.30" 235 + source = "registry+https://github.com/rust-lang/crates.io-index" 236 + checksum = "9fb8e00e87438d937621c1c6269e53f536c14d3fbd6a042bb24879e57d474fb5" 237 + 238 + [[package]] 239 + name = "futures-task" 240 + version = "0.3.30" 241 + source = "registry+https://github.com/rust-lang/crates.io-index" 242 + checksum = "38d84fa142264698cdce1a9f9172cf383a0c82de1bddcf3092901442c4097004" 243 + 244 + [[package]] 245 + name = "futures-util" 246 + version = "0.3.30" 247 + source = "registry+https://github.com/rust-lang/crates.io-index" 248 + checksum = "3d6401deb83407ab3da39eba7e33987a73c3df0c82b4bb5813ee871c19c41d48" 249 + dependencies = [ 250 + "futures-channel", 251 + "futures-core", 252 + "futures-io", 253 + "futures-macro", 254 + "futures-sink", 255 + "futures-task", 256 + "memchr", 257 + "pin-project-lite", 258 + "pin-utils", 259 + "slab", 260 + ] 261 + 262 + [[package]] 263 + name = "gimli" 264 + version = "0.28.1" 265 + source = "registry+https://github.com/rust-lang/crates.io-index" 266 + checksum = "4271d37baee1b8c7e4b708028c57d816cf9d2434acb33a549475f78c181f6253" 267 + 268 + [[package]] 269 + name = "h2" 270 + version = "0.3.24" 271 + source = "registry+https://github.com/rust-lang/crates.io-index" 272 + checksum = "bb2c4422095b67ee78da96fbb51a4cc413b3b25883c7717ff7ca1ab31022c9c9" 273 + dependencies = [ 274 + "bytes", 275 + "fnv", 276 + "futures-core", 277 + "futures-sink", 278 + "futures-util", 279 + "http", 280 + "indexmap", 281 + "slab", 282 + "tokio", 283 + "tokio-util", 284 + "tracing", 285 + ] 286 + 287 + [[package]] 288 + name = "hashbrown" 289 + version = "0.14.3" 290 + source = "registry+https://github.com/rust-lang/crates.io-index" 291 + checksum = "290f1a1d9242c78d09ce40a5e87e7554ee637af1351968159f4952f028f75604" 292 + 293 + [[package]] 294 + name = "hermit-abi" 295 + version = "0.3.4" 296 + source = "registry+https://github.com/rust-lang/crates.io-index" 297 + checksum = "5d3d0e0f38255e7fa3cf31335b3a56f05febd18025f4db5ef7a0cfb4f8da651f" 298 + 299 + [[package]] 300 + name = "http" 301 + version = "0.2.11" 302 + source = "registry+https://github.com/rust-lang/crates.io-index" 303 + checksum = "8947b1a6fad4393052c7ba1f4cd97bed3e953a95c79c92ad9b051a04611d9fbb" 304 + dependencies = [ 305 + "bytes", 306 + "fnv", 307 + "itoa", 308 + ] 309 + 310 + [[package]] 311 + name = "http-body" 312 + version = "0.4.6" 313 + source = "registry+https://github.com/rust-lang/crates.io-index" 314 + checksum = "7ceab25649e9960c0311ea418d17bee82c0dcec1bd053b5f9a66e265a693bed2" 315 + dependencies = [ 316 + "bytes", 317 + "http", 318 + "pin-project-lite", 319 + ] 320 + 321 + [[package]] 322 + name = "httparse" 323 + version = "1.8.0" 324 + source = "registry+https://github.com/rust-lang/crates.io-index" 325 + checksum = "d897f394bad6a705d5f4104762e116a75639e470d80901eed05a860a95cb1904" 326 + 327 + [[package]] 328 + name = "httpdate" 329 + version = "1.0.3" 330 + source = "registry+https://github.com/rust-lang/crates.io-index" 331 + checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9" 332 + 333 + [[package]] 334 + name = "hyper" 335 + version = "0.14.28" 336 + source = "registry+https://github.com/rust-lang/crates.io-index" 337 + checksum = "bf96e135eb83a2a8ddf766e426a841d8ddd7449d5f00d34ea02b41d2f19eef80" 338 + dependencies = [ 339 + "bytes", 340 + "futures-channel", 341 + "futures-core", 342 + "futures-util", 343 + "h2", 344 + "http", 345 + "http-body", 346 + "httparse", 347 + "httpdate", 348 + "itoa", 349 + "pin-project-lite", 350 + "socket2", 351 + "tokio", 352 + "tower-service", 353 + "tracing", 354 + "want", 355 + ] 356 + 357 + [[package]] 358 + name = "hyper-tls" 359 + version = "0.5.0" 360 + source = "registry+https://github.com/rust-lang/crates.io-index" 361 + checksum = "d6183ddfa99b85da61a140bea0efc93fdf56ceaa041b37d553518030827f9905" 362 + dependencies = [ 363 + "bytes", 364 + "hyper", 365 + "native-tls", 366 + "tokio", 367 + "tokio-native-tls", 368 + ] 369 + 370 + [[package]] 371 + name = "idna" 372 + version = "0.5.0" 373 + source = "registry+https://github.com/rust-lang/crates.io-index" 374 + checksum = "634d9b1461af396cad843f47fdba5597a4f9e6ddd4bfb6ff5d85028c25cb12f6" 375 + dependencies = [ 376 + "unicode-bidi", 377 + "unicode-normalization", 378 + ] 379 + 380 + [[package]] 381 + name = "indexmap" 382 + version = "2.2.2" 383 + source = "registry+https://github.com/rust-lang/crates.io-index" 384 + checksum = "824b2ae422412366ba479e8111fd301f7b5faece8149317bb81925979a53f520" 385 + dependencies = [ 386 + "equivalent", 387 + "hashbrown", 388 + ] 389 + 390 + [[package]] 391 + name = "ipnet" 392 + version = "2.9.0" 393 + source = "registry+https://github.com/rust-lang/crates.io-index" 394 + checksum = "8f518f335dce6725a761382244631d86cf0ccb2863413590b31338feb467f9c3" 395 + 396 + [[package]] 397 + name = "itoa" 398 + version = "1.0.10" 399 + source = "registry+https://github.com/rust-lang/crates.io-index" 400 + checksum = "b1a46d1a171d865aa5f83f92695765caa047a9b4cbae2cbf37dbd613a793fd4c" 401 + 402 + [[package]] 403 + name = "js-sys" 404 + version = "0.3.68" 405 + source = "registry+https://github.com/rust-lang/crates.io-index" 406 + checksum = "406cda4b368d531c842222cf9d2600a9a4acce8d29423695379c6868a143a9ee" 407 + dependencies = [ 408 + "wasm-bindgen", 409 + ] 410 + 411 + [[package]] 412 + name = "lazy_static" 413 + version = "1.4.0" 414 + source = "registry+https://github.com/rust-lang/crates.io-index" 415 + checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" 416 + 417 + [[package]] 418 + name = "libc" 419 + version = "0.2.153" 420 + source = "registry+https://github.com/rust-lang/crates.io-index" 421 + checksum = "9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bd" 422 + 423 + [[package]] 424 + name = "linux-raw-sys" 425 + version = "0.4.13" 426 + source = "registry+https://github.com/rust-lang/crates.io-index" 427 + checksum = "01cda141df6706de531b6c46c3a33ecca755538219bd484262fa09410c13539c" 428 + 429 + [[package]] 430 + name = "log" 431 + version = "0.4.20" 432 + source = "registry+https://github.com/rust-lang/crates.io-index" 433 + checksum = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f" 434 + 435 + [[package]] 436 + name = "memchr" 437 + version = "2.7.1" 438 + source = "registry+https://github.com/rust-lang/crates.io-index" 439 + checksum = "523dc4f511e55ab87b694dc30d0f820d60906ef06413f93d4d7a1385599cc149" 440 + 441 + [[package]] 442 + name = "mime" 443 + version = "0.3.17" 444 + source = "registry+https://github.com/rust-lang/crates.io-index" 445 + checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a" 446 + 447 + [[package]] 448 + name = "miniz_oxide" 449 + version = "0.7.2" 450 + source = "registry+https://github.com/rust-lang/crates.io-index" 451 + checksum = "9d811f3e15f28568be3407c8e7fdb6514c1cda3cb30683f15b6a1a1dc4ea14a7" 452 + dependencies = [ 453 + "adler", 454 + ] 455 + 456 + [[package]] 457 + name = "mio" 458 + version = "0.8.10" 459 + source = "registry+https://github.com/rust-lang/crates.io-index" 460 + checksum = "8f3d0b296e374a4e6f3c7b0a1f5a51d748a0d34c85e7dc48fc3fa9a87657fe09" 461 + dependencies = [ 462 + "libc", 463 + "wasi", 464 + "windows-sys 0.48.0", 465 + ] 466 + 467 + [[package]] 468 + name = "native-tls" 469 + version = "0.2.11" 470 + source = "registry+https://github.com/rust-lang/crates.io-index" 471 + checksum = "07226173c32f2926027b63cce4bcd8076c3552846cbe7925f3aaffeac0a3b92e" 472 + dependencies = [ 473 + "lazy_static", 474 + "libc", 475 + "log", 476 + "openssl", 477 + "openssl-probe", 478 + "openssl-sys", 479 + "schannel", 480 + "security-framework", 481 + "security-framework-sys", 482 + "tempfile", 483 + ] 484 + 485 + [[package]] 486 + name = "num_cpus" 487 + version = "1.16.0" 488 + source = "registry+https://github.com/rust-lang/crates.io-index" 489 + checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43" 490 + dependencies = [ 491 + "hermit-abi", 492 + "libc", 493 + ] 494 + 495 + [[package]] 496 + name = "object" 497 + version = "0.32.2" 498 + source = "registry+https://github.com/rust-lang/crates.io-index" 499 + checksum = "a6a622008b6e321afc04970976f62ee297fdbaa6f95318ca343e3eebb9648441" 500 + dependencies = [ 501 + "memchr", 502 + ] 503 + 504 + [[package]] 505 + name = "once_cell" 506 + version = "1.19.0" 507 + source = "registry+https://github.com/rust-lang/crates.io-index" 508 + checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" 509 + 510 + [[package]] 511 + name = "openssl" 512 + version = "0.10.63" 513 + source = "registry+https://github.com/rust-lang/crates.io-index" 514 + checksum = "15c9d69dd87a29568d4d017cfe8ec518706046a05184e5aea92d0af890b803c8" 515 + dependencies = [ 516 + "bitflags 2.4.2", 517 + "cfg-if", 518 + "foreign-types", 519 + "libc", 520 + "once_cell", 521 + "openssl-macros", 522 + "openssl-sys", 523 + ] 524 + 525 + [[package]] 526 + name = "openssl-macros" 527 + version = "0.1.1" 528 + source = "registry+https://github.com/rust-lang/crates.io-index" 529 + checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c" 530 + dependencies = [ 531 + "proc-macro2", 532 + "quote", 533 + "syn", 534 + ] 535 + 536 + [[package]] 537 + name = "openssl-probe" 538 + version = "0.1.5" 539 + source = "registry+https://github.com/rust-lang/crates.io-index" 540 + checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" 541 + 542 + [[package]] 543 + name = "openssl-sys" 544 + version = "0.9.99" 545 + source = "registry+https://github.com/rust-lang/crates.io-index" 546 + checksum = "22e1bf214306098e4832460f797824c05d25aacdf896f64a985fb0fd992454ae" 547 + dependencies = [ 548 + "cc", 549 + "libc", 550 + "pkg-config", 551 + "vcpkg", 552 + ] 553 + 554 + [[package]] 555 + name = "percent-encoding" 556 + version = "2.3.1" 557 + source = "registry+https://github.com/rust-lang/crates.io-index" 558 + checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" 559 + 560 + [[package]] 561 + name = "pin-project-lite" 562 + version = "0.2.13" 563 + source = "registry+https://github.com/rust-lang/crates.io-index" 564 + checksum = "8afb450f006bf6385ca15ef45d71d2288452bc3683ce2e2cacc0d18e4be60b58" 565 + 566 + [[package]] 567 + name = "pin-utils" 568 + version = "0.1.0" 569 + source = "registry+https://github.com/rust-lang/crates.io-index" 570 + checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" 571 + 572 + [[package]] 573 + name = "pkg-config" 574 + version = "0.3.29" 575 + source = "registry+https://github.com/rust-lang/crates.io-index" 576 + checksum = "2900ede94e305130c13ddd391e0ab7cbaeb783945ae07a279c268cb05109c6cb" 577 + 578 + [[package]] 579 + name = "proc-macro2" 580 + version = "1.0.78" 581 + source = "registry+https://github.com/rust-lang/crates.io-index" 582 + checksum = "e2422ad645d89c99f8f3e6b88a9fdeca7fabeac836b1002371c4367c8f984aae" 583 + dependencies = [ 584 + "unicode-ident", 585 + ] 586 + 587 + [[package]] 588 + name = "quote" 589 + version = "1.0.35" 590 + source = "registry+https://github.com/rust-lang/crates.io-index" 591 + checksum = "291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868ef" 592 + dependencies = [ 593 + "proc-macro2", 594 + ] 595 + 596 + [[package]] 597 + name = "reqwest" 598 + version = "0.11.24" 599 + source = "registry+https://github.com/rust-lang/crates.io-index" 600 + checksum = "c6920094eb85afde5e4a138be3f2de8bbdf28000f0029e72c45025a56b042251" 601 + dependencies = [ 602 + "base64", 603 + "bytes", 604 + "encoding_rs", 605 + "futures-core", 606 + "futures-util", 607 + "h2", 608 + "http", 609 + "http-body", 610 + "hyper", 611 + "hyper-tls", 612 + "ipnet", 613 + "js-sys", 614 + "log", 615 + "mime", 616 + "native-tls", 617 + "once_cell", 618 + "percent-encoding", 619 + "pin-project-lite", 620 + "rustls-pemfile", 621 + "serde", 622 + "serde_json", 623 + "serde_urlencoded", 624 + "sync_wrapper", 625 + "system-configuration", 626 + "tokio", 627 + "tokio-native-tls", 628 + "tower-service", 629 + "url", 630 + "wasm-bindgen", 631 + "wasm-bindgen-futures", 632 + "web-sys", 633 + "winreg", 634 + ] 635 + 636 + [[package]] 637 + name = "rustc-demangle" 638 + version = "0.1.23" 639 + source = "registry+https://github.com/rust-lang/crates.io-index" 640 + checksum = "d626bb9dae77e28219937af045c257c28bfd3f69333c512553507f5f9798cb76" 641 + 642 + [[package]] 643 + name = "rustix" 644 + version = "0.38.31" 645 + source = "registry+https://github.com/rust-lang/crates.io-index" 646 + checksum = "6ea3e1a662af26cd7a3ba09c0297a31af215563ecf42817c98df621387f4e949" 647 + dependencies = [ 648 + "bitflags 2.4.2", 649 + "errno", 650 + "libc", 651 + "linux-raw-sys", 652 + "windows-sys 0.52.0", 653 + ] 654 + 655 + [[package]] 656 + name = "rustls-pemfile" 657 + version = "1.0.4" 658 + source = "registry+https://github.com/rust-lang/crates.io-index" 659 + checksum = "1c74cae0a4cf6ccbbf5f359f08efdf8ee7e1dc532573bf0db71968cb56b1448c" 660 + dependencies = [ 661 + "base64", 662 + ] 663 + 664 + [[package]] 665 + name = "ryu" 666 + version = "1.0.16" 667 + source = "registry+https://github.com/rust-lang/crates.io-index" 668 + checksum = "f98d2aa92eebf49b69786be48e4477826b256916e84a57ff2a4f21923b48eb4c" 669 + 670 + [[package]] 671 + name = "schannel" 672 + version = "0.1.23" 673 + source = "registry+https://github.com/rust-lang/crates.io-index" 674 + checksum = "fbc91545643bcf3a0bbb6569265615222618bdf33ce4ffbbd13c4bbd4c093534" 675 + dependencies = [ 676 + "windows-sys 0.52.0", 677 + ] 678 + 679 + [[package]] 680 + name = "security-framework" 681 + version = "2.9.2" 682 + source = "registry+https://github.com/rust-lang/crates.io-index" 683 + checksum = "05b64fb303737d99b81884b2c63433e9ae28abebe5eb5045dcdd175dc2ecf4de" 684 + dependencies = [ 685 + "bitflags 1.3.2", 686 + "core-foundation", 687 + "core-foundation-sys", 688 + "libc", 689 + "security-framework-sys", 690 + ] 691 + 692 + [[package]] 693 + name = "security-framework-sys" 694 + version = "2.9.1" 695 + source = "registry+https://github.com/rust-lang/crates.io-index" 696 + checksum = "e932934257d3b408ed8f30db49d85ea163bfe74961f017f405b025af298f0c7a" 697 + dependencies = [ 698 + "core-foundation-sys", 699 + "libc", 700 + ] 701 + 702 + [[package]] 703 + name = "serde" 704 + version = "1.0.196" 705 + source = "registry+https://github.com/rust-lang/crates.io-index" 706 + checksum = "870026e60fa08c69f064aa766c10f10b1d62db9ccd4d0abb206472bee0ce3b32" 707 + dependencies = [ 708 + "serde_derive", 709 + ] 710 + 711 + [[package]] 712 + name = "serde_derive" 713 + version = "1.0.196" 714 + source = "registry+https://github.com/rust-lang/crates.io-index" 715 + checksum = "33c85360c95e7d137454dc81d9a4ed2b8efd8fbe19cee57357b32b9771fccb67" 716 + dependencies = [ 717 + "proc-macro2", 718 + "quote", 719 + "syn", 720 + ] 721 + 722 + [[package]] 723 + name = "serde_json" 724 + version = "1.0.113" 725 + source = "registry+https://github.com/rust-lang/crates.io-index" 726 + checksum = "69801b70b1c3dac963ecb03a364ba0ceda9cf60c71cfe475e99864759c8b8a79" 727 + dependencies = [ 728 + "itoa", 729 + "ryu", 730 + "serde", 731 + ] 732 + 733 + [[package]] 734 + name = "serde_urlencoded" 735 + version = "0.7.1" 736 + source = "registry+https://github.com/rust-lang/crates.io-index" 737 + checksum = "d3491c14715ca2294c4d6a88f15e84739788c1d030eed8c110436aafdaa2f3fd" 738 + dependencies = [ 739 + "form_urlencoded", 740 + "itoa", 741 + "ryu", 742 + "serde", 743 + ] 744 + 745 + [[package]] 746 + name = "signal-hook-registry" 747 + version = "1.4.1" 748 + source = "registry+https://github.com/rust-lang/crates.io-index" 749 + checksum = "d8229b473baa5980ac72ef434c4415e70c4b5e71b423043adb4ba059f89c99a1" 750 + dependencies = [ 751 + "libc", 752 + ] 753 + 754 + [[package]] 755 + name = "slab" 756 + version = "0.4.9" 757 + source = "registry+https://github.com/rust-lang/crates.io-index" 758 + checksum = "8f92a496fb766b417c996b9c5e57daf2f7ad3b0bebe1ccfca4856390e3d3bb67" 759 + dependencies = [ 760 + "autocfg", 761 + ] 762 + 763 + [[package]] 764 + name = "socket2" 765 + version = "0.5.5" 766 + source = "registry+https://github.com/rust-lang/crates.io-index" 767 + checksum = "7b5fac59a5cb5dd637972e5fca70daf0523c9067fcdc4842f053dae04a18f8e9" 768 + dependencies = [ 769 + "libc", 770 + "windows-sys 0.48.0", 771 + ] 772 + 773 + [[package]] 774 + name = "syn" 775 + version = "2.0.48" 776 + source = "registry+https://github.com/rust-lang/crates.io-index" 777 + checksum = "0f3531638e407dfc0814761abb7c00a5b54992b849452a0646b7f65c9f770f3f" 778 + dependencies = [ 779 + "proc-macro2", 780 + "quote", 781 + "unicode-ident", 782 + ] 783 + 784 + [[package]] 785 + name = "sync_wrapper" 786 + version = "0.1.2" 787 + source = "registry+https://github.com/rust-lang/crates.io-index" 788 + checksum = "2047c6ded9c721764247e62cd3b03c09ffc529b2ba5b10ec482ae507a4a70160" 789 + 790 + [[package]] 791 + name = "system-configuration" 792 + version = "0.5.1" 793 + source = "registry+https://github.com/rust-lang/crates.io-index" 794 + checksum = "ba3a3adc5c275d719af8cb4272ea1c4a6d668a777f37e115f6d11ddbc1c8e0e7" 795 + dependencies = [ 796 + "bitflags 1.3.2", 797 + "core-foundation", 798 + "system-configuration-sys", 799 + ] 800 + 801 + [[package]] 802 + name = "system-configuration-sys" 803 + version = "0.5.0" 804 + source = "registry+https://github.com/rust-lang/crates.io-index" 805 + checksum = "a75fb188eb626b924683e3b95e3a48e63551fcfb51949de2f06a9d91dbee93c9" 806 + dependencies = [ 807 + "core-foundation-sys", 808 + "libc", 809 + ] 810 + 811 + [[package]] 812 + name = "tempfile" 813 + version = "3.10.0" 814 + source = "registry+https://github.com/rust-lang/crates.io-index" 815 + checksum = "a365e8cd18e44762ef95d87f284f4b5cd04107fec2ff3052bd6a3e6069669e67" 816 + dependencies = [ 817 + "cfg-if", 818 + "fastrand", 819 + "rustix", 820 + "windows-sys 0.52.0", 821 + ] 822 + 823 + [[package]] 824 + name = "tinyvec" 825 + version = "1.6.0" 826 + source = "registry+https://github.com/rust-lang/crates.io-index" 827 + checksum = "87cc5ceb3875bb20c2890005a4e226a4651264a5c75edb2421b52861a0a0cb50" 828 + dependencies = [ 829 + "tinyvec_macros", 830 + ] 831 + 832 + [[package]] 833 + name = "tinyvec_macros" 834 + version = "0.1.1" 835 + source = "registry+https://github.com/rust-lang/crates.io-index" 836 + checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" 837 + 838 + [[package]] 839 + name = "tokio" 840 + version = "1.36.0" 841 + source = "registry+https://github.com/rust-lang/crates.io-index" 842 + checksum = "61285f6515fa018fb2d1e46eb21223fff441ee8db5d0f1435e8ab4f5cdb80931" 843 + dependencies = [ 844 + "backtrace", 845 + "bytes", 846 + "libc", 847 + "mio", 848 + "num_cpus", 849 + "pin-project-lite", 850 + "signal-hook-registry", 851 + "socket2", 852 + "tokio-macros", 853 + "windows-sys 0.48.0", 854 + ] 855 + 856 + [[package]] 857 + name = "tokio-macros" 858 + version = "2.2.0" 859 + source = "registry+https://github.com/rust-lang/crates.io-index" 860 + checksum = "5b8a1e28f2deaa14e508979454cb3a223b10b938b45af148bc0986de36f1923b" 861 + dependencies = [ 862 + "proc-macro2", 863 + "quote", 864 + "syn", 865 + ] 866 + 867 + [[package]] 868 + name = "tokio-native-tls" 869 + version = "0.3.1" 870 + source = "registry+https://github.com/rust-lang/crates.io-index" 871 + checksum = "bbae76ab933c85776efabc971569dd6119c580d8f5d448769dec1764bf796ef2" 872 + dependencies = [ 873 + "native-tls", 874 + "tokio", 875 + ] 876 + 877 + [[package]] 878 + name = "tokio-stream" 879 + version = "0.1.14" 880 + source = "registry+https://github.com/rust-lang/crates.io-index" 881 + checksum = "397c988d37662c7dda6d2208364a706264bf3d6138b11d436cbac0ad38832842" 882 + dependencies = [ 883 + "futures-core", 884 + "pin-project-lite", 885 + "tokio", 886 + ] 887 + 888 + [[package]] 889 + name = "tokio-util" 890 + version = "0.7.10" 891 + source = "registry+https://github.com/rust-lang/crates.io-index" 892 + checksum = "5419f34732d9eb6ee4c3578b7989078579b7f039cbbb9ca2c4da015749371e15" 893 + dependencies = [ 894 + "bytes", 895 + "futures-core", 896 + "futures-sink", 897 + "pin-project-lite", 898 + "tokio", 899 + "tracing", 900 + ] 901 + 902 + [[package]] 903 + name = "tower-service" 904 + version = "0.3.2" 905 + source = "registry+https://github.com/rust-lang/crates.io-index" 906 + checksum = "b6bc1c9ce2b5135ac7f93c72918fc37feb872bdc6a5533a8b85eb4b86bfdae52" 907 + 908 + [[package]] 909 + name = "tracing" 910 + version = "0.1.40" 911 + source = "registry+https://github.com/rust-lang/crates.io-index" 912 + checksum = "c3523ab5a71916ccf420eebdf5521fcef02141234bbc0b8a49f2fdc4544364ef" 913 + dependencies = [ 914 + "pin-project-lite", 915 + "tracing-core", 916 + ] 917 + 918 + [[package]] 919 + name = "tracing-core" 920 + version = "0.1.32" 921 + source = "registry+https://github.com/rust-lang/crates.io-index" 922 + checksum = "c06d3da6113f116aaee68e4d601191614c9053067f9ab7f6edbcb161237daa54" 923 + dependencies = [ 924 + "once_cell", 925 + ] 926 + 927 + [[package]] 928 + name = "try-lock" 929 + version = "0.2.5" 930 + source = "registry+https://github.com/rust-lang/crates.io-index" 931 + checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" 932 + 933 + [[package]] 934 + name = "unicode-bidi" 935 + version = "0.3.15" 936 + source = "registry+https://github.com/rust-lang/crates.io-index" 937 + checksum = "08f95100a766bf4f8f28f90d77e0a5461bbdb219042e7679bebe79004fed8d75" 938 + 939 + [[package]] 940 + name = "unicode-ident" 941 + version = "1.0.12" 942 + source = "registry+https://github.com/rust-lang/crates.io-index" 943 + checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" 944 + 945 + [[package]] 946 + name = "unicode-normalization" 947 + version = "0.1.22" 948 + source = "registry+https://github.com/rust-lang/crates.io-index" 949 + checksum = "5c5713f0fc4b5db668a2ac63cdb7bb4469d8c9fed047b1d0292cc7b0ce2ba921" 950 + dependencies = [ 951 + "tinyvec", 952 + ] 953 + 954 + [[package]] 955 + name = "url" 956 + version = "2.5.0" 957 + source = "registry+https://github.com/rust-lang/crates.io-index" 958 + checksum = "31e6302e3bb753d46e83516cae55ae196fc0c309407cf11ab35cc51a4c2a4633" 959 + dependencies = [ 960 + "form_urlencoded", 961 + "idna", 962 + "percent-encoding", 963 + ] 964 + 965 + [[package]] 966 + name = "vcpkg" 967 + version = "0.2.15" 968 + source = "registry+https://github.com/rust-lang/crates.io-index" 969 + checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426" 970 + 971 + [[package]] 972 + name = "want" 973 + version = "0.3.1" 974 + source = "registry+https://github.com/rust-lang/crates.io-index" 975 + checksum = "bfa7760aed19e106de2c7c0b581b509f2f25d3dacaf737cb82ac61bc6d760b0e" 976 + dependencies = [ 977 + "try-lock", 978 + ] 979 + 980 + [[package]] 981 + name = "wasi" 982 + version = "0.11.0+wasi-snapshot-preview1" 983 + source = "registry+https://github.com/rust-lang/crates.io-index" 984 + checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" 985 + 986 + [[package]] 987 + name = "wasm-bindgen" 988 + version = "0.2.91" 989 + source = "registry+https://github.com/rust-lang/crates.io-index" 990 + checksum = "c1e124130aee3fb58c5bdd6b639a0509486b0338acaaae0c84a5124b0f588b7f" 991 + dependencies = [ 992 + "cfg-if", 993 + "wasm-bindgen-macro", 994 + ] 995 + 996 + [[package]] 997 + name = "wasm-bindgen-backend" 998 + version = "0.2.91" 999 + source = "registry+https://github.com/rust-lang/crates.io-index" 1000 + checksum = "c9e7e1900c352b609c8488ad12639a311045f40a35491fb69ba8c12f758af70b" 1001 + dependencies = [ 1002 + "bumpalo", 1003 + "log", 1004 + "once_cell", 1005 + "proc-macro2", 1006 + "quote", 1007 + "syn", 1008 + "wasm-bindgen-shared", 1009 + ] 1010 + 1011 + [[package]] 1012 + name = "wasm-bindgen-futures" 1013 + version = "0.4.41" 1014 + source = "registry+https://github.com/rust-lang/crates.io-index" 1015 + checksum = "877b9c3f61ceea0e56331985743b13f3d25c406a7098d45180fb5f09bc19ed97" 1016 + dependencies = [ 1017 + "cfg-if", 1018 + "js-sys", 1019 + "wasm-bindgen", 1020 + "web-sys", 1021 + ] 1022 + 1023 + [[package]] 1024 + name = "wasm-bindgen-macro" 1025 + version = "0.2.91" 1026 + source = "registry+https://github.com/rust-lang/crates.io-index" 1027 + checksum = "b30af9e2d358182b5c7449424f017eba305ed32a7010509ede96cdc4696c46ed" 1028 + dependencies = [ 1029 + "quote", 1030 + "wasm-bindgen-macro-support", 1031 + ] 1032 + 1033 + [[package]] 1034 + name = "wasm-bindgen-macro-support" 1035 + version = "0.2.91" 1036 + source = "registry+https://github.com/rust-lang/crates.io-index" 1037 + checksum = "642f325be6301eb8107a83d12a8ac6c1e1c54345a7ef1a9261962dfefda09e66" 1038 + dependencies = [ 1039 + "proc-macro2", 1040 + "quote", 1041 + "syn", 1042 + "wasm-bindgen-backend", 1043 + "wasm-bindgen-shared", 1044 + ] 1045 + 1046 + [[package]] 1047 + name = "wasm-bindgen-shared" 1048 + version = "0.2.91" 1049 + source = "registry+https://github.com/rust-lang/crates.io-index" 1050 + checksum = "4f186bd2dcf04330886ce82d6f33dd75a7bfcf69ecf5763b89fcde53b6ac9838" 1051 + 1052 + [[package]] 1053 + name = "web-sys" 1054 + version = "0.3.68" 1055 + source = "registry+https://github.com/rust-lang/crates.io-index" 1056 + checksum = "96565907687f7aceb35bc5fc03770a8a0471d82e479f25832f54a0e3f4b28446" 1057 + dependencies = [ 1058 + "js-sys", 1059 + "wasm-bindgen", 1060 + ] 1061 + 1062 + [[package]] 1063 + name = "windows-sys" 1064 + version = "0.48.0" 1065 + source = "registry+https://github.com/rust-lang/crates.io-index" 1066 + checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" 1067 + dependencies = [ 1068 + "windows-targets 0.48.5", 1069 + ] 1070 + 1071 + [[package]] 1072 + name = "windows-sys" 1073 + version = "0.52.0" 1074 + source = "registry+https://github.com/rust-lang/crates.io-index" 1075 + checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" 1076 + dependencies = [ 1077 + "windows-targets 0.52.0", 1078 + ] 1079 + 1080 + [[package]] 1081 + name = "windows-targets" 1082 + version = "0.48.5" 1083 + source = "registry+https://github.com/rust-lang/crates.io-index" 1084 + checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" 1085 + dependencies = [ 1086 + "windows_aarch64_gnullvm 0.48.5", 1087 + "windows_aarch64_msvc 0.48.5", 1088 + "windows_i686_gnu 0.48.5", 1089 + "windows_i686_msvc 0.48.5", 1090 + "windows_x86_64_gnu 0.48.5", 1091 + "windows_x86_64_gnullvm 0.48.5", 1092 + "windows_x86_64_msvc 0.48.5", 1093 + ] 1094 + 1095 + [[package]] 1096 + name = "windows-targets" 1097 + version = "0.52.0" 1098 + source = "registry+https://github.com/rust-lang/crates.io-index" 1099 + checksum = "8a18201040b24831fbb9e4eb208f8892e1f50a37feb53cc7ff887feb8f50e7cd" 1100 + dependencies = [ 1101 + "windows_aarch64_gnullvm 0.52.0", 1102 + "windows_aarch64_msvc 0.52.0", 1103 + "windows_i686_gnu 0.52.0", 1104 + "windows_i686_msvc 0.52.0", 1105 + "windows_x86_64_gnu 0.52.0", 1106 + "windows_x86_64_gnullvm 0.52.0", 1107 + "windows_x86_64_msvc 0.52.0", 1108 + ] 1109 + 1110 + [[package]] 1111 + name = "windows_aarch64_gnullvm" 1112 + version = "0.48.5" 1113 + source = "registry+https://github.com/rust-lang/crates.io-index" 1114 + checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" 1115 + 1116 + [[package]] 1117 + name = "windows_aarch64_gnullvm" 1118 + version = "0.52.0" 1119 + source = "registry+https://github.com/rust-lang/crates.io-index" 1120 + checksum = "cb7764e35d4db8a7921e09562a0304bf2f93e0a51bfccee0bd0bb0b666b015ea" 1121 + 1122 + [[package]] 1123 + name = "windows_aarch64_msvc" 1124 + version = "0.48.5" 1125 + source = "registry+https://github.com/rust-lang/crates.io-index" 1126 + checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" 1127 + 1128 + [[package]] 1129 + name = "windows_aarch64_msvc" 1130 + version = "0.52.0" 1131 + source = "registry+https://github.com/rust-lang/crates.io-index" 1132 + checksum = "bbaa0368d4f1d2aaefc55b6fcfee13f41544ddf36801e793edbbfd7d7df075ef" 1133 + 1134 + [[package]] 1135 + name = "windows_i686_gnu" 1136 + version = "0.48.5" 1137 + source = "registry+https://github.com/rust-lang/crates.io-index" 1138 + checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" 1139 + 1140 + [[package]] 1141 + name = "windows_i686_gnu" 1142 + version = "0.52.0" 1143 + source = "registry+https://github.com/rust-lang/crates.io-index" 1144 + checksum = "a28637cb1fa3560a16915793afb20081aba2c92ee8af57b4d5f28e4b3e7df313" 1145 + 1146 + [[package]] 1147 + name = "windows_i686_msvc" 1148 + version = "0.48.5" 1149 + source = "registry+https://github.com/rust-lang/crates.io-index" 1150 + checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" 1151 + 1152 + [[package]] 1153 + name = "windows_i686_msvc" 1154 + version = "0.52.0" 1155 + source = "registry+https://github.com/rust-lang/crates.io-index" 1156 + checksum = "ffe5e8e31046ce6230cc7215707b816e339ff4d4d67c65dffa206fd0f7aa7b9a" 1157 + 1158 + [[package]] 1159 + name = "windows_x86_64_gnu" 1160 + version = "0.48.5" 1161 + source = "registry+https://github.com/rust-lang/crates.io-index" 1162 + checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" 1163 + 1164 + [[package]] 1165 + name = "windows_x86_64_gnu" 1166 + version = "0.52.0" 1167 + source = "registry+https://github.com/rust-lang/crates.io-index" 1168 + checksum = "3d6fa32db2bc4a2f5abeacf2b69f7992cd09dca97498da74a151a3132c26befd" 1169 + 1170 + [[package]] 1171 + name = "windows_x86_64_gnullvm" 1172 + version = "0.48.5" 1173 + source = "registry+https://github.com/rust-lang/crates.io-index" 1174 + checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" 1175 + 1176 + [[package]] 1177 + name = "windows_x86_64_gnullvm" 1178 + version = "0.52.0" 1179 + source = "registry+https://github.com/rust-lang/crates.io-index" 1180 + checksum = "1a657e1e9d3f514745a572a6846d3c7aa7dbe1658c056ed9c3344c4109a6949e" 1181 + 1182 + [[package]] 1183 + name = "windows_x86_64_msvc" 1184 + version = "0.48.5" 1185 + source = "registry+https://github.com/rust-lang/crates.io-index" 1186 + checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" 1187 + 1188 + [[package]] 1189 + name = "windows_x86_64_msvc" 1190 + version = "0.52.0" 1191 + source = "registry+https://github.com/rust-lang/crates.io-index" 1192 + checksum = "dff9641d1cd4be8d1a070daf9e3773c5f67e78b4d9d42263020c057706765c04" 1193 + 1194 + [[package]] 1195 + name = "winreg" 1196 + version = "0.50.0" 1197 + source = "registry+https://github.com/rust-lang/crates.io-index" 1198 + checksum = "524e57b2c537c0f9b1e69f1965311ec12182b4122e45035b1508cd24d2adadb1" 1199 + dependencies = [ 1200 + "cfg-if", 1201 + "windows-sys 0.48.0", 1202 + ]
+12
Cargo.toml
··· 1 + [package] 2 + name = "fuk" 3 + version = "0.1.0" 4 + edition = "2021" 5 + 6 + # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html 7 + 8 + [dependencies] 9 + futures = "0.3.30" 10 + reqwest = "0.11.24" 11 + tokio = { version = "1.36.0", default-features = false, features = ["rt-multi-thread", "fs", "io-std", "io-util", "macros", "process", "net"] } 12 + tokio-stream = "0.1.14"
+50
src/config.rs
··· 1 + use crate::output::Output; 2 + use futures::prelude::*; 3 + 4 + struct Entry { 5 + name: String, 6 + keys: Vec<Source>, 7 + } 8 + 9 + impl Entry { 10 + fn fetch(&self) -> (String, impl Stream<Item=String> + '_) { 11 + let stream = 12 + stream::iter(&self.keys) 13 + .flat_map(Source::fetch); 14 + 15 + (self.name.clone(), stream) 16 + } 17 + } 18 + 19 + enum Source { 20 + Raw(String), 21 + Sourcehut { user: String }, 22 + Github { user: String, instance: String }, 23 + Host(Vec<String>), 24 + } 25 + 26 + impl Source { 27 + fn fetch(&self) -> impl Stream<Item=String> { 28 + match *self { 29 + Source::Raw(ref key) => stream::iter(vec![key.clone()]), 30 + Source::Host(ref _hosts) => stream::iter(vec![]), 31 + _ => unimplemented!(), 32 + } 33 + } 34 + } 35 + 36 + pub struct Config { 37 + users: Vec<Entry>, 38 + } 39 + 40 + impl Config { 41 + pub async fn fetch(&self) -> Result<Output, ()> { 42 + let keys = 43 + stream::iter(&self.users) 44 + .map(Entry::fetch) 45 + .collect() 46 + .await; 47 + 48 + Ok(Output { keys }) 49 + } 50 + }
+6
src/lib.rs
··· 1 + pub mod output; 2 + pub mod config; 3 + 4 + pub fn fuk() { 5 + println!("Fuk"); 6 + }
+4
src/main.rs
··· 1 + #[tokio::main] 2 + async fn main() { 3 + fuk::fuk(); 4 + }
+5
src/output/mod.rs
··· 1 + use std::collections::HashMap; 2 + 3 + pub struct Output { 4 + pub keys: HashMap<String, Vec<String>>, 5 + }