Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

python311Packages.mitmproxy-rs: 0.4.1 -> 0.5.1

Diff: https://github.com/mitmproxy/mitmproxy_rs/compare/0.4.1...0.5.1

Changelog: https://github.com/mitmproxy/mitmproxy_rs/blob/0.5.1/CHANGELOG.md

+108 -50
+106 -45
pkgs/development/python-modules/mitmproxy-rs/Cargo.lock
··· 612 613 [[package]] 614 name = "data-encoding" 615 - version = "2.4.0" 616 source = "registry+https://github.com/rust-lang/crates.io-index" 617 - checksum = "c2e66c9d817f1720209181c316d28635c050fa304f9c79e47a520882661b7308" 618 619 [[package]] 620 name = "defmt" ··· 667 668 [[package]] 669 name = "env_logger" 670 - version = "0.10.0" 671 source = "registry+https://github.com/rust-lang/crates.io-index" 672 - checksum = "85cdab6a89accf66733ad5a1693a4dcced6aeff64602b634530dd73c1f3ee9f0" 673 dependencies = [ 674 "humantime", 675 "is-terminal", ··· 1126 1127 [[package]] 1128 name = "internet-packet" 1129 - version = "0.1.0" 1130 - source = "git+https://github.com/mhils/internet-packet.git#9d706e0f6a28da91f63e3417c7bb4c2e977a2385" 1131 dependencies = [ 1132 "internet-checksum", 1133 ] 1134 1135 [[package]] ··· 1221 1222 [[package]] 1223 name = "libc" 1224 - version = "0.2.148" 1225 source = "registry+https://github.com/rust-lang/crates.io-index" 1226 - checksum = "9cdc71e17332e86d2e1d38c1f99edcb6288ee11b815fb1a4b049eaa2114d369b" 1227 1228 [[package]] 1229 name = "linux-raw-sys" ··· 1255 1256 [[package]] 1257 name = "macos-certificate-truster" 1258 - version = "0.4.1" 1259 dependencies = [ 1260 "apple-security-framework", 1261 ] ··· 1320 1321 [[package]] 1322 name = "mio" 1323 - version = "0.8.8" 1324 source = "registry+https://github.com/rust-lang/crates.io-index" 1325 - checksum = "927a765cd3fc26206e66b296465fa9d3e5ab003e651c1b3c060e7956d96b19d2" 1326 dependencies = [ 1327 "libc", 1328 "wasi", ··· 1331 1332 [[package]] 1333 name = "mitm-wg-test-client" 1334 - version = "0.4.1" 1335 dependencies = [ 1336 "anyhow", 1337 "boringtun", ··· 1342 1343 [[package]] 1344 name = "mitmproxy" 1345 - version = "0.4.1" 1346 dependencies = [ 1347 "anyhow", 1348 "apple-security-framework", ··· 1353 "env_logger", 1354 "futures-util", 1355 "image", 1356 "log", 1357 "nix 0.27.1", 1358 "once_cell", 1359 "pretty-hex", ··· 1363 "smoltcp", 1364 "tokio", 1365 "tokio-util", 1366 - "windows 0.51.1", 1367 "x25519-dalek", 1368 ] 1369 1370 [[package]] 1371 name = "mitmproxy_rs" 1372 - version = "0.4.1" 1373 dependencies = [ 1374 "anyhow", 1375 "boringtun", ··· 1507 "libc", 1508 "redox_syscall", 1509 "smallvec", 1510 - "windows-targets", 1511 ] 1512 1513 [[package]] ··· 1614 1615 [[package]] 1616 name = "pretty-hex" 1617 - version = "0.3.0" 1618 source = "registry+https://github.com/rust-lang/crates.io-index" 1619 - checksum = "c6fa0831dd7cc608c38a5e323422a0077678fa5744aa2be4ad91c4ece8eec8d5" 1620 1621 [[package]] 1622 name = "proc-macro-error" ··· 1653 1654 [[package]] 1655 name = "prost" 1656 - version = "0.12.1" 1657 source = "registry+https://github.com/rust-lang/crates.io-index" 1658 - checksum = "f4fdd22f3b9c31b53c060df4a0613a1c7f062d4115a2b984dd15b1858f7e340d" 1659 dependencies = [ 1660 "bytes", 1661 "prost-derive", ··· 1663 1664 [[package]] 1665 name = "prost-derive" 1666 - version = "0.12.1" 1667 source = "registry+https://github.com/rust-lang/crates.io-index" 1668 - checksum = "265baba7fabd416cf5078179f7d2cbeca4ce7a9041111900675ea7c4cb8a4c32" 1669 dependencies = [ 1670 "anyhow", 1671 "itertools 0.11.0", ··· 2063 2064 [[package]] 2065 name = "socket2" 2066 - version = "0.5.4" 2067 source = "registry+https://github.com/rust-lang/crates.io-index" 2068 - checksum = "4031e820eb552adee9295814c0ced9e5cf38ddf1e8b7d566d6de8e2538ea989e" 2069 dependencies = [ 2070 "libc", 2071 "windows-sys", ··· 2205 2206 [[package]] 2207 name = "tokio" 2208 - version = "1.33.0" 2209 source = "registry+https://github.com/rust-lang/crates.io-index" 2210 - checksum = "4f38200e3ef7995e5ef13baec2f432a6da0aa9ac495b2c0e8f3b7eec2c92d653" 2211 dependencies = [ 2212 "backtrace", 2213 "bytes", ··· 2216 "num_cpus", 2217 "pin-project-lite", 2218 "signal-hook-registry", 2219 - "socket2 0.5.4", 2220 "tokio-macros", 2221 "tracing", 2222 "windows-sys", ··· 2234 2235 [[package]] 2236 name = "tokio-macros" 2237 - version = "2.1.0" 2238 source = "registry+https://github.com/rust-lang/crates.io-index" 2239 - checksum = "630bdcf245f78637c13ec01ffae6187cca34625e8c63150d424b59e55af2675e" 2240 dependencies = [ 2241 "proc-macro2", 2242 "quote", ··· 2597 source = "registry+https://github.com/rust-lang/crates.io-index" 2598 checksum = "e686886bc078bc1b0b600cac0147aadb815089b6e4da64016cbd754b6342700f" 2599 dependencies = [ 2600 - "windows-targets", 2601 ] 2602 2603 [[package]] 2604 name = "windows" 2605 - version = "0.51.1" 2606 source = "registry+https://github.com/rust-lang/crates.io-index" 2607 - checksum = "ca229916c5ee38c2f2bc1e9d8f04df975b4bd93f9955dc69fabb5d91270045c9" 2608 dependencies = [ 2609 "windows-core", 2610 - "windows-targets", 2611 ] 2612 2613 [[package]] 2614 name = "windows-core" 2615 - version = "0.51.1" 2616 source = "registry+https://github.com/rust-lang/crates.io-index" 2617 - checksum = "f1f8cf84f35d2db49a46868f947758c7a1138116f7fac3bc844f43ade1292e64" 2618 dependencies = [ 2619 - "windows-targets", 2620 ] 2621 2622 [[package]] 2623 name = "windows-redirector" 2624 - version = "0.4.1" 2625 dependencies = [ 2626 "anyhow", 2627 "env_logger", ··· 2642 source = "registry+https://github.com/rust-lang/crates.io-index" 2643 checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" 2644 dependencies = [ 2645 - "windows-targets", 2646 ] 2647 2648 [[package]] ··· 2651 source = "registry+https://github.com/rust-lang/crates.io-index" 2652 checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" 2653 dependencies = [ 2654 - "windows_aarch64_gnullvm", 2655 - "windows_aarch64_msvc", 2656 - "windows_i686_gnu", 2657 - "windows_i686_msvc", 2658 - "windows_x86_64_gnu", 2659 - "windows_x86_64_gnullvm", 2660 - "windows_x86_64_msvc", 2661 ] 2662 2663 [[package]] ··· 2667 checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" 2668 2669 [[package]] 2670 name = "windows_aarch64_msvc" 2671 version = "0.48.5" 2672 source = "registry+https://github.com/rust-lang/crates.io-index" 2673 checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" 2674 2675 [[package]] 2676 name = "windows_i686_gnu" 2677 version = "0.48.5" 2678 source = "registry+https://github.com/rust-lang/crates.io-index" 2679 checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" 2680 2681 [[package]] 2682 name = "windows_i686_msvc" 2683 version = "0.48.5" 2684 source = "registry+https://github.com/rust-lang/crates.io-index" 2685 checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" 2686 2687 [[package]] 2688 name = "windows_x86_64_gnu" ··· 2691 checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" 2692 2693 [[package]] 2694 name = "windows_x86_64_gnullvm" 2695 version = "0.48.5" 2696 source = "registry+https://github.com/rust-lang/crates.io-index" 2697 checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" 2698 2699 [[package]] 2700 name = "windows_x86_64_msvc" 2701 version = "0.48.5" 2702 source = "registry+https://github.com/rust-lang/crates.io-index" 2703 checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" 2704 2705 [[package]] 2706 name = "winres"
··· 612 613 [[package]] 614 name = "data-encoding" 615 + version = "2.5.0" 616 source = "registry+https://github.com/rust-lang/crates.io-index" 617 + checksum = "7e962a19be5cfc3f3bf6dd8f61eb50107f356ad6270fbb3ed41476571db78be5" 618 619 [[package]] 620 name = "defmt" ··· 667 668 [[package]] 669 name = "env_logger" 670 + version = "0.10.1" 671 source = "registry+https://github.com/rust-lang/crates.io-index" 672 + checksum = "95b3f3e67048839cb0d0781f445682a35113da7121f7c949db0e2be96a4fbece" 673 dependencies = [ 674 "humantime", 675 "is-terminal", ··· 1126 1127 [[package]] 1128 name = "internet-packet" 1129 + version = "0.2.0" 1130 + source = "registry+https://github.com/rust-lang/crates.io-index" 1131 + checksum = "95d8d20ad61a92e71edf571fa568e14aeba0c5f00548acd491fbf694ce9a5ad8" 1132 dependencies = [ 1133 "internet-checksum", 1134 + "smoltcp", 1135 ] 1136 1137 [[package]] ··· 1223 1224 [[package]] 1225 name = "libc" 1226 + version = "0.2.150" 1227 source = "registry+https://github.com/rust-lang/crates.io-index" 1228 + checksum = "89d92a4743f9a61002fae18374ed11e7973f530cb3a3255fb354818118b2203c" 1229 1230 [[package]] 1231 name = "linux-raw-sys" ··· 1257 1258 [[package]] 1259 name = "macos-certificate-truster" 1260 + version = "0.5.1" 1261 dependencies = [ 1262 "apple-security-framework", 1263 ] ··· 1322 1323 [[package]] 1324 name = "mio" 1325 + version = "0.8.9" 1326 source = "registry+https://github.com/rust-lang/crates.io-index" 1327 + checksum = "3dce281c5e46beae905d4de1870d8b1509a9142b62eedf18b443b011ca8343d0" 1328 dependencies = [ 1329 "libc", 1330 "wasi", ··· 1333 1334 [[package]] 1335 name = "mitm-wg-test-client" 1336 + version = "0.5.1" 1337 dependencies = [ 1338 "anyhow", 1339 "boringtun", ··· 1344 1345 [[package]] 1346 name = "mitmproxy" 1347 + version = "0.5.1" 1348 dependencies = [ 1349 "anyhow", 1350 "apple-security-framework", ··· 1355 "env_logger", 1356 "futures-util", 1357 "image", 1358 + "internet-packet", 1359 "log", 1360 + "lru_time_cache", 1361 "nix 0.27.1", 1362 "once_cell", 1363 "pretty-hex", ··· 1367 "smoltcp", 1368 "tokio", 1369 "tokio-util", 1370 + "windows 0.52.0", 1371 "x25519-dalek", 1372 ] 1373 1374 [[package]] 1375 name = "mitmproxy_rs" 1376 + version = "0.5.1" 1377 dependencies = [ 1378 "anyhow", 1379 "boringtun", ··· 1511 "libc", 1512 "redox_syscall", 1513 "smallvec", 1514 + "windows-targets 0.48.5", 1515 ] 1516 1517 [[package]] ··· 1618 1619 [[package]] 1620 name = "pretty-hex" 1621 + version = "0.4.0" 1622 source = "registry+https://github.com/rust-lang/crates.io-index" 1623 + checksum = "23c6b968ed37d62e35b4febaba13bfa231b0b7929d68b8a94e65445a17e2d35f" 1624 1625 [[package]] 1626 name = "proc-macro-error" ··· 1657 1658 [[package]] 1659 name = "prost" 1660 + version = "0.12.3" 1661 source = "registry+https://github.com/rust-lang/crates.io-index" 1662 + checksum = "146c289cda302b98a28d40c8b3b90498d6e526dd24ac2ecea73e4e491685b94a" 1663 dependencies = [ 1664 "bytes", 1665 "prost-derive", ··· 1667 1668 [[package]] 1669 name = "prost-derive" 1670 + version = "0.12.3" 1671 source = "registry+https://github.com/rust-lang/crates.io-index" 1672 + checksum = "efb6c9a1dd1def8e2124d17e83a20af56f1570d6c2d2bd9e266ccb768df3840e" 1673 dependencies = [ 1674 "anyhow", 1675 "itertools 0.11.0", ··· 2067 2068 [[package]] 2069 name = "socket2" 2070 + version = "0.5.5" 2071 source = "registry+https://github.com/rust-lang/crates.io-index" 2072 + checksum = "7b5fac59a5cb5dd637972e5fca70daf0523c9067fcdc4842f053dae04a18f8e9" 2073 dependencies = [ 2074 "libc", 2075 "windows-sys", ··· 2209 2210 [[package]] 2211 name = "tokio" 2212 + version = "1.34.0" 2213 source = "registry+https://github.com/rust-lang/crates.io-index" 2214 + checksum = "d0c014766411e834f7af5b8f4cf46257aab4036ca95e9d2c144a10f59ad6f5b9" 2215 dependencies = [ 2216 "backtrace", 2217 "bytes", ··· 2220 "num_cpus", 2221 "pin-project-lite", 2222 "signal-hook-registry", 2223 + "socket2 0.5.5", 2224 "tokio-macros", 2225 "tracing", 2226 "windows-sys", ··· 2238 2239 [[package]] 2240 name = "tokio-macros" 2241 + version = "2.2.0" 2242 source = "registry+https://github.com/rust-lang/crates.io-index" 2243 + checksum = "5b8a1e28f2deaa14e508979454cb3a223b10b938b45af148bc0986de36f1923b" 2244 dependencies = [ 2245 "proc-macro2", 2246 "quote", ··· 2601 source = "registry+https://github.com/rust-lang/crates.io-index" 2602 checksum = "e686886bc078bc1b0b600cac0147aadb815089b6e4da64016cbd754b6342700f" 2603 dependencies = [ 2604 + "windows-targets 0.48.5", 2605 ] 2606 2607 [[package]] 2608 name = "windows" 2609 + version = "0.52.0" 2610 source = "registry+https://github.com/rust-lang/crates.io-index" 2611 + checksum = "e48a53791691ab099e5e2ad123536d0fff50652600abaf43bbf952894110d0be" 2612 dependencies = [ 2613 "windows-core", 2614 + "windows-targets 0.52.0", 2615 ] 2616 2617 [[package]] 2618 name = "windows-core" 2619 + version = "0.52.0" 2620 source = "registry+https://github.com/rust-lang/crates.io-index" 2621 + checksum = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9" 2622 dependencies = [ 2623 + "windows-targets 0.52.0", 2624 ] 2625 2626 [[package]] 2627 name = "windows-redirector" 2628 + version = "0.5.1" 2629 dependencies = [ 2630 "anyhow", 2631 "env_logger", ··· 2646 source = "registry+https://github.com/rust-lang/crates.io-index" 2647 checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" 2648 dependencies = [ 2649 + "windows-targets 0.48.5", 2650 ] 2651 2652 [[package]] ··· 2655 source = "registry+https://github.com/rust-lang/crates.io-index" 2656 checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" 2657 dependencies = [ 2658 + "windows_aarch64_gnullvm 0.48.5", 2659 + "windows_aarch64_msvc 0.48.5", 2660 + "windows_i686_gnu 0.48.5", 2661 + "windows_i686_msvc 0.48.5", 2662 + "windows_x86_64_gnu 0.48.5", 2663 + "windows_x86_64_gnullvm 0.48.5", 2664 + "windows_x86_64_msvc 0.48.5", 2665 + ] 2666 + 2667 + [[package]] 2668 + name = "windows-targets" 2669 + version = "0.52.0" 2670 + source = "registry+https://github.com/rust-lang/crates.io-index" 2671 + checksum = "8a18201040b24831fbb9e4eb208f8892e1f50a37feb53cc7ff887feb8f50e7cd" 2672 + dependencies = [ 2673 + "windows_aarch64_gnullvm 0.52.0", 2674 + "windows_aarch64_msvc 0.52.0", 2675 + "windows_i686_gnu 0.52.0", 2676 + "windows_i686_msvc 0.52.0", 2677 + "windows_x86_64_gnu 0.52.0", 2678 + "windows_x86_64_gnullvm 0.52.0", 2679 + "windows_x86_64_msvc 0.52.0", 2680 ] 2681 2682 [[package]] ··· 2686 checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" 2687 2688 [[package]] 2689 + name = "windows_aarch64_gnullvm" 2690 + version = "0.52.0" 2691 + source = "registry+https://github.com/rust-lang/crates.io-index" 2692 + checksum = "cb7764e35d4db8a7921e09562a0304bf2f93e0a51bfccee0bd0bb0b666b015ea" 2693 + 2694 + [[package]] 2695 name = "windows_aarch64_msvc" 2696 version = "0.48.5" 2697 source = "registry+https://github.com/rust-lang/crates.io-index" 2698 checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" 2699 2700 [[package]] 2701 + name = "windows_aarch64_msvc" 2702 + version = "0.52.0" 2703 + source = "registry+https://github.com/rust-lang/crates.io-index" 2704 + checksum = "bbaa0368d4f1d2aaefc55b6fcfee13f41544ddf36801e793edbbfd7d7df075ef" 2705 + 2706 + [[package]] 2707 name = "windows_i686_gnu" 2708 version = "0.48.5" 2709 source = "registry+https://github.com/rust-lang/crates.io-index" 2710 checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" 2711 2712 [[package]] 2713 + name = "windows_i686_gnu" 2714 + version = "0.52.0" 2715 + source = "registry+https://github.com/rust-lang/crates.io-index" 2716 + checksum = "a28637cb1fa3560a16915793afb20081aba2c92ee8af57b4d5f28e4b3e7df313" 2717 + 2718 + [[package]] 2719 name = "windows_i686_msvc" 2720 version = "0.48.5" 2721 source = "registry+https://github.com/rust-lang/crates.io-index" 2722 checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" 2723 + 2724 + [[package]] 2725 + name = "windows_i686_msvc" 2726 + version = "0.52.0" 2727 + source = "registry+https://github.com/rust-lang/crates.io-index" 2728 + checksum = "ffe5e8e31046ce6230cc7215707b816e339ff4d4d67c65dffa206fd0f7aa7b9a" 2729 2730 [[package]] 2731 name = "windows_x86_64_gnu" ··· 2734 checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" 2735 2736 [[package]] 2737 + name = "windows_x86_64_gnu" 2738 + version = "0.52.0" 2739 + source = "registry+https://github.com/rust-lang/crates.io-index" 2740 + checksum = "3d6fa32db2bc4a2f5abeacf2b69f7992cd09dca97498da74a151a3132c26befd" 2741 + 2742 + [[package]] 2743 name = "windows_x86_64_gnullvm" 2744 version = "0.48.5" 2745 source = "registry+https://github.com/rust-lang/crates.io-index" 2746 checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" 2747 2748 [[package]] 2749 + name = "windows_x86_64_gnullvm" 2750 + version = "0.52.0" 2751 + source = "registry+https://github.com/rust-lang/crates.io-index" 2752 + checksum = "1a657e1e9d3f514745a572a6846d3c7aa7dbe1658c056ed9c3344c4109a6949e" 2753 + 2754 + [[package]] 2755 name = "windows_x86_64_msvc" 2756 version = "0.48.5" 2757 source = "registry+https://github.com/rust-lang/crates.io-index" 2758 checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" 2759 + 2760 + [[package]] 2761 + name = "windows_x86_64_msvc" 2762 + version = "0.52.0" 2763 + source = "registry+https://github.com/rust-lang/crates.io-index" 2764 + checksum = "dff9641d1cd4be8d1a070daf9e3773c5f67e78b4d9d42263020c057706765c04" 2765 2766 [[package]] 2767 name = "winres"
+2 -5
pkgs/development/python-modules/mitmproxy-rs/default.nix
··· 10 11 buildPythonPackage rec { 12 pname = "mitmproxy-rs"; 13 - version = "0.4.1"; 14 pyproject = true; 15 16 src = fetchFromGitHub { 17 owner = "mitmproxy"; 18 repo = "mitmproxy_rs"; 19 rev = version; 20 - hash = "sha256-Vc7ez/W40CefO2ZLAHot14p478pDPtQor865675vCtI="; 21 }; 22 23 cargoDeps = rustPlatform.importCargoLock { 24 lockFile = ./Cargo.lock; 25 - outputHashes = { 26 - "internet-packet-0.1.0" = "sha256-VtEuCE1sulBIFVymh7YW7VHCuIBjtb6tHoPz2tjxX+Q="; 27 - }; 28 }; 29 30 buildAndTestSubdir = "mitmproxy-rs";
··· 10 11 buildPythonPackage rec { 12 pname = "mitmproxy-rs"; 13 + version = "0.5.1"; 14 pyproject = true; 15 16 src = fetchFromGitHub { 17 owner = "mitmproxy"; 18 repo = "mitmproxy_rs"; 19 rev = version; 20 + hash = "sha256-nrm1T2yaGVmYsubwNJHPnPDC/A/jYiKVzwBKmuc9MD4="; 21 }; 22 23 cargoDeps = rustPlatform.importCargoLock { 24 lockFile = ./Cargo.lock; 25 }; 26 27 buildAndTestSubdir = "mitmproxy-rs";