♻️ Simple & Efficient Gemini-to-HTTP Proxy fuwn.net
proxy gemini-protocol protocol gemini http rust

chore(deps): Remove unused anyhow and disable comrak default features

fuwn.net a3ca8de7 d645b9f5

verified
+1 -268
-264
Cargo.lock
··· 234 234 checksum = "683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923" 235 235 236 236 [[package]] 237 - name = "anstream" 238 - version = "0.6.21" 239 - source = "registry+https://github.com/rust-lang/crates.io-index" 240 - checksum = "43d5b281e737544384e969a5ccad3f1cdd24b48086a0fc1b2a5262a26b8f4f4a" 241 - dependencies = [ 242 - "anstyle", 243 - "anstyle-parse", 244 - "anstyle-query", 245 - "anstyle-wincon", 246 - "colorchoice", 247 - "is_terminal_polyfill", 248 - "utf8parse", 249 - ] 250 - 251 - [[package]] 252 - name = "anstyle" 253 - version = "1.0.13" 254 - source = "registry+https://github.com/rust-lang/crates.io-index" 255 - checksum = "5192cca8006f1fd4f7237516f40fa183bb07f8fbdfedaa0036de5ea9b0b45e78" 256 - 257 - [[package]] 258 - name = "anstyle-parse" 259 - version = "0.2.7" 260 - source = "registry+https://github.com/rust-lang/crates.io-index" 261 - checksum = "4e7644824f0aa2c7b9384579234ef10eb7efb6a0deb83f9630a49594dd9c15c2" 262 - dependencies = [ 263 - "utf8parse", 264 - ] 265 - 266 - [[package]] 267 - name = "anstyle-query" 268 - version = "1.1.5" 269 - source = "registry+https://github.com/rust-lang/crates.io-index" 270 - checksum = "40c48f72fd53cd289104fc64099abca73db4166ad86ea0b4341abe65af83dadc" 271 - dependencies = [ 272 - "windows-sys 0.61.2", 273 - ] 274 - 275 - [[package]] 276 - name = "anstyle-wincon" 277 - version = "3.0.11" 278 - source = "registry+https://github.com/rust-lang/crates.io-index" 279 - checksum = "291e6a250ff86cd4a820112fb8898808a366d8f9f58ce16d1f538353ad55747d" 280 - dependencies = [ 281 - "anstyle", 282 - "once_cell_polyfill", 283 - "windows-sys 0.61.2", 284 - ] 285 - 286 - [[package]] 287 237 name = "anyhow" 288 238 version = "1.0.100" 289 239 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 305 255 checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6" 306 256 307 257 [[package]] 308 - name = "bincode" 309 - version = "1.3.3" 310 - source = "registry+https://github.com/rust-lang/crates.io-index" 311 - checksum = "b1f45e9417d87227c7a56d22e471c6206462cba514c7590c09aff4cf6d1ddcad" 312 - dependencies = [ 313 - "serde", 314 - ] 315 - 316 - [[package]] 317 - name = "bit-set" 318 - version = "0.8.0" 319 - source = "registry+https://github.com/rust-lang/crates.io-index" 320 - checksum = "08807e080ed7f9d5433fa9b275196cfc35414f66a0c79d864dc51a0d825231a3" 321 - dependencies = [ 322 - "bit-vec", 323 - ] 324 - 325 - [[package]] 326 - name = "bit-vec" 327 - version = "0.8.0" 328 - source = "registry+https://github.com/rust-lang/crates.io-index" 329 - checksum = "5e764a1d40d510daf35e07be9eb06e75770908c27d411ee6c92109c9840eaaf7" 330 - 331 - [[package]] 332 258 name = "bitflags" 333 259 version = "2.10.0" 334 260 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 424 350 checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801" 425 351 426 352 [[package]] 427 - name = "clap" 428 - version = "4.5.54" 429 - source = "registry+https://github.com/rust-lang/crates.io-index" 430 - checksum = "c6e6ff9dcd79cff5cd969a17a545d79e84ab086e444102a591e288a8aa3ce394" 431 - dependencies = [ 432 - "clap_builder", 433 - "clap_derive", 434 - ] 435 - 436 - [[package]] 437 - name = "clap_builder" 438 - version = "4.5.54" 439 - source = "registry+https://github.com/rust-lang/crates.io-index" 440 - checksum = "fa42cf4d2b7a41bc8f663a7cab4031ebafa1bf3875705bfaf8466dc60ab52c00" 441 - dependencies = [ 442 - "anstream", 443 - "anstyle", 444 - "clap_lex", 445 - "strsim", 446 - "terminal_size", 447 - ] 448 - 449 - [[package]] 450 - name = "clap_derive" 451 - version = "4.5.49" 452 - source = "registry+https://github.com/rust-lang/crates.io-index" 453 - checksum = "2a0b5487afeab2deb2ff4e03a807ad1a03ac532ff5a2cee5d86884440c7f7671" 454 - dependencies = [ 455 - "heck", 456 - "proc-macro2", 457 - "quote", 458 - "syn", 459 - ] 460 - 461 - [[package]] 462 - name = "clap_lex" 463 - version = "0.7.7" 464 - source = "registry+https://github.com/rust-lang/crates.io-index" 465 - checksum = "c3e64b0cc0439b12df2fa678eae89a1c56a529fd067a9115f7827f1fffd22b32" 466 - 467 - [[package]] 468 353 name = "clru" 469 354 version = "0.6.2" 470 355 source = "registry+https://github.com/rust-lang/crates.io-index" 471 356 checksum = "cbd0f76e066e64fdc5631e3bb46381254deab9ef1158292f27c8c57e3bf3fe59" 472 357 473 358 [[package]] 474 - name = "colorchoice" 475 - version = "1.0.4" 476 - source = "registry+https://github.com/rust-lang/crates.io-index" 477 - checksum = "b05b61dc5112cbb17e4b6cd61790d9845d13888356391624cbe7e41efeac1e75" 478 - 479 - [[package]] 480 359 name = "comrak" 481 360 version = "0.29.0" 482 361 source = "registry+https://github.com/rust-lang/crates.io-index" 483 362 checksum = "d8c32ff8b21372fab0e9ecc4e42536055702dc5faa418362bffd1544f9d12637" 484 363 dependencies = [ 485 364 "caseless", 486 - "clap", 487 365 "derive_builder", 488 366 "entities", 489 367 "memchr", 490 368 "once_cell", 491 369 "regex", 492 - "shell-words", 493 370 "slug", 494 - "syntect", 495 371 "typed-arena", 496 372 "unicode_categories", 497 - "xdg", 498 373 ] 499 374 500 375 [[package]] ··· 727 602 ] 728 603 729 604 [[package]] 730 - name = "fancy-regex" 731 - version = "0.16.2" 732 - source = "registry+https://github.com/rust-lang/crates.io-index" 733 - checksum = "998b056554fbe42e03ae0e152895cd1a7e1002aec800fdc6635d20270260c46f" 734 - dependencies = [ 735 - "bit-set", 736 - "regex-automata", 737 - "regex-syntax", 738 - ] 739 - 740 - [[package]] 741 605 name = "faster-hex" 742 606 version = "0.9.0" 743 607 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 1425 1289 checksum = "841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100" 1426 1290 1427 1291 [[package]] 1428 - name = "heck" 1429 - version = "0.5.0" 1430 - source = "registry+https://github.com/rust-lang/crates.io-index" 1431 - checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" 1432 - 1433 - [[package]] 1434 1292 name = "hermit-abi" 1435 1293 version = "0.5.2" 1436 1294 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 1610 1468 ] 1611 1469 1612 1470 [[package]] 1613 - name = "is_terminal_polyfill" 1614 - version = "1.70.2" 1615 - source = "registry+https://github.com/rust-lang/crates.io-index" 1616 - checksum = "a6cb138bb79a146c1bd460005623e142ef0181e3d0219cb493e02f7d08a35695" 1617 - 1618 - [[package]] 1619 1471 name = "itoa" 1620 1472 version = "1.0.17" 1621 1473 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 1655 1507 ] 1656 1508 1657 1509 [[package]] 1658 - name = "linked-hash-map" 1659 - version = "0.5.6" 1660 - source = "registry+https://github.com/rust-lang/crates.io-index" 1661 - checksum = "0717cef1bc8b636c6e1c1bbdefc09e6322da8a9321966e8928ef80d20f7f770f" 1662 - 1663 - [[package]] 1664 1510 name = "linux-raw-sys" 1665 1511 version = "0.4.15" 1666 1512 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 1775 1621 checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d" 1776 1622 1777 1623 [[package]] 1778 - name = "once_cell_polyfill" 1779 - version = "1.70.2" 1780 - source = "registry+https://github.com/rust-lang/crates.io-index" 1781 - checksum = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe" 1782 - 1783 - [[package]] 1784 - name = "onig" 1785 - version = "6.5.1" 1786 - source = "registry+https://github.com/rust-lang/crates.io-index" 1787 - checksum = "336b9c63443aceef14bea841b899035ae3abe89b7c486aaf4c5bd8aafedac3f0" 1788 - dependencies = [ 1789 - "bitflags", 1790 - "libc", 1791 - "once_cell", 1792 - "onig_sys", 1793 - ] 1794 - 1795 - [[package]] 1796 - name = "onig_sys" 1797 - version = "69.9.1" 1798 - source = "registry+https://github.com/rust-lang/crates.io-index" 1799 - checksum = "c7f86c6eef3d6df15f23bcfb6af487cbd2fed4e5581d58d5bf1f5f8b7f6727dc" 1800 - dependencies = [ 1801 - "cc", 1802 - "pkg-config", 1803 - ] 1804 - 1805 - [[package]] 1806 1624 name = "parking_lot" 1807 1625 version = "0.12.5" 1808 1626 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 1850 1668 checksum = "7edddbd0b52d732b21ad9a5fab5c704c14cd949e5e9a1ec5929a24fded1b904c" 1851 1669 1852 1670 [[package]] 1853 - name = "plist" 1854 - version = "1.8.0" 1855 - source = "registry+https://github.com/rust-lang/crates.io-index" 1856 - checksum = "740ebea15c5d1428f910cd1a5f52cebf8d25006245ed8ade92702f4943d91e07" 1857 - dependencies = [ 1858 - "base64", 1859 - "indexmap", 1860 - "quick-xml", 1861 - "serde", 1862 - "time", 1863 - ] 1864 - 1865 - [[package]] 1866 1671 name = "potential_utf" 1867 1672 version = "0.1.4" 1868 1673 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 1912 1717 checksum = "744a264d26b88a6a7e37cbad97953fa233b94d585236310bcbc88474b4092d79" 1913 1718 1914 1719 [[package]] 1915 - name = "quick-xml" 1916 - version = "0.38.4" 1917 - source = "registry+https://github.com/rust-lang/crates.io-index" 1918 - checksum = "b66c2058c55a409d601666cffe35f04333cf1013010882cec174a7467cd4e21c" 1919 - dependencies = [ 1920 - "memchr", 1921 - ] 1922 - 1923 - [[package]] 1924 1720 name = "quote" 1925 1721 version = "1.0.43" 1926 1722 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 2136 1932 version = "0.3.3" 2137 1933 dependencies = [ 2138 1934 "actix-web", 2139 - "anyhow", 2140 1935 "comrak", 2141 1936 "dotenv", 2142 1937 "germ", ··· 2219 2014 version = "1.0.1" 2220 2015 source = "registry+https://github.com/rust-lang/crates.io-index" 2221 2016 checksum = "bbfa15b3dddfee50a0fff136974b3e1bde555604ba463834a7eb7deb6417705d" 2222 - 2223 - [[package]] 2224 - name = "shell-words" 2225 - version = "1.1.1" 2226 - source = "registry+https://github.com/rust-lang/crates.io-index" 2227 - checksum = "dc6fe69c597f9c37bfeeeeeb33da3530379845f10be461a66d16d03eca2ded77" 2228 2017 2229 2018 [[package]] 2230 2019 name = "shlex" ··· 2335 2124 ] 2336 2125 2337 2126 [[package]] 2338 - name = "syntect" 2339 - version = "5.3.0" 2340 - source = "registry+https://github.com/rust-lang/crates.io-index" 2341 - checksum = "656b45c05d95a5704399aeef6bd0ddec7b2b3531b7c9e900abbf7c4d2190c925" 2342 - dependencies = [ 2343 - "bincode", 2344 - "fancy-regex", 2345 - "flate2", 2346 - "fnv", 2347 - "once_cell", 2348 - "onig", 2349 - "plist", 2350 - "regex-syntax", 2351 - "serde", 2352 - "serde_derive", 2353 - "serde_json", 2354 - "thiserror 2.0.18", 2355 - "walkdir", 2356 - "yaml-rust", 2357 - ] 2358 - 2359 - [[package]] 2360 2127 name = "tempfile" 2361 2128 version = "3.24.0" 2362 2129 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 2376 2143 checksum = "06794f8f6c5c898b3275aebefa6b8a1cb24cd2c6c79397ab15774837a0bc5755" 2377 2144 dependencies = [ 2378 2145 "winapi-util", 2379 - ] 2380 - 2381 - [[package]] 2382 - name = "terminal_size" 2383 - version = "0.4.3" 2384 - source = "registry+https://github.com/rust-lang/crates.io-index" 2385 - checksum = "60b8cb979cb11c32ce1603f8137b22262a9d131aaa5c37b5678025f22b8becd0" 2386 - dependencies = [ 2387 - "rustix 1.1.3", 2388 - "windows-sys 0.60.2", 2389 2146 ] 2390 2147 2391 2148 [[package]] ··· 2645 2402 checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be" 2646 2403 2647 2404 [[package]] 2648 - name = "utf8parse" 2649 - version = "0.2.2" 2650 - source = "registry+https://github.com/rust-lang/crates.io-index" 2651 - checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" 2652 - 2653 - [[package]] 2654 2405 name = "vergen" 2655 2406 version = "8.3.2" 2656 2407 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 2939 2690 version = "0.6.2" 2940 2691 source = "registry+https://github.com/rust-lang/crates.io-index" 2941 2692 checksum = "9edde0db4769d2dc68579893f2306b26c6ecfbe0ef499b013d731b7b9247e0b9" 2942 - 2943 - [[package]] 2944 - name = "xdg" 2945 - version = "2.5.2" 2946 - source = "registry+https://github.com/rust-lang/crates.io-index" 2947 - checksum = "213b7324336b53d2414b2db8537e56544d981803139155afa84f76eeebb7a546" 2948 - 2949 - [[package]] 2950 - name = "yaml-rust" 2951 - version = "0.4.5" 2952 - source = "registry+https://github.com/rust-lang/crates.io-index" 2953 - checksum = "56c1936c4cc7a1c9ab21a1ebb602eb942ba868cbd44a99cb7cdc5892335e1c85" 2954 - dependencies = [ 2955 - "linked-hash-map", 2956 - ] 2957 2693 2958 2694 [[package]] 2959 2695 name = "yoke"
+1 -4
Cargo.toml
··· 41 41 url = "2.5.4" 42 42 43 43 # Markdown Encoding 44 - comrak = "0.29.0" 44 + comrak = { version = "0.29.0", default-features = false } 45 45 46 46 # Form Parsing 47 47 serde = { version = "1", features = ["derive"] } ··· 49 49 [build-dependencies] 50 50 # Compile-time Environment Variables 51 51 vergen = { version = "8.3.2", features = ["git", "gitoxide"] } 52 - 53 - # `Result` 54 - anyhow = "1.0.98"