gix NIF: gix 0.90, off digest 0.10 and block-buffer 0.10

727d1f1 · Gabriel Morell · 2026-10-27 19:31

6 files +196 -257
Message
{commit_body(@commit)}

Files changed

modified native/gitgud_gix/Cargo.lock
+190 −252
@@ -56,15 +56,6 @@ version = "2.11.1"
56 56 source = "registry+https://github.com/rust-lang/crates.io-index"
57 57 checksum = "c4512299f36f043ab09a583e57bceb5a5aab7a73db1805848e8fef3c9e8c78b3"
58 58
59 −[[package]]
60 −name = "block-buffer"
61 −version = "0.10.4"
62 −source = "registry+https://github.com/rust-lang/crates.io-index"
63 −checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71"
64 −dependencies = [
65 − "generic-array",
66 −]
67 −
68 59 [[package]]
69 60 name = "bstr"
70 61 version = "1.12.1"
@@ -112,15 +103,6 @@ dependencies = [
112 103 "hashbrown 0.16.1",
113 104 ]
114 105
115 −[[package]]
116 −name = "cpufeatures"
117 −version = "0.2.17"
118 −source = "registry+https://github.com/rust-lang/crates.io-index"
119 −checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280"
120 −dependencies = [
121 − "libc",
122 −]
123 −
124 106 [[package]]
125 107 name = "crc32fast"
126 108 version = "1.5.0"
@@ -164,16 +146,6 @@ version = "0.8.21"
164 146 source = "registry+https://github.com/rust-lang/crates.io-index"
165 147 checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28"
166 148
167 −[[package]]
168 −name = "crypto-common"
169 −version = "0.1.7"
170 −source = "registry+https://github.com/rust-lang/crates.io-index"
171 −checksum = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a"
172 −dependencies = [
173 − "generic-array",
174 − "typenum",
175 −]
176 −
177 149 [[package]]
178 150 name = "dashmap"
179 151 version = "6.2.1"
@@ -228,16 +200,6 @@ dependencies = [
228 200 "thiserror 2.0.18",
229 201 ]
230 202
231 −[[package]]
232 −name = "digest"
233 −version = "0.10.7"
234 −source = "registry+https://github.com/rust-lang/crates.io-index"
235 −checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292"
236 −dependencies = [
237 − "block-buffer",
238 − "crypto-common",
239 −]
240 −
241 203 [[package]]
242 204 name = "dunce"
243 205 version = "1.0.5"
@@ -315,16 +277,6 @@ version = "0.2.0"
315 277 source = "registry+https://github.com/rust-lang/crates.io-index"
316 278 checksum = "77ce24cb58228fbb8aa041425bb1050850ac19177686ea6e0f41a70416f56fdb"
317 279
318 −[[package]]
319 −name = "generic-array"
320 −version = "0.14.7"
321 −source = "registry+https://github.com/rust-lang/crates.io-index"
322 −checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a"
323 −dependencies = [
324 − "typenum",
325 − "version_check",
326 −]
327 −
328 280 [[package]]
329 281 name = "getrandom"
330 282 version = "0.4.2"
@@ -351,9 +303,9 @@ dependencies = [
351 303
352 304 [[package]]
353 305 name = "gix"
354 −version = "0.87.1"
306 +version = "0.90.0"
355 307 source = "registry+https://github.com/rust-lang/crates.io-index"
356 −checksum = "fdefc1465d8631807deaf504dacdeff628b978de515653b47976ca7c28ab2a7a"
308 +checksum = "b92b20c1560511a9014b16e29db2f3c6f0580d4fe289b70f41131277b065a3b0"
357 309 dependencies = [
358 310 "gix-actor",
359 311 "gix-attributes",
@@ -365,7 +317,6 @@ dependencies = [
365 317 "gix-diff",
366 318 "gix-discover",
367 319 "gix-error",
368 − "gix-features",
369 320 "gix-filter",
370 321 "gix-fs",
371 322 "gix-glob",
@@ -380,6 +331,7 @@ dependencies = [
380 331 "gix-object",
381 332 "gix-odb",
382 333 "gix-pack",
334 + "gix-parallel",
383 335 "gix-path",
384 336 "gix-pathspec",
385 337 "gix-prompt",
@@ -404,14 +356,13 @@ dependencies = [
404 356 "gix-zlib",
405 357 "nonempty",
406 358 "smallvec",
407 − "thiserror 2.0.18",
408 359 ]
409 360
410 361 [[package]]
411 362 name = "gix-actor"
412 −version = "0.42.0"
363 +version = "0.44.1"
413 364 source = "registry+https://github.com/rust-lang/crates.io-index"
414 −checksum = "e37efa99929ac62f980fb1a7dcd09dea85b3aa6ead6ba0498362add3f4e698de"
365 +checksum = "78243d3371019288a40a75ba1a58de2815c32591fc87b9f7cb01918bce364ca8"
415 366 dependencies = [
416 367 "bstr",
417 368 "gix-date",
@@ -420,46 +371,47 @@ dependencies = [
420 371
421 372 [[package]]
422 373 name = "gix-attributes"
423 −version = "0.35.0"
374 +version = "0.37.1"
424 375 source = "registry+https://github.com/rust-lang/crates.io-index"
425 −checksum = "76b83782ac69ae28921a6e8fbcf2e24069613f1518030b97ae622b079abffa54"
376 +checksum = "6b9947d93a94d41ddde66ac655674269121cbebaf6cdee30d8d0e7dbe85edb4c"
426 377 dependencies = [
427 378 "bstr",
428 − "gix-features",
379 + "gix-error",
429 380 "gix-glob",
381 + "gix-parallel",
430 382 "gix-path",
431 383 "gix-quote",
432 384 "gix-trace",
433 385 "smallvec",
434 − "thiserror 2.0.18",
435 386 "unicode-bom",
436 387 ]
437 388
438 389 [[package]]
439 390 name = "gix-bitmap"
440 −version = "0.4.0"
391 +version = "0.6.1"
441 392 source = "registry+https://github.com/rust-lang/crates.io-index"
442 −checksum = "f17013c7ef5cb95ebb4bf4978201e6a8a42ffea9d666fd5388f1b7e742307d80"
393 +checksum = "422cd23418fd80e9e965595323975d72abd6364a66ff8f0daade5c105a7f35d2"
443 394 dependencies = [
444 395 "gix-error",
445 396 ]
446 397
447 398 [[package]]
448 399 name = "gix-chunk"
449 −version = "0.8.0"
400 +version = "0.10.1"
450 401 source = "registry+https://github.com/rust-lang/crates.io-index"
451 −checksum = "00e32f938b3745ac93d73bc7490b6a15a661b2fc81973bfe90e275cc53c908e1"
402 +checksum = "dc6a775aba54f0d65698126cc4214b6bf8ddb208312e4ef4240dfe34b0697b87"
452 403 dependencies = [
453 404 "gix-error",
454 405 ]
455 406
456 407 [[package]]
457 408 name = "gix-command"
458 −version = "0.10.1"
409 +version = "0.12.1"
459 410 source = "registry+https://github.com/rust-lang/crates.io-index"
460 −checksum = "aa00adbd2c77f584cfe41f348772d2f131af1fa519a7f6b98638f1144ead96a4"
411 +checksum = "df63215f103299169e239dfe76f5cfa4a3d6d4adf69a01774085e3e0423cba34"
461 412 dependencies = [
462 413 "bstr",
414 + "gix-error",
463 415 "gix-path",
464 416 "gix-quote",
465 417 "gix-trace",
@@ -467,9 +419,9 @@ dependencies = [
467 419
468 420 [[package]]
469 421 name = "gix-commitgraph"
470 −version = "0.39.0"
422 +version = "0.42.0"
471 423 source = "registry+https://github.com/rust-lang/crates.io-index"
472 −checksum = "6b93c9fb1f5be01bba54a7a3b7455d359efc68555539c75ef74b8021bb6db497"
424 +checksum = "60b53b700d2a506cf98075099df1fcc0558265cbb47fd86bc6d03c231e4bd72a"
473 425 dependencies = [
474 426 "bstr",
475 427 "gix-chunk",
@@ -481,60 +433,63 @@ dependencies = [
481 433
482 434 [[package]]
483 435 name = "gix-config"
484 −version = "0.60.0"
436 +version = "0.62.2"
485 437 source = "registry+https://github.com/rust-lang/crates.io-index"
486 −checksum = "f973c28c0a4871a7926fc90c8377d4458fd6cbb19692f56582b4d2022313ae90"
438 +checksum = "3e11ccf82e9630c4e7befbae07cbe90e79de61dc73a34448c2dec70a13da9ebf"
487 439 dependencies = [
488 440 "bstr",
489 441 "gix-config-value",
490 − "gix-features",
442 + "gix-error",
491 443 "gix-glob",
444 + "gix-parallel",
492 445 "gix-path",
493 446 "gix-ref",
494 447 "gix-sec",
448 + "gix-trace",
495 449 "gix-utils",
496 450 "smallvec",
497 − "thiserror 2.0.18",
498 451 "unicode-bom",
499 452 ]
500 453
501 454 [[package]]
502 455 name = "gix-config-value"
503 −version = "0.19.1"
456 +version = "0.21.1"
504 457 source = "registry+https://github.com/rust-lang/crates.io-index"
505 −checksum = "6f6af5321bfd3711a279d6b244d58532ba1cfabf9eb6374791f19929d8970082"
458 +checksum = "6cdada8bd9c97dc6522505c08226d9c88f0a1286f2c06b9e1bf51c3bf7ad7b2b"
506 459 dependencies = [
507 460 "bitflags 2.11.1",
508 461 "bstr",
462 + "gix-error",
509 463 "gix-path",
464 + "gix-utils",
510 465 "libc",
511 − "thiserror 2.0.18",
512 466 ]
513 467
514 468 [[package]]
515 469 name = "gix-credentials"
516 −version = "0.40.0"
470 +version = "0.42.1"
517 471 source = "registry+https://github.com/rust-lang/crates.io-index"
518 −checksum = "16c11822054fd4b80a1ab722b703f2e7c691b20484d898374289b742c1f49e50"
472 +checksum = "8487f709886267337ee39231a5e68f3c6a4e28fd59e056fc9e66e9638941c633"
519 473 dependencies = [
520 474 "bstr",
521 475 "gix-command",
522 476 "gix-config-value",
523 477 "gix-date",
478 + "gix-error",
524 479 "gix-path",
525 480 "gix-prompt",
526 481 "gix-quote",
527 482 "gix-sec",
528 483 "gix-trace",
529 484 "gix-url",
530 − "thiserror 2.0.18",
485 + "percent-encoding",
531 486 ]
532 487
533 488 [[package]]
534 489 name = "gix-date"
535 −version = "0.16.0"
490 +version = "0.18.1"
536 491 source = "registry+https://github.com/rust-lang/crates.io-index"
537 −checksum = "e63d9aa18f29facd571c8953e66224ee0075b9e16622024794555ed4acceea85"
492 +checksum = "4c538190012dbb536df54734ec38cc1109270c73f2f76585c011dd5b0c9f087c"
538 493 dependencies = [
539 494 "bstr",
540 495 "gix-error",
@@ -544,12 +499,13 @@ dependencies = [
544 499
545 500 [[package]]
546 501 name = "gix-diff"
547 −version = "0.67.1"
502 +version = "0.70.0"
548 503 source = "registry+https://github.com/rust-lang/crates.io-index"
549 −checksum = "1b1689ff5ddeee4acfb2a43e875a1072a76d208624b15a9065c938b39cb0da2a"
504 +checksum = "2c794988335792f85c3ca79c385c950b3a921a71ba3df361cb1f9e5b6bd4a6e4"
550 505 dependencies = [
551 506 "bstr",
552 507 "gix-command",
508 + "gix-error",
553 509 "gix-filter",
554 510 "gix-fs",
555 511 "gix-hash",
@@ -560,62 +516,43 @@ dependencies = [
560 516 "gix-trace",
561 517 "gix-traverse",
562 518 "gix-worktree",
563 − "thiserror 2.0.18",
564 519 ]
565 520
566 521 [[package]]
567 522 name = "gix-discover"
568 −version = "0.55.0"
523 +version = "0.57.1"
569 524 source = "registry+https://github.com/rust-lang/crates.io-index"
570 −checksum = "ec32a30ec2934735599c2545f30067e80bd255fd3454b52a5d59bc02b52874a3"
525 +checksum = "4a0875f4e5408713fcf92265973cc38bf9dc5a93384ce218beba0572b7785a03"
571 526 dependencies = [
572 527 "bstr",
573 528 "dunce",
529 + "gix-error",
574 530 "gix-fs",
575 531 "gix-path",
576 532 "gix-ref",
577 533 "gix-sec",
578 − "thiserror 2.0.18",
579 534 ]
580 535
581 536 [[package]]
582 537 name = "gix-error"
583 −version = "0.3.2"
538 +version = "0.5.2"
584 539 source = "registry+https://github.com/rust-lang/crates.io-index"
585 −checksum = "4a1ba536602db507119eb5f3cdf80bef3ca5a5ec0dfc6e9c7f46dc70ade7c112"
540 +checksum = "d87ff4b3f3daf01234d38d176b0ec00e92de514cc0e3fb8a8898c5cb7ccd22bb"
586 541 dependencies = [
587 542 "bstr",
588 543 ]
589 544
590 −[[package]]
591 −name = "gix-features"
592 −version = "0.49.1"
593 −source = "registry+https://github.com/rust-lang/crates.io-index"
594 −checksum = "39c0e59d9d253dcccc38c3a46b91bfb9b46bd63eed54fe1a719e12194884d52a"
595 −dependencies = [
596 − "bytes",
597 − "crc32fast",
598 − "crossbeam-channel",
599 − "gix-path",
600 − "gix-trace",
601 − "gix-utils",
602 − "libc",
603 − "once_cell",
604 − "parking_lot",
605 − "prodash",
606 − "walkdir",
607 −]
608 −
609 545 [[package]]
610 546 name = "gix-filter"
611 −version = "0.34.0"
547 +version = "0.36.1"
612 548 source = "registry+https://github.com/rust-lang/crates.io-index"
613 −checksum = "9c30b28d957e2e6f1e1bbfbfd26b8e0bb0aab68d8a5e730fb4fd3049943575e3"
549 +checksum = "f8df8d50fda4684c6ec366f75e4082ab6fc3d437d3deec30ff88462710b68d17"
614 550 dependencies = [
615 551 "bstr",
616 552 "encoding_rs",
617 553 "gix-attributes",
618 554 "gix-command",
555 + "gix-error",
619 556 "gix-hash",
620 557 "gix-object",
621 558 "gix-packetline",
@@ -624,51 +561,54 @@ dependencies = [
624 561 "gix-trace",
625 562 "gix-utils",
626 563 "smallvec",
627 − "thiserror 2.0.18",
628 564 ]
629 565
630 566 [[package]]
631 567 name = "gix-fs"
632 −version = "0.22.1"
568 +version = "0.24.1"
633 569 source = "registry+https://github.com/rust-lang/crates.io-index"
634 −checksum = "ebcfa9fd253f25350a3b21b3dd74034a446098e373c6123d4cee3519894f12ef"
570 +checksum = "808f23d897ddfe847d9b7206bda947901885be623bdf96b226a2dccf87f018c7"
635 571 dependencies = [
636 572 "bstr",
637 − "gix-features",
573 + "gix-error",
574 + "gix-parallel",
638 575 "gix-path",
639 576 "gix-utils",
640 − "thiserror 2.0.18",
577 + "libc",
578 + "walkdir",
641 579 ]
642 580
643 581 [[package]]
644 582 name = "gix-glob"
645 −version = "0.27.1"
583 +version = "0.29.1"
646 584 source = "registry+https://github.com/rust-lang/crates.io-index"
647 −checksum = "b417cf515fd8c91468b578071f76d6cba716f8a1eccd853906bff4908b2c1413"
585 +checksum = "7a12789fa68a150293ad8834d267b31044240532b5ccf2734d228fe985cba2be"
648 586 dependencies = [
649 587 "bitflags 2.11.1",
650 588 "bstr",
651 − "gix-features",
589 + "gix-fs",
652 590 "gix-path",
591 + "gix-trace",
592 + "gix-utils",
653 593 ]
654 594
655 595 [[package]]
656 596 name = "gix-hash"
657 −version = "0.26.2"
597 +version = "0.28.1"
658 598 source = "registry+https://github.com/rust-lang/crates.io-index"
659 −checksum = "380b9c423a54f0821064b954b5a5ab25c660812f6a91da03c3f1cb4b10762aa5"
599 +checksum = "b4802ffb87e051795822bfdaa8ab9075b23e316684f7054e6ce4a246b2b76f4e"
660 600 dependencies = [
661 601 "faster-hex",
662 − "gix-features",
663 − "sha1-checked",
664 − "thiserror 2.0.18",
602 + "gix-error",
603 + "gix-utils",
604 + "sha1dc",
665 605 ]
666 606
667 607 [[package]]
668 608 name = "gix-hashtable"
669 −version = "0.16.0"
609 +version = "0.18.1"
670 610 source = "registry+https://github.com/rust-lang/crates.io-index"
671 −checksum = "78fccd6fea3bcf0b39c076bae60ae49b08daaf538b950202101a981f9d3c01d3"
611 +checksum = "2f66822aee11ccb28d6a2e63b587254e578fb52a138bd5806b58d8560125592b"
672 612 dependencies = [
673 613 "gix-hash",
674 614 "hashbrown 0.17.1",
@@ -677,9 +617,9 @@ dependencies = [
677 617
678 618 [[package]]
679 619 name = "gix-ignore"
680 −version = "0.22.1"
620 +version = "0.24.1"
681 621 source = "registry+https://github.com/rust-lang/crates.io-index"
682 −checksum = "65859a2f7de5e159d4344a5486ebf53b6bac22d5ec6afa836e47c10ae88a7f0f"
622 +checksum = "968f12fe42896873504f46127cd5bf0f9a34fc1479a781f43cf94b5d8d760a15"
683 623 dependencies = [
684 624 "bstr",
685 625 "gix-glob",
@@ -690,9 +630,9 @@ dependencies = [
690 630
691 631 [[package]]
692 632 name = "gix-imara-diff"
693 −version = "0.2.5"
633 +version = "0.3.3"
694 634 source = "registry+https://github.com/rust-lang/crates.io-index"
695 −checksum = "1c91d8cffac8849493a82233811bd02b2b183b8cf39bf704de0fa0841b737595"
635 +checksum = "7518b930f6aeb75e871d32ce873c2ae46e35cef19b5a0b039d4337f651d897cd"
696 636 dependencies = [
697 637 "bstr",
698 638 "hashbrown 0.17.1",
@@ -700,20 +640,22 @@ dependencies = [
700 640
701 641 [[package]]
702 642 name = "gix-index"
703 −version = "0.55.0"
643 +version = "0.58.0"
704 644 source = "registry+https://github.com/rust-lang/crates.io-index"
705 −checksum = "632e16cb48b0e88a747e106924cb2765194105d8070a7a961b0d080ed806c632"
645 +checksum = "06bfc736774a623307eda890c918d308ef5acd37402bde2d6768fccb1f6ecb5d"
706 646 dependencies = [
707 647 "bitflags 2.11.1",
708 648 "bstr",
709 649 "filetime",
710 650 "fnv",
711 651 "gix-bitmap",
712 − "gix-features",
652 + "gix-error",
713 653 "gix-fs",
714 654 "gix-hash",
715 655 "gix-lock",
716 656 "gix-object",
657 + "gix-parallel",
658 + "gix-trace",
717 659 "gix-traverse",
718 660 "gix-utils",
719 661 "gix-validate",
@@ -723,25 +665,25 @@ dependencies = [
723 665 "memmap2",
724 666 "rustix",
725 667 "smallvec",
726 − "thiserror 2.0.18",
727 668 ]
728 669
729 670 [[package]]
730 671 name = "gix-lock"
731 −version = "24.0.0"
672 +version = "26.0.1"
732 673 source = "registry+https://github.com/rust-lang/crates.io-index"
733 −checksum = "d4c69157820343bf1c6e4b88b9808e920900de02e18aaf5862b30ada43814848"
674 +checksum = "64783de116c477c5ea4a7f3b56e18ab363dabfdae2724291ea0587b642cadb3d"
734 675 dependencies = [
676 + "gix-error",
677 + "gix-fs",
735 678 "gix-tempfile",
736 679 "gix-utils",
737 − "thiserror 2.0.18",
738 680 ]
739 681
740 682 [[package]]
741 683 name = "gix-macros"
742 −version = "0.1.6"
684 +version = "0.2.0"
743 685 source = "registry+https://github.com/rust-lang/crates.io-index"
744 −checksum = "d3836b4b051393464a753c5a08fe19c7ce0d8b77574a92bd558972941d4553cb"
686 +checksum = "f11f5429ca73cc3758c9f53af56a9fba100a8701c5b4bc30e29b8b0b15288991"
745 687 dependencies = [
746 688 "proc-macro2",
747 689 "quote",
@@ -750,13 +692,14 @@ dependencies = [
750 692
751 693 [[package]]
752 694 name = "gix-merge"
753 −version = "0.20.1"
695 +version = "0.23.0"
754 696 source = "registry+https://github.com/rust-lang/crates.io-index"
755 −checksum = "72fad4279c940a0fa460ffdf3a3c0e48b7ca5ccb2b08f51a02b22ffcd1efb900"
697 +checksum = "0cf6d8a0724d529adb7f4b1db8cb8408b829298a1e5f7ea167be4e36d113059b"
756 698 dependencies = [
757 699 "bstr",
758 700 "gix-command",
759 701 "gix-diff",
702 + "gix-error",
760 703 "gix-filter",
761 704 "gix-fs",
762 705 "gix-hash",
@@ -771,18 +714,18 @@ dependencies = [
771 714 "gix-trace",
772 715 "gix-worktree",
773 716 "nonempty",
774 − "thiserror 2.0.18",
775 717 ]
776 718
777 719 [[package]]
778 720 name = "gix-negotiate"
779 −version = "0.35.1"
721 +version = "0.38.0"
780 722 source = "registry+https://github.com/rust-lang/crates.io-index"
781 −checksum = "91068ecee956121d663635b873ae87ad9c5d3f2d6788facfd12829140b39c897"
723 +checksum = "148bee10394df68d44c245e05b4c0747edf19144405c6c36a9eee29db9bb250d"
782 724 dependencies = [
783 725 "bitflags 2.11.1",
784 726 "gix-commitgraph",
785 727 "gix-date",
728 + "gix-error",
786 729 "gix-hash",
787 730 "gix-object",
788 731 "gix-revwalk",
@@ -790,145 +733,161 @@ dependencies = [
790 733
791 734 [[package]]
792 735 name = "gix-note"
793 −version = "0.1.1"
736 +version = "0.3.1"
794 737 source = "registry+https://github.com/rust-lang/crates.io-index"
795 −checksum = "9af6bbdb3f3c62b4920407c479af1cc0beb27fd75a762782d48baed53d330958"
738 +checksum = "8473688f2262f4364f521b39ce2a5dbe94494f327fc19c945318d7aff580952e"
796 739 dependencies = [
797 740 "gix-error",
798 741 "gix-hash",
799 − "gix-hashtable",
800 742 "gix-object",
801 743 ]
802 744
803 745 [[package]]
804 746 name = "gix-object"
805 −version = "0.64.1"
747 +version = "0.66.1"
806 748 source = "registry+https://github.com/rust-lang/crates.io-index"
807 −checksum = "56fef799ca40cdeab4de5a3e74a696d8fa9b9c6264592646bf022e026f13ce2c"
749 +checksum = "beaf9086dd00b9d2a177ca3ae83210ce926cee7c0faa112e053851221cd8f94d"
808 750 dependencies = [
809 751 "bstr",
810 752 "gix-actor",
811 753 "gix-command",
812 754 "gix-date",
813 − "gix-features",
755 + "gix-error",
814 756 "gix-hash",
815 757 "gix-hashtable",
758 + "gix-path",
816 759 "gix-tempfile",
817 760 "gix-utils",
818 761 "gix-validate",
819 762 "itoa",
820 763 "smallvec",
821 − "thiserror 2.0.18",
822 764 ]
823 765
824 766 [[package]]
825 767 name = "gix-odb"
826 −version = "0.84.0"
768 +version = "0.87.0"
827 769 source = "registry+https://github.com/rust-lang/crates.io-index"
828 −checksum = "cf45d195b71cb6363886e7b466821bf4dffd7aba1b6b814ff75488e0061d72a7"
770 +checksum = "941b5b99fed282a5b05b54ea486c36c76b558afe151e6804c3acdd5c8f3c3459"
829 771 dependencies = [
830 772 "arc-swap",
831 − "gix-features",
773 + "crc32fast",
774 + "gix-error",
832 775 "gix-fs",
833 776 "gix-hash",
834 777 "gix-hashtable",
835 778 "gix-object",
836 779 "gix-pack",
780 + "gix-parallel",
837 781 "gix-path",
838 782 "gix-quote",
783 + "gix-trace",
784 + "gix-utils",
839 785 "gix-zlib",
840 786 "memmap2",
841 787 "parking_lot",
842 788 "tempfile",
843 − "thiserror 2.0.18",
844 789 ]
845 790
846 791 [[package]]
847 792 name = "gix-pack"
848 −version = "0.74.2"
793 +version = "0.77.0"
849 794 source = "registry+https://github.com/rust-lang/crates.io-index"
850 −checksum = "3d199d515cbdcf05f531f3859be9771fc12acac7b7fe0f5b581b2c1ab1c3a61e"
795 +checksum = "e2ef461798b1e6cb652192c69dfc9658dfc1bab457ef812dd1ab85d75104cbef"
851 796 dependencies = [
852 797 "clru",
798 + "crc32fast",
853 799 "crossbeam-deque",
854 800 "gix-chunk",
855 801 "gix-error",
856 − "gix-features",
857 802 "gix-hash",
858 803 "gix-hashtable",
859 804 "gix-object",
805 + "gix-parallel",
860 806 "gix-path",
861 807 "gix-tempfile",
808 + "gix-trace",
809 + "gix-utils",
862 810 "gix-zlib",
863 811 "memmap2",
864 812 "parking_lot",
865 813 "smallvec",
866 − "thiserror 2.0.18",
867 814 "uluru",
868 815 ]
869 816
870 817 [[package]]
871 818 name = "gix-packetline"
872 −version = "0.22.2"
819 +version = "0.24.1"
873 820 source = "registry+https://github.com/rust-lang/crates.io-index"
874 −checksum = "792bd92bea390087e6223b18d4d023decc36467de31e6b066b69b94beea1b9e2"
821 +checksum = "8ebb59ef7aff9d435946a5e5c3d9cfb673be7665839fd72961c08c733a934fb7"
875 822 dependencies = [
876 823 "bstr",
877 824 "faster-hex",
825 + "gix-error",
878 826 "gix-trace",
879 − "thiserror 2.0.18",
827 +]
828 +
829 +[[package]]
830 +name = "gix-parallel"
831 +version = "0.50.1"
832 +source = "registry+https://github.com/rust-lang/crates.io-index"
833 +checksum = "58e7e10f8343e05f6ad8651f97dffa1caca1531bb274bfc8e3050e80e3ed5946"
834 +dependencies = [
835 + "crossbeam-channel",
836 + "gix-trace",
837 + "once_cell",
838 + "parking_lot",
880 839 ]
881 840
882 841 [[package]]
883 842 name = "gix-path"
884 −version = "0.12.6"
843 +version = "0.14.1"
885 844 source = "registry+https://github.com/rust-lang/crates.io-index"
886 −checksum = "38fc6f029ea67de83cbcbd33fd98c05a48360d2932b39d9fdacbc6eae802d475"
845 +checksum = "83976e926a485e6fb4b8d9a0d7a30c53c1f607b81b5d310f06f92fd8385bf16a"
887 846 dependencies = [
888 847 "bstr",
848 + "gix-error",
889 849 "gix-trace",
890 850 "gix-validate",
891 − "thiserror 2.0.18",
892 851 ]
893 852
894 853 [[package]]
895 854 name = "gix-pathspec"
896 −version = "0.20.0"
855 +version = "0.22.1"
897 856 source = "registry+https://github.com/rust-lang/crates.io-index"
898 −checksum = "c92e44c63ba53bb55aa88ee48847664beae9446417621582fb14dfc69b2f8c72"
857 +checksum = "490aa03a11e0cbb998a0a593b75e27ea2e30df4ebd8f84f60e0641b9b72270e8"
899 858 dependencies = [
900 859 "bitflags 2.11.1",
901 860 "bstr",
902 861 "gix-attributes",
903 862 "gix-config-value",
863 + "gix-error",
904 864 "gix-glob",
905 865 "gix-path",
906 − "thiserror 2.0.18",
907 866 ]
908 867
909 868 [[package]]
910 869 name = "gix-prompt"
911 −version = "0.17.0"
870 +version = "0.19.1"
912 871 source = "registry+https://github.com/rust-lang/crates.io-index"
913 −checksum = "802256e13ecb2133ba5f9e6acbaa6b08bac027b1c5929f85f6adbb56ba3a4f28"
872 +checksum = "4d9650eedebb85e55577831db217403333416573356de722a040415c416f1cec"
914 873 dependencies = [
915 874 "gix-command",
916 875 "gix-config-value",
876 + "gix-error",
917 877 "parking_lot",
918 878 "rustix",
919 − "thiserror 2.0.18",
920 879 ]
921 880
922 881 [[package]]
923 882 name = "gix-protocol"
924 −version = "0.65.1"
883 +version = "0.68.0"
925 884 source = "registry+https://github.com/rust-lang/crates.io-index"
926 −checksum = "68878c37ae168b474c762d70adc8a8e0f9323ed0d80444a672e2eb561fa16691"
885 +checksum = "83677ebae6a1a09dc07f2435b5ebe68470dc51afb74052135e98fd7c11f85ba9"
927 886 dependencies = [
928 887 "bstr",
929 888 "gix-credentials",
930 889 "gix-date",
931 − "gix-features",
890 + "gix-error",
932 891 "gix-hash",
933 892 "gix-lock",
934 893 "gix-macros",
@@ -942,14 +901,13 @@ dependencies = [
942 901 "gix-transport",
943 902 "gix-utils",
944 903 "nonempty",
945 − "thiserror 2.0.18",
946 904 ]
947 905
948 906 [[package]]
949 907 name = "gix-quote"
950 −version = "0.8.0"
908 +version = "0.10.1"
951 909 source = "registry+https://github.com/rust-lang/crates.io-index"
952 −checksum = "f74795eb76eab8313063849f9cbd2bbcdc6e4692f71c1d7d0244ab11cd777329"
910 +checksum = "2413e65271303e9b674ec4785d469df4c3c36e888dbd165e3035de0405c6d9d1"
953 911 dependencies = [
954 912 "bstr",
955 913 "gix-error",
@@ -958,42 +916,42 @@ dependencies = [
958 916
959 917 [[package]]
960 918 name = "gix-ref"
961 −version = "0.67.1"
919 +version = "0.69.1"
962 920 source = "registry+https://github.com/rust-lang/crates.io-index"
963 −checksum = "8328387e7ab354e1dc3afb63e6b4d1866f82d7ce035222bc9d5baaf36bc88020"
921 +checksum = "68686e4697b9cd15d1b152ef51df870513210ed22938eacc13b3672b76035f13"
964 922 dependencies = [
965 923 "gix-actor",
966 − "gix-features",
924 + "gix-error",
967 925 "gix-fs",
968 926 "gix-hash",
969 927 "gix-lock",
970 928 "gix-object",
929 + "gix-parallel",
971 930 "gix-path",
972 931 "gix-tempfile",
973 932 "gix-utils",
974 933 "gix-validate",
975 934 "memmap2",
976 − "thiserror 2.0.18",
977 935 ]
978 936
979 937 [[package]]
980 938 name = "gix-refspec"
981 −version = "0.45.1"
939 +version = "0.47.1"
982 940 source = "registry+https://github.com/rust-lang/crates.io-index"
983 −checksum = "7de280d46e8fd9e4d3e7e2ab4276b965e377ba68b2b9a8fce56371015e8bb059"
941 +checksum = "2569309da6fdc230973cf5b846508154c0e813fda60f2b2da768cc5655ed312c"
984 942 dependencies = [
985 943 "bstr",
944 + "gix-error",
986 945 "gix-hash",
987 946 "gix-validate",
988 947 "smallvec",
989 − "thiserror 2.0.18",
990 948 ]
991 949
992 950 [[package]]
993 951 name = "gix-revision"
994 −version = "0.49.1"
952 +version = "0.52.0"
995 953 source = "registry+https://github.com/rust-lang/crates.io-index"
996 −checksum = "4577b864c3e134697e91564553e43230c2e401bb1bcc51cfa998edca21c95078"
954 +checksum = "241465fc73530f41d0a1c18320c5e291365b7c2c2a3dfd07afe2a5d6265085c8"
997 955 dependencies = [
998 956 "bitflags 2.11.1",
999 957 "bstr",
@@ -1010,9 +968,9 @@ dependencies = [
1010 968
1011 969 [[package]]
1012 970 name = "gix-revwalk"
1013 −version = "0.35.0"
971 +version = "0.38.0"
1014 972 source = "registry+https://github.com/rust-lang/crates.io-index"
1015 −checksum = "248823eefe405e2c0754b74f6f43ab6faab68670cdbf2d6e114cb0471f766450"
973 +checksum = "8b46edeacd25d9d3131941ae6bc91002bf7ba10e130393b7e9bc23d528625447"
1016 974 dependencies = [
1017 975 "gix-commitgraph",
1018 976 "gix-date",
@@ -1021,14 +979,13 @@ dependencies = [
1021 979 "gix-hashtable",
1022 980 "gix-object",
1023 981 "smallvec",
1024 − "thiserror 2.0.18",
1025 982 ]
1026 983
1027 984 [[package]]
1028 985 name = "gix-sec"
1029 −version = "0.14.2"
986 +version = "0.16.1"
1030 987 source = "registry+https://github.com/rust-lang/crates.io-index"
1031 −checksum = "af4fe6c152c1d50aea36f299825702cd37e303307832fec1d0fdd5844e47ce2f"
988 +checksum = "9598d1f35baec7038c2d278bfcc18f1d8951f41dcc3f51ab6175661dfe5a6137"
1032 989 dependencies = [
1033 990 "bitflags 2.11.1",
1034 991 "gix-path",
@@ -1038,128 +995,134 @@ dependencies = [
1038 995
1039 996 [[package]]
1040 997 name = "gix-shallow"
1041 −version = "0.13.0"
998 +version = "0.15.1"
1042 999 source = "registry+https://github.com/rust-lang/crates.io-index"
1043 −checksum = "1ecc9f4b40537043e4bbd7d3d1760e74fb8e7b07a546166b558acaa73ad97f4a"
1000 +checksum = "1d805949578724b5164c90ec6d19567832ccaa5ba8a3fe26f7befc52007e2407"
1044 1001 dependencies = [
1045 1002 "bstr",
1003 + "gix-error",
1046 1004 "gix-hash",
1047 1005 "gix-lock",
1048 1006 "nonempty",
1049 − "thiserror 2.0.18",
1050 1007 ]
1051 1008
1052 1009 [[package]]
1053 1010 name = "gix-submodule"
1054 −version = "0.34.0"
1011 +version = "0.36.1"
1055 1012 source = "registry+https://github.com/rust-lang/crates.io-index"
1056 −checksum = "da85564d6725c483b8d95d7b31d1db0b78c29e462a2b481949e2f18e1ed55a6a"
1013 +checksum = "d558a1307b6f3de2a92bd91d0570c53952d4f2329e6860813007508c8ed413dc"
1057 1014 dependencies = [
1058 1015 "bstr",
1059 1016 "gix-config",
1017 + "gix-error",
1060 1018 "gix-path",
1061 1019 "gix-pathspec",
1062 1020 "gix-refspec",
1063 1021 "gix-url",
1064 − "thiserror 2.0.18",
1065 1022 ]
1066 1023
1067 1024 [[package]]
1068 1025 name = "gix-tempfile"
1069 −version = "24.0.0"
1026 +version = "26.0.1"
1070 1027 source = "registry+https://github.com/rust-lang/crates.io-index"
1071 −checksum = "b675b920bd5a61d17ad542772f03ec34c60feb8ff683e1560c03ae967363731e"
1028 +checksum = "b8fdb135a043d6106b59bc58d59a326b277e495ec26fb9e02a1e2b6354bf4b5a"
1072 1029 dependencies = [
1073 1030 "dashmap",
1074 1031 "gix-fs",
1075 1032 "libc",
1076 1033 "parking_lot",
1077 1034 "tempfile",
1035 + "windows-sys",
1078 1036 ]
1079 1037
1080 1038 [[package]]
1081 1039 name = "gix-trace"
1082 −version = "0.1.21"
1040 +version = "0.3.1"
1083 1041 source = "registry+https://github.com/rust-lang/crates.io-index"
1084 −checksum = "be3eb81d9dc914335923e50d52829c551feefd6a72d176c4130c546b67a60814"
1042 +checksum = "c477c029518d3f235c26db21ff7cccc1fa13c0c31b05c005a55b7affd4ffbd81"
1085 1043
1086 1044 [[package]]
1087 1045 name = "gix-transport"
1088 −version = "0.59.2"
1046 +version = "0.62.0"
1089 1047 source = "registry+https://github.com/rust-lang/crates.io-index"
1090 −checksum = "b3f41a64939953ff49117df4eb91334d299abc59ff57a90fb2193d8ffa5886f1"
1048 +checksum = "cdcd9cdfd8745aa38f926a4a380c13d76b200d7338de57fc492982cd5a6652ba"
1091 1049 dependencies = [
1092 1050 "bstr",
1093 1051 "gix-command",
1094 − "gix-features",
1052 + "gix-error",
1095 1053 "gix-packetline",
1096 1054 "gix-path",
1097 1055 "gix-quote",
1098 1056 "gix-sec",
1057 + "gix-trace",
1099 1058 "gix-url",
1100 − "thiserror 2.0.18",
1059 + "gix-utils",
1101 1060 ]
1102 1061
1103 1062 [[package]]
1104 1063 name = "gix-traverse"
1105 −version = "0.61.0"
1064 +version = "0.64.0"
1106 1065 source = "registry+https://github.com/rust-lang/crates.io-index"
1107 −checksum = "9af3503668739f4de5dba57fe15cfd9adc443b08bcbbf195e5de16b648872245"
1066 +checksum = "00171e00e91508300d0361072c4eb110ec0f1322d8b95ed36887231702a38ebc"
1108 1067 dependencies = [
1109 1068 "bitflags 2.11.1",
1110 1069 "gix-commitgraph",
1111 1070 "gix-date",
1071 + "gix-error",
1112 1072 "gix-hash",
1113 1073 "gix-hashtable",
1114 1074 "gix-object",
1115 1075 "gix-revwalk",
1116 1076 "smallvec",
1117 − "thiserror 2.0.18",
1118 1077 ]
1119 1078
1120 1079 [[package]]
1121 1080 name = "gix-url"
1122 −version = "0.38.0"
1081 +version = "0.40.1"
1123 1082 source = "registry+https://github.com/rust-lang/crates.io-index"
1124 −checksum = "5bda80ccb4bc81fb9fb07a975916eb0c7a889bcbcb0c8a239c3f82a9cc2abdda"
1083 +checksum = "def12e1016b872f1094442882f627905c59bd73480435291a4958cf373a8f28d"
1125 1084 dependencies = [
1126 1085 "bstr",
1086 + "gix-error",
1127 1087 "gix-path",
1128 1088 "gix-utils",
1129 1089 "percent-encoding",
1130 − "thiserror 2.0.18",
1131 1090 ]
1132 1091
1133 1092 [[package]]
1134 1093 name = "gix-utils"
1135 −version = "0.3.6"
1094 +version = "0.5.2"
1136 1095 source = "registry+https://github.com/rust-lang/crates.io-index"
1137 −checksum = "0da1c46491b49458a446cc76f0085860f8164c2290742e0aa8c653ce67240a97"
1096 +checksum = "11a9446060447e9ec58f5d333b98bed53389dfa10de5d8dd46fc76d01dfc2954"
1138 1097 dependencies = [
1139 1098 "bstr",
1099 + "bytes",
1140 1100 "fastrand",
1141 1101 "getrandom",
1102 + "gix-error",
1103 + "prodash",
1142 1104 "unicode-normalization",
1143 1105 ]
1144 1106
1145 1107 [[package]]
1146 1108 name = "gix-validate"
1147 −version = "0.11.4"
1109 +version = "0.13.1"
1148 1110 source = "registry+https://github.com/rust-lang/crates.io-index"
1149 −checksum = "4dae8780f63ed8a803b8bdabbd7aa5f5c5d74592c8b50eed875c1bb4f6545a6a"
1111 +checksum = "02b617c17754bf37ee7a9b48e33ffb806abecbbed779ba415199ac1480acf699"
1150 1112 dependencies = [
1151 1113 "bstr",
1114 + "gix-error",
1152 1115 ]
1153 1116
1154 1117 [[package]]
1155 1118 name = "gix-worktree"
1156 −version = "0.56.0"
1119 +version = "0.59.0"
1157 1120 source = "registry+https://github.com/rust-lang/crates.io-index"
1158 −checksum = "3ed36b627476e2072c129900a17c977a38052b5497e27308159bc881fbf4eecf"
1121 +checksum = "fe92aec0a25cf073394492a6ee2aa4d27632acde91a653d34de0e4da6afb485d"
1159 1122 dependencies = [
1160 1123 "bstr",
1161 1124 "gix-attributes",
1162 − "gix-features",
1125 + "gix-error",
1163 1126 "gix-fs",
1164 1127 "gix-glob",
1165 1128 "gix-hash",
@@ -1172,29 +1135,31 @@ dependencies = [
1172 1135
1173 1136 [[package]]
1174 1137 name = "gix-worktree-stream"
1175 −version = "0.36.1"
1138 +version = "0.39.0"
1176 1139 source = "registry+https://github.com/rust-lang/crates.io-index"
1177 −checksum = "de5ec0ccbab39c9994656ea031ded8ffd90b370a3cc8e360fbe3c4ebe7c64964"
1140 +checksum = "3fe5d65793848ffb596f6c5596fd120b132038736525628227e2388ca454f64d"
1178 1141 dependencies = [
1179 1142 "gix-attributes",
1180 1143 "gix-error",
1181 − "gix-features",
1182 1144 "gix-filter",
1183 1145 "gix-fs",
1184 1146 "gix-hash",
1185 1147 "gix-object",
1148 + "gix-parallel",
1186 1149 "gix-path",
1150 + "gix-trace",
1187 1151 "gix-traverse",
1152 + "gix-utils",
1188 1153 "parking_lot",
1189 1154 ]
1190 1155
1191 1156 [[package]]
1192 1157 name = "gix-zlib"
1193 −version = "0.1.0"
1158 +version = "0.4.0"
1194 1159 source = "registry+https://github.com/rust-lang/crates.io-index"
1195 −checksum = "3e8813f5579b3075ff9c90f7c59cd2b62b4ebb639361f0911648b22d7446cc7c"
1160 +checksum = "7c5b29808570149d86f417184605111ede9dda5aa06015e9ea6da07f0c3ca41e"
1196 1161 dependencies = [
1197 − "thiserror 2.0.18",
1162 + "gix-error",
1198 1163 "zlib-rs",
1199 1164 ]
1200 1165
@@ -1480,9 +1445,9 @@ dependencies = [
1480 1445
1481 1446 [[package]]
1482 1447 name = "prodash"
1483 −version = "31.0.0"
1448 +version = "31.0.1"
1484 1449 source = "registry+https://github.com/rust-lang/crates.io-index"
1485 −checksum = "962200e2d7d551451297d9fdce85138374019ada198e30ea9ede38034e27604c"
1450 +checksum = "cf52d87428247c5aa3760ac8e7d8b13ec7b3579b955a8c3f311668b6860acba5"
1486 1451 dependencies = [
1487 1452 "parking_lot",
1488 1453 ]
@@ -1657,25 +1622,10 @@ dependencies = [
1657 1622 ]
1658 1623
1659 1624 [[package]]
1660 −name = "sha1"
1661 −version = "0.10.7"
1662 −source = "registry+https://github.com/rust-lang/crates.io-index"
1663 −checksum = "a978451301f4db1d02937a4ab3ccce137717b81826e79b7d49ffe3244a13c3b8"
1664 −dependencies = [
1665 − "cfg-if",
1666 − "cpufeatures",
1667 − "digest",
1668 −]
1669 −
1670 −[[package]]
1671 −name = "sha1-checked"
1672 −version = "0.10.0"
1625 +name = "sha1dc"
1626 +version = "0.1.5"
1673 1627 source = "registry+https://github.com/rust-lang/crates.io-index"
1674 −checksum = "89f599ac0c323ebb1c6082821a54962b839832b03984598375bff3975b804423"
1675 −dependencies = [
1676 − "digest",
1677 − "sha1",
1678 −]
1628 +checksum = "c5b0ebf6537e3e8db8bb7d21ecb6d7399738c953c757945c6b95e46c4e95df7b"
1679 1629
1680 1630 [[package]]
1681 1631 name = "smallvec"
@@ -1768,12 +1718,6 @@ version = "0.1.1"
1768 1718 source = "registry+https://github.com/rust-lang/crates.io-index"
1769 1719 checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20"
1770 1720
1771 −[[package]]
1772 −name = "typenum"
1773 −version = "1.20.1"
1774 −source = "registry+https://github.com/rust-lang/crates.io-index"
1775 −checksum = "b6f5e870be6c3b371b77fe0ee0bafb859fa4964b4404c27de1d380043c4dda20"
1776 −
1777 1721 [[package]]
1778 1722 name = "uluru"
1779 1723 version = "3.1.0"
@@ -1819,12 +1763,6 @@ dependencies = [
1819 1763 "void",
1820 1764 ]
1821 1765
1822 −[[package]]
1823 −name = "version_check"
1824 −version = "0.9.5"
1825 −source = "registry+https://github.com/rust-lang/crates.io-index"
1826 −checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"
1827 −
1828 1766 [[package]]
1829 1767 name = "void"
1830 1768 version = "1.0.2"
modified native/gitgud_gix/Cargo.toml
+2 −2
@@ -12,9 +12,9 @@ crate-type = ["cdylib"]
12 12
13 13 [dependencies]
14 14 rustler = "0.34"
15 −gix = { version = "0.87", default-features = false, features = [
15 +gix = { version = "0.90", default-features = false, features = [
16 16 "blocking-network-client",
17 − "max-performance-safe",
17 + "max-control",
18 18 "sha1",
19 19 "revision",
20 20 "blob-diff",
modified native/gitgud_gix/src/lib.rs
+4 −3
@@ -751,10 +751,11 @@ fn merge_base<'a>(env: Env<'a>, path: String, a: Binary, b: Binary) -> NifResult
751 751 };
752 752
753 753 match repo.merge_base(a, b) {
754 − Ok(id) => Ok((atoms::ok(), sha_to_binary(env, &id.detach())).encode(env)),
754 + Ok(Some(id)) => Ok((atoms::ok(), sha_to_binary(env, &id.detach())).encode(env)),
755 755 // No common ancestor is a legitimate answer, not a failure; the
756 − // Cli backend reports the same shape.
757 − Err(_) => Ok((atoms::error(), atoms::not_found()).encode(env)),
756 + // Cli backend reports the same shape. gix 0.90 says so with
757 + // `Ok(None)`; before, it was an error.
758 + Ok(None) | Err(_) => Ok((atoms::error(), atoms::not_found()).encode(env)),
758 759 }
759 760 }
760 761

Parents: f434216