Skip to main content

max / makenotwork

mnw-cli: dedupe aead/cipher/inout to single versions in Cargo.lock
Author: Max Johnson <me@maxj.phd> · 2026-07-24 01:37 UTC
Commit: 312bf2920330dd1a93062617c81306135f168001
Parent: 8c78822
1 file changed, +53 insertions, -204 deletions
M mnw-cli/Cargo.lock +53 -204
@@ -10,22 +10,12 @@ checksum = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa"
10 10
11 11 [[package]]
12 12 name = "aead"
13 - version = "0.5.2"
14 - source = "registry+https://github.com/rust-lang/crates.io-index"
15 - checksum = "d122413f284cf2d62fb1b7db97e02edb8cda96d769b16e443a4f6195e35662b0"
16 - dependencies = [
17 - "crypto-common 0.1.7",
18 - "generic-array 0.14.7",
19 - ]
20 -
21 - [[package]]
22 - name = "aead"
23 13 version = "0.6.1"
24 14 source = "registry+https://github.com/rust-lang/crates.io-index"
25 15 checksum = "1973cfbc1a2daf9cf550e74e1f088c28e7f7d8c1e1418fb6c9dc5184b7e84c99"
26 16 dependencies = [
27 17 "crypto-common 0.2.2",
28 - "inout 0.2.2",
18 + "inout",
29 19 ]
30 20
31 21 [[package]]
@@ -34,7 +24,7 @@ version = "0.9.1"
34 24 source = "registry+https://github.com/rust-lang/crates.io-index"
35 25 checksum = "f1fc76eaeac4c9164506c466d4ffdd8ec9d0c5bf57ee97177c4d8eceb3a0e138"
36 26 dependencies = [
37 - "cipher 0.5.2",
27 + "cipher",
38 28 "cpubits",
39 29 "cpufeatures 0.3.0",
40 30 "zeroize",
@@ -46,9 +36,9 @@ version = "0.11.0"
46 36 source = "registry+https://github.com/rust-lang/crates.io-index"
47 37 checksum = "fdf011db2e21ce0d575593d749db5554b47fed37aff429e4dc50bc91ac93a028"
48 38 dependencies = [
49 - "aead 0.6.1",
39 + "aead",
50 40 "aes",
51 - "cipher 0.5.2",
41 + "cipher",
52 42 "ctr",
53 43 "ghash",
54 44 "subtle",
@@ -278,7 +268,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
278 268 checksum = "62ce3946557b35e71d1bbe07ec385073ce9eda05043f95de134eb578fcf1a298"
279 269 dependencies = [
280 270 "byteorder",
281 - "cipher 0.5.2",
271 + "cipher",
282 272 ]
283 273
284 274 [[package]]
@@ -320,7 +310,7 @@ version = "0.2.1"
320 310 source = "registry+https://github.com/rust-lang/crates.io-index"
321 311 checksum = "ce2dc9ee5f88d11e0beb842c88b33c8a5cf0d1329c4b19494af42b07dbfe8896"
322 312 dependencies = [
323 - "cipher 0.5.2",
313 + "cipher",
324 314 ]
325 315
326 316 [[package]]
@@ -349,23 +339,12 @@ checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724"
349 339
350 340 [[package]]
351 341 name = "chacha20"
352 - version = "0.9.1"
353 - source = "registry+https://github.com/rust-lang/crates.io-index"
354 - checksum = "c3613f74bd2eac03dad61bd53dbe620703d4371614fe0bc3b9f04dd36fe4e818"
355 - dependencies = [
356 - "cfg-if",
357 - "cipher 0.4.4",
358 - "cpufeatures 0.2.17",
359 - ]
360 -
361 - [[package]]
362 - name = "chacha20"
363 342 version = "0.10.1"
364 343 source = "registry+https://github.com/rust-lang/crates.io-index"
365 344 checksum = "d524456ba66e72eb8b115ff89e01e497f8e6d11d78b70b1aa13c0fbd97540a81"
366 345 dependencies = [
367 346 "cfg-if",
368 - "cipher 0.5.2",
347 + "cipher",
369 348 "cpufeatures 0.3.0",
370 349 "rand_core 0.10.1",
371 350 "zeroize",
@@ -373,15 +352,14 @@ dependencies = [
373 352
374 353 [[package]]
375 354 name = "chacha20poly1305"
376 - version = "0.10.1"
355 + version = "0.11.0"
377 356 source = "registry+https://github.com/rust-lang/crates.io-index"
378 - checksum = "10cd79432192d1c0f4e1a0fef9527696cc039165d729fb41b3f4f4f354c2dc35"
357 + checksum = "9b89e1c441e926b9c82a8d023f6e1b7ae0adcfaa7d621814e4d60789bac751cb"
379 358 dependencies = [
380 - "aead 0.5.2",
381 - "chacha20 0.9.1",
382 - "cipher 0.4.4",
383 - "poly1305 0.8.0",
384 - "zeroize",
359 + "aead",
360 + "chacha20",
361 + "cipher",
362 + "poly1305",
385 363 ]
386 364
387 365 [[package]]
@@ -400,24 +378,13 @@ dependencies = [
400 378
401 379 [[package]]
402 380 name = "cipher"
403 - version = "0.4.4"
404 - source = "registry+https://github.com/rust-lang/crates.io-index"
405 - checksum = "773f3b9af64447d2ce9850330c473515014aa235e6a783b02db81ff39e4a3dad"
406 - dependencies = [
407 - "crypto-common 0.1.7",
408 - "inout 0.1.4",
409 - "zeroize",
410 - ]
411 -
412 - [[package]]
413 - name = "cipher"
414 381 version = "0.5.2"
415 382 source = "registry+https://github.com/rust-lang/crates.io-index"
416 383 checksum = "e8cf2a2c93cd704877c0858356ed03480ff301ee950b43f1cbe4573b088bfa6c"
417 384 dependencies = [
418 385 "block-buffer 0.12.0",
419 386 "crypto-common 0.2.2",
420 - "inout 0.2.2",
387 + "inout",
421 388 "zeroize",
422 389 ]
423 390
@@ -617,7 +584,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
617 584 checksum = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a"
618 585 dependencies = [
619 586 "generic-array 0.14.7",
620 - "rand_core 0.6.4",
621 587 "typenum",
622 588 ]
623 589
@@ -658,7 +624,7 @@ version = "0.10.1"
658 624 source = "registry+https://github.com/rust-lang/crates.io-index"
659 625 checksum = "baaca1c4b237092596f64d571e9db6ce4109c4ef9742e27590f1709594461f21"
660 626 dependencies = [
661 - "cipher 0.5.2",
627 + "cipher",
662 628 ]
663 629
664 630 [[package]]
@@ -673,6 +639,21 @@ dependencies = [
673 639
674 640 [[package]]
675 641 name = "curve25519-dalek"
642 + version = "4.1.3"
643 + source = "registry+https://github.com/rust-lang/crates.io-index"
644 + checksum = "97fb8b7c4503de7d6ae7b42ab72a5a59857b4c937ec27a3d4539dba95b5ab2be"
645 + dependencies = [
646 + "cfg-if",
647 + "cpufeatures 0.2.17",
648 + "curve25519-dalek-derive",
649 + "fiat-crypto 0.2.9",
650 + "rustc_version",
651 + "subtle",
652 + "zeroize",
653 + ]
654 +
655 + [[package]]
656 + name = "curve25519-dalek"
676 657 version = "5.0.0"
677 658 source = "registry+https://github.com/rust-lang/crates.io-index"
678 659 checksum = "b5eed333089e2e1c1ac8c6c0398e5e2497b4c9926ca6d0365ed1e099afa5bc23"
@@ -681,7 +662,7 @@ dependencies = [
681 662 "cpufeatures 0.3.0",
682 663 "curve25519-dalek-derive",
683 664 "digest 0.11.2",
684 - "fiat-crypto",
665 + "fiat-crypto 0.3.0",
685 666 "rand_core 0.10.1",
686 667 "rustc_version",
687 668 "subtle",
@@ -804,7 +785,7 @@ version = "0.9.0"
804 785 source = "registry+https://github.com/rust-lang/crates.io-index"
805 786 checksum = "916a94e407b54f9034d71dd748234cd1e516ced6284009906ae246f177eafe5a"
806 787 dependencies = [
807 - "cipher 0.5.2",
788 + "cipher",
808 789 ]
809 790
810 791 [[package]]
@@ -888,7 +869,7 @@ version = "3.0.0"
888 869 source = "registry+https://github.com/rust-lang/crates.io-index"
889 870 checksum = "6ebaa1a2bf1290ab3bfe5a7b771d050ebffab2711c19a81691c683a5144a25de"
890 871 dependencies = [
891 - "curve25519-dalek",
872 + "curve25519-dalek 5.0.0",
892 873 "ed25519",
893 874 "rand_core 0.10.1",
894 875 "serde",
@@ -983,12 +964,6 @@ dependencies = [
983 964 ]
984 965
985 966 [[package]]
986 - name = "fastrand"
987 - version = "2.4.1"
988 - source = "registry+https://github.com/rust-lang/crates.io-index"
989 - checksum = "9f1f227452a390804cdb637b74a86990f2a7d7ba4b7d5693aac9b4dd6defd8d6"
990 -
991 - [[package]]
992 967 name = "ff"
993 968 version = "0.14.0"
994 969 source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -1000,6 +975,12 @@ dependencies = [
1000 975
1001 976 [[package]]
1002 977 name = "fiat-crypto"
978 + version = "0.2.9"
979 + source = "registry+https://github.com/rust-lang/crates.io-index"
980 + checksum = "28dea519a9695b9977216879a3ebfddf92f1c08c05d984f8996aecd6ecdc811d"
981 +
982 + [[package]]
983 + name = "fiat-crypto"
1003 984 version = "0.3.0"
1004 985 source = "registry+https://github.com/rust-lang/crates.io-index"
1005 986 checksum = "64cd1e32ddd350061ae6edb1b082d7c54915b5c672c389143b9a63403a109f24"
@@ -1074,21 +1055,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
1074 1055 checksum = "77ce24cb58228fbb8aa041425bb1050850ac19177686ea6e0f41a70416f56fdb"
1075 1056
1076 1057 [[package]]
1077 - name = "foreign-types"
1078 - version = "0.3.2"
1079 - source = "registry+https://github.com/rust-lang/crates.io-index"
1080 - checksum = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1"
1081 - dependencies = [
1082 - "foreign-types-shared",
1083 - ]
1084 -
1085 - [[package]]
1086 - name = "foreign-types-shared"
1087 - version = "0.1.1"
1088 - source = "registry+https://github.com/rust-lang/crates.io-index"
1089 - checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b"
1090 -
1091 - [[package]]
1092 1058 name = "form_urlencoded"
1093 1059 version = "1.2.2"
1094 1060 source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -1446,22 +1412,6 @@ dependencies = [
1446 1412 ]
1447 1413
1448 1414 [[package]]
1449 - name = "hyper-tls"
1450 - version = "0.6.0"
1451 - source = "registry+https://github.com/rust-lang/crates.io-index"
1452 - checksum = "70206fc6890eaca9fde8a0bf71caa2ddfc9fe045ac9e5c70df101a7dbde866e0"
1453 - dependencies = [
1454 - "bytes",
1455 - "http-body-util",
1456 - "hyper",
1457 - "hyper-util",
1458 - "native-tls",
1459 - "tokio",
1460 - "tokio-native-tls",
1461 - "tower-service",
1462 - ]
1463 -
1464 - [[package]]
1465 1415 name = "hyper-util"
1466 1416 version = "0.1.20"
1467 1417 source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -1647,15 +1597,6 @@ dependencies = [
1647 1597
1648 1598 [[package]]
1649 1599 name = "inout"
1650 - version = "0.1.4"
1651 - source = "registry+https://github.com/rust-lang/crates.io-index"
1652 - checksum = "879f10e63c20629ecabbb64a8010319738c66a5cd0c29b02d63d272b03751d01"
1653 - dependencies = [
1654 - "generic-array 0.14.7",
1655 - ]
1656 -
1657 - [[package]]
1658 - name = "inout"
1659 1600 version = "0.2.2"
1660 1601 source = "registry+https://github.com/rust-lang/crates.io-index"
1661 1602 checksum = "4250ce6452e92010fdf7268ccc5d14faa80bb12fc741938534c58f16804e03c7"
@@ -2030,23 +1971,6 @@ dependencies = [
2030 1971 ]
2031 1972
2032 1973 [[package]]
2033 - name = "native-tls"
2034 - version = "0.2.18"
2035 - source = "registry+https://github.com/rust-lang/crates.io-index"
2036 - checksum = "465500e14ea162429d264d44189adc38b199b62b1c21eea9f69e4b73cb03bbf2"
2037 - dependencies = [
2038 - "libc",
2039 - "log",
2040 - "openssl",
2041 - "openssl-probe",
2042 - "openssl-sys",
2043 - "schannel",
2044 - "security-framework",
2045 - "security-framework-sys",
2046 - "tempfile",
2047 - ]
2048 -
2049 - [[package]]
2050 1974 name = "nix"
2051 1975 version = "0.29.0"
2052 1976 source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -2161,55 +2085,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
2161 2085 checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50"
2162 2086
2163 2087 [[package]]
2164 - name = "opaque-debug"
2165 - version = "0.3.1"
2166 - source = "registry+https://github.com/rust-lang/crates.io-index"
2167 - checksum = "c08d65885ee38876c4f86fa503fb49d7b507c2b62552df7c70b2fce627e06381"
2168 -
2169 - [[package]]
2170 - name = "openssl"
2171 - version = "0.10.80"
2172 - source = "registry+https://github.com/rust-lang/crates.io-index"
2173 - checksum = "a45fa2aa886c42762255da344f0a0d313e254066c46aad76f300c3d3da62d967"
2174 - dependencies = [
2175 - "bitflags 2.11.0",
2176 - "cfg-if",
2177 - "foreign-types",
2178 - "libc",
2179 - "openssl-macros",
2180 - "openssl-sys",
2181 - ]
2182 -
2183 - [[package]]
2184 - name = "openssl-macros"
2185 - version = "0.1.1"
2186 - source = "registry+https://github.com/rust-lang/crates.io-index"
2187 - checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c"
2188 - dependencies = [
2189 - "proc-macro2",
2190 - "quote",
2191 - "syn 2.0.117",
2192 - ]
2193 -
2194 - [[package]]
2195 2088 name = "openssl-probe"
2196 2089 version = "0.2.1"
2197 2090 source = "registry+https://github.com/rust-lang/crates.io-index"
2198 2091 checksum = "7c87def4c32ab89d880effc9e097653c8da5d6ef28e6b539d313baaacfbafcbe"
2199 2092
2200 2093 [[package]]
2201 - name = "openssl-sys"
2202 - version = "0.9.116"
2203 - source = "registry+https://github.com/rust-lang/crates.io-index"
2204 - checksum = "f28a22dc7140cda5f096e5e7724a6962ca81a7f8bfd2979f9b18c11af56318c4"
2205 - dependencies = [
2206 - "cc",
2207 - "libc",
2208 - "pkg-config",
2209 - "vcpkg",
2210 - ]
2211 -
2212 - [[package]]
2213 2094 name = "ordered-float"
2214 2095 version = "4.6.0"
2215 2096 source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -2239,7 +2120,7 @@ checksum = "d17b851e6b3e378ab4ecb07fa2ed23f4d15f075735f8fec9fa1e7bdce5f8301f"
2239 2120 dependencies = [
2240 2121 "ecdsa",
2241 2122 "elliptic-curve",
2242 - "fiat-crypto",
2123 + "fiat-crypto 0.3.0",
2243 2124 "primefield",
2244 2125 "primeorder",
2245 2126 "sha2 0.11.0",
@@ -2503,30 +2384,13 @@ dependencies = [
2503 2384 ]
2504 2385
2505 2386 [[package]]
2506 - name = "pkg-config"
2507 - version = "0.3.33"
2508 - source = "registry+https://github.com/rust-lang/crates.io-index"
2509 - checksum = "19f132c84eca552bf34cab8ec81f1c1dcc229b811638f9d283dceabe58c5569e"
2510 -
2511 - [[package]]
2512 - name = "poly1305"
2513 - version = "0.8.0"
2514 - source = "registry+https://github.com/rust-lang/crates.io-index"
2515 - checksum = "8159bd90725d2df49889a078b54f4f79e87f1f8a8444194cdca81d38f5393abf"
2516 - dependencies = [
2517 - "cpufeatures 0.2.17",
2518 - "opaque-debug",
2519 - "universal-hash 0.5.1",
2520 - ]
2521 -
2522 - [[package]]
2523 2387 name = "poly1305"
2524 2388 version = "0.9.1"
2525 2389 source = "registry+https://github.com/rust-lang/crates.io-index"
2526 2390 checksum = "6e2d0073b297041425c7c3df6eb4792d598a15323fe63346852b092eca02904c"
2527 2391 dependencies = [
2528 2392 "cpufeatures 0.3.0",
2529 - "universal-hash 0.6.1",
2393 + "universal-hash",
2530 2394 "zeroize",
2531 2395 ]
2532 2396
@@ -2538,7 +2402,7 @@ checksum = "f0fa31d631f2b2cb2a544d0aa321ce847a94764d701ca2becc411138b93d49cd"
2538 2402 dependencies = [
2539 2403 "cpubits",
2540 2404 "cpufeatures 0.3.0",
2541 - "universal-hash 0.6.1",
2405 + "universal-hash",
2542 2406 ]
2543 2407
2544 2408 [[package]]
@@ -2721,7 +2585,7 @@ version = "0.10.2"
2721 2585 source = "registry+https://github.com/rust-lang/crates.io-index"
2722 2586 checksum = "c7f5fa3a058cd35567ef9bfa5e75732bee0f9e4c55fa90477bef2dfcdbc4be80"
2723 2587 dependencies = [
2724 - "chacha20 0.10.1",
2588 + "chacha20",
2725 2589 "getrandom 0.4.2",
2726 2590 "rand_core 0.10.1",
2727 2591 ]
@@ -2910,12 +2774,10 @@ dependencies = [
2910 2774 "http-body-util",
2911 2775 "hyper",
2912 2776 "hyper-rustls",
2913 - "hyper-tls",
2914 2777 "hyper-util",
2915 2778 "js-sys",
2916 2779 "log",
2917 2780 "mime",
2918 - "native-tls",
2919 2781 "percent-encoding",
2920 2782 "pin-project-lite",
2921 2783 "quinn",
@@ -2927,7 +2789,6 @@ dependencies = [
2927 2789 "serde_urlencoded",
2928 2790 "sync_wrapper",
2929 2791 "tokio",
2930 - "tokio-native-tls",
2931 2792 "tokio-rustls",
2932 2793 "tokio-util",
2933 2794 "tower",
@@ -2996,10 +2857,10 @@ dependencies = [
2996 2857 "byteorder",
2997 2858 "bytes",
2998 2859 "cbc",
2999 - "cipher 0.5.2",
2860 + "cipher",
3000 2861 "crypto-bigint",
3001 2862 "ctr",
3002 - "curve25519-dalek",
2863 + "curve25519-dalek 5.0.0",
3003 2864 "data-encoding",
3004 2865 "delegate",
3005 2866 "der",
@@ -3015,7 +2876,7 @@ dependencies = [
3015 2876 "ghash",
3016 2877 "hex-literal",
3017 2878 "hmac",
3018 - "inout 0.2.2",
2879 + "inout",
3019 2880 "internal-russh-num-bigint",
3020 2881 "keccak",
3021 2882 "log",
@@ -3051,7 +2912,7 @@ dependencies = [
3051 2912 "thiserror 2.0.18",
3052 2913 "tokio",
3053 2914 "typenum",
3054 - "universal-hash 0.6.1",
2915 + "universal-hash",
3055 2916 "zeroize",
3056 2917 ]
3057 2918
@@ -3218,7 +3079,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
3218 3079 checksum = "2f874456e72520ff1375a06c588eaf074b0f01f9e9e1aada45bd9b7954a6e42c"
3219 3080 dependencies = [
3220 3081 "cfg-if",
3221 - "cipher 0.5.2",
3082 + "cipher",
3222 3083 ]
3223 3084
3224 3085 [[package]]
@@ -3553,14 +3414,14 @@ version = "0.3.0"
3553 3414 source = "registry+https://github.com/rust-lang/crates.io-index"
3554 3415 checksum = "d801accda99469cde6d73da741422610fdf6508a72d9a69d1b55cb241c720597"
3555 3416 dependencies = [
3556 - "aead 0.6.1",
3417 + "aead",
3557 3418 "aes",
3558 3419 "aes-gcm",
3559 - "chacha20 0.10.1",
3560 - "cipher 0.5.2",
3420 + "chacha20",
3421 + "cipher",
3561 3422 "ctutils",
3562 3423 "des",
3563 - "poly1305 0.9.1",
3424 + "poly1305",
3564 3425 "ssh-encoding",
3565 3426 "zeroize",
3566 3427 ]
@@ -3705,6 +3566,7 @@ dependencies = [
3705 3566 "unicode-normalization",
3706 3567 "urlencoding",
3707 3568 "uuid",
3569 + "x25519-dalek",
3708 3570 "zeroize",
3709 3571 ]
3710 3572
@@ -3741,19 +3603,6 @@ dependencies = [
3741 3603 ]
3742 3604
3743 3605 [[package]]
3744 - name = "tempfile"
3745 - version = "3.27.0"
3746 - source = "registry+https://github.com/rust-lang/crates.io-index"
3747 - checksum = "32497e9a4c7b38532efcdebeef879707aa9f794296a4f0244f6f69e9bc8574bd"
3748 - dependencies = [
3749 - "fastrand",
3750 - "getrandom 0.4.2",
3751 - "once_cell",
3752 - "rustix",
3753 - "windows-sys 0.61.2",
3754 - ]
3755 -
3756 - [[package]]
3757 3606 name = "terminfo"
Lines truncated