sus-compiler: 0.1.1 -> 0.2.0

authored by Peder Bergebakken Sundt and committed by Masum Reza 31109fc4 a2a66180

+223 -140
+218 -138
pkgs/by-name/su/sus-compiler/Cargo.lock
··· 12 ] 13 14 [[package]] 15 - name = "ariadne" 16 - version = "0.4.1" 17 source = "registry+https://github.com/rust-lang/crates.io-index" 18 - checksum = "44055e597c674aef7cb903b2b9f6e4cba1277ed0d2d61dae7cd52d7ffa81f8e2" 19 dependencies = [ 20 - "unicode-width", 21 - "yansi", 22 ] 23 24 [[package]] 25 - name = "arrayvec" 26 - version = "0.7.6" 27 source = "registry+https://github.com/rust-lang/crates.io-index" 28 - checksum = "7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50" 29 30 [[package]] 31 - name = "atty" 32 - version = "0.2.14" 33 source = "registry+https://github.com/rust-lang/crates.io-index" 34 - checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8" 35 dependencies = [ 36 - "hermit-abi", 37 - "libc", 38 - "winapi", 39 ] 40 41 [[package]] ··· 52 53 [[package]] 54 name = "bitflags" 55 - version = "2.6.0" 56 source = "registry+https://github.com/rust-lang/crates.io-index" 57 - checksum = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de" 58 59 [[package]] 60 name = "cc" 61 - version = "1.1.36" 62 source = "registry+https://github.com/rust-lang/crates.io-index" 63 - checksum = "baee610e9452a8f6f0a1b6194ec09ff9e2d85dea54432acdae41aa0761c95d70" 64 dependencies = [ 65 "shlex", 66 ] ··· 73 74 [[package]] 75 name = "clap" 76 - version = "3.2.25" 77 source = "registry+https://github.com/rust-lang/crates.io-index" 78 - checksum = "4ea181bf566f71cb9a5d17a59e1871af638180a18fb0035c92ae62b705207123" 79 dependencies = [ 80 - "atty", 81 - "bitflags 1.3.2", 82 "clap_lex", 83 - "indexmap", 84 "strsim", 85 - "termcolor", 86 - "textwrap", 87 ] 88 89 [[package]] 90 - name = "clap_lex" 91 - version = "0.2.4" 92 source = "registry+https://github.com/rust-lang/crates.io-index" 93 - checksum = "2850f2f5a82cbf437dd5af4d49848fbdfc27c157c3d010345776f952765261c5" 94 dependencies = [ 95 - "os_str_bytes", 96 ] 97 98 [[package]] 99 name = "crossbeam-channel" 100 - version = "0.5.13" 101 source = "registry+https://github.com/rust-lang/crates.io-index" 102 - checksum = "33480d6946193aa8033910124896ca395333cae7e2d1113d1fef6c3272217df2" 103 dependencies = [ 104 "crossbeam-utils", 105 ] 106 107 [[package]] 108 name = "crossbeam-utils" 109 - version = "0.8.20" 110 source = "registry+https://github.com/rust-lang/crates.io-index" 111 - checksum = "22ec99545bb0ed0ea7bb9b8e1e9122ea386ff8a48c0922e43f36d45ab09e0e80" 112 113 [[package]] 114 name = "dirs-next" ··· 139 dependencies = [ 140 "proc-macro2", 141 "quote", 142 - "syn 2.0.87", 143 ] 144 145 [[package]] ··· 163 ] 164 165 [[package]] 166 - name = "hashbrown" 167 - version = "0.12.3" 168 source = "registry+https://github.com/rust-lang/crates.io-index" 169 - checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" 170 - 171 - [[package]] 172 - name = "hermit-abi" 173 - version = "0.1.19" 174 - source = "registry+https://github.com/rust-lang/crates.io-index" 175 - checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33" 176 - dependencies = [ 177 - "libc", 178 - ] 179 180 [[package]] 181 name = "icu_collections" ··· 292 dependencies = [ 293 "proc-macro2", 294 "quote", 295 - "syn 2.0.87", 296 ] 297 298 [[package]] ··· 317 ] 318 319 [[package]] 320 - name = "indexmap" 321 - version = "1.9.3" 322 source = "registry+https://github.com/rust-lang/crates.io-index" 323 - checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99" 324 - dependencies = [ 325 - "autocfg", 326 - "hashbrown", 327 - ] 328 329 [[package]] 330 name = "itoa" 331 - version = "1.0.11" 332 source = "registry+https://github.com/rust-lang/crates.io-index" 333 - checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b" 334 335 [[package]] 336 name = "libc" 337 - version = "0.2.162" 338 source = "registry+https://github.com/rust-lang/crates.io-index" 339 - checksum = "18d287de67fe55fd7e1581fe933d965a5a9477b38e949cfa9f8574ef01506398" 340 341 [[package]] 342 name = "libredox" ··· 344 source = "registry+https://github.com/rust-lang/crates.io-index" 345 checksum = "c0ff37bd590ca25063e35af745c343cb7a0271906fb7b37e4813e8f79f00268d" 346 dependencies = [ 347 - "bitflags 2.6.0", 348 "libc", 349 ] 350 351 [[package]] 352 name = "litemap" 353 - version = "0.7.3" 354 source = "registry+https://github.com/rust-lang/crates.io-index" 355 - checksum = "643cb0b8d4fcc284004d5fd0d67ccf61dfffadb7f75e1e71bc420f4688a3a704" 356 357 [[package]] 358 name = "log" 359 - version = "0.4.22" 360 source = "registry+https://github.com/rust-lang/crates.io-index" 361 - checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24" 362 363 [[package]] 364 name = "lsp-server" 365 - version = "0.7.7" 366 source = "registry+https://github.com/rust-lang/crates.io-index" 367 - checksum = "550446e84739dcaf6d48a4a093973850669e13e8a34d8f8d64851041be267cd9" 368 dependencies = [ 369 "crossbeam-channel", 370 "log", 371 "serde", 372 "serde_json", 373 ] 374 ··· 465 ] 466 467 [[package]] 468 - name = "os_str_bytes" 469 - version = "6.6.1" 470 source = "registry+https://github.com/rust-lang/crates.io-index" 471 - checksum = "e2355d85b9a3786f481747ced0e0ff2ba35213a1f9bd406ed906554d7af805a1" 472 473 [[package]] 474 name = "percent-encoding" ··· 478 479 [[package]] 480 name = "proc-macro2" 481 - version = "1.0.89" 482 source = "registry+https://github.com/rust-lang/crates.io-index" 483 - checksum = "f139b0662de085916d1fb67d2b4169d1addddda1919e696f3252b740b629986e" 484 dependencies = [ 485 "unicode-ident", 486 ] 487 488 [[package]] 489 name = "quote" 490 - version = "1.0.37" 491 source = "registry+https://github.com/rust-lang/crates.io-index" 492 - checksum = "b5b9d34b8991d19d98081b46eacdd8eb58c6f2b201139f7c5f643cc155a633af" 493 dependencies = [ 494 "proc-macro2", 495 ] ··· 519 520 [[package]] 521 name = "regex-automata" 522 - version = "0.4.8" 523 source = "registry+https://github.com/rust-lang/crates.io-index" 524 - checksum = "368758f23274712b504848e9d5a6f010445cc8b87a7cdb4d7cbee666c1288da3" 525 dependencies = [ 526 "aho-corasick", 527 "memchr", ··· 535 checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c" 536 537 [[package]] 538 name = "ryu" 539 - version = "1.0.18" 540 source = "registry+https://github.com/rust-lang/crates.io-index" 541 - checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f" 542 543 [[package]] 544 name = "serde" 545 - version = "1.0.214" 546 source = "registry+https://github.com/rust-lang/crates.io-index" 547 - checksum = "f55c3193aca71c12ad7890f1785d2b73e1b9f63a0bbc353c08ef26fe03fc56b5" 548 dependencies = [ 549 "serde_derive", 550 ] 551 552 [[package]] 553 name = "serde_derive" 554 - version = "1.0.214" 555 source = "registry+https://github.com/rust-lang/crates.io-index" 556 - checksum = "de523f781f095e28fa605cdce0f8307e451cc0fd14e2eb4cd2e98a355b147766" 557 dependencies = [ 558 "proc-macro2", 559 "quote", 560 - "syn 2.0.87", 561 ] 562 563 [[package]] 564 name = "serde_json" 565 - version = "1.0.132" 566 source = "registry+https://github.com/rust-lang/crates.io-index" 567 - checksum = "d726bfaff4b320266d395898905d0eba0345aae23b54aee3a737e260fd46db03" 568 dependencies = [ 569 "itoa", 570 "memchr", ··· 574 575 [[package]] 576 name = "serde_repr" 577 - version = "0.1.19" 578 source = "registry+https://github.com/rust-lang/crates.io-index" 579 - checksum = "6c64451ba24fc7a6a2d60fc75dd9c83c90903b19028d4eff35e88fc1e86564e9" 580 dependencies = [ 581 "proc-macro2", 582 "quote", 583 - "syn 2.0.87", 584 ] 585 586 [[package]] ··· 591 592 [[package]] 593 name = "smallvec" 594 - version = "1.13.2" 595 source = "registry+https://github.com/rust-lang/crates.io-index" 596 - checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" 597 598 [[package]] 599 name = "stable_deref_trait" ··· 602 checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" 603 604 [[package]] 605 name = "strsim" 606 - version = "0.10.0" 607 source = "registry+https://github.com/rust-lang/crates.io-index" 608 - checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" 609 610 [[package]] 611 name = "sus-proc-macro" 612 - version = "0.1.0" 613 dependencies = [ 614 "quote", 615 "syn 1.0.109", 616 "tree-sitter", 617 "tree-sitter-sus", ··· 619 620 [[package]] 621 name = "sus_compiler" 622 - version = "0.1.1" 623 dependencies = [ 624 "ariadne", 625 - "arrayvec", 626 "clap", 627 "dirs-next", 628 "lsp-server", ··· 648 649 [[package]] 650 name = "syn" 651 - version = "2.0.87" 652 source = "registry+https://github.com/rust-lang/crates.io-index" 653 - checksum = "25aa4ce346d03a6dcd68dd8b4010bcb74e54e62c90c573f394c46eae99aba32d" 654 dependencies = [ 655 "proc-macro2", 656 "quote", ··· 665 dependencies = [ 666 "proc-macro2", 667 "quote", 668 - "syn 2.0.87", 669 ] 670 671 [[package]] 672 - name = "termcolor" 673 - version = "1.4.1" 674 source = "registry+https://github.com/rust-lang/crates.io-index" 675 - checksum = "06794f8f6c5c898b3275aebefa6b8a1cb24cd2c6c79397ab15774837a0bc5755" 676 dependencies = [ 677 - "winapi-util", 678 ] 679 680 [[package]] 681 - name = "textwrap" 682 - version = "0.16.1" 683 - source = "registry+https://github.com/rust-lang/crates.io-index" 684 - checksum = "23d434d3f8967a09480fb04132ebe0a3e088c173e6d0ee7897abbdf4eab0f8b9" 685 - 686 - [[package]] 687 name = "thiserror" 688 - version = "1.0.68" 689 source = "registry+https://github.com/rust-lang/crates.io-index" 690 - checksum = "02dd99dc800bbb97186339685293e1cc5d9df1f8fae2d0aecd9ff1c77efea892" 691 dependencies = [ 692 "thiserror-impl", 693 ] 694 695 [[package]] 696 name = "thiserror-impl" 697 - version = "1.0.68" 698 source = "registry+https://github.com/rust-lang/crates.io-index" 699 - checksum = "a7c61ec9a6f64d2793d8a45faba21efbe3ced62a886d44c36a009b2b519b4c7e" 700 dependencies = [ 701 "proc-macro2", 702 "quote", 703 - "syn 2.0.87", 704 ] 705 706 [[package]] ··· 715 716 [[package]] 717 name = "tree-sitter" 718 - version = "0.22.6" 719 source = "registry+https://github.com/rust-lang/crates.io-index" 720 - checksum = "df7cc499ceadd4dcdf7ec6d4cbc34ece92c3fa07821e287aedecd4416c516dca" 721 dependencies = [ 722 "cc", 723 "regex", 724 ] 725 726 [[package]] 727 name = "tree-sitter-sus" 728 - version = "0.1.0" 729 dependencies = [ 730 "cc", 731 "tree-sitter", ··· 733 734 [[package]] 735 name = "unicode-ident" 736 - version = "1.0.13" 737 source = "registry+https://github.com/rust-lang/crates.io-index" 738 - checksum = "e91b56cd4cadaeb79bbf1a5645f6b4f8dc5bde8834ad5894a8db35fda9efa1fe" 739 740 [[package]] 741 name = "unicode-width" ··· 745 746 [[package]] 747 name = "url" 748 - version = "2.5.3" 749 source = "registry+https://github.com/rust-lang/crates.io-index" 750 - checksum = "8d157f1b96d14500ffdc1f10ba712e780825526c03d9a49b4d0324b0d9113ada" 751 dependencies = [ 752 "form_urlencoded", 753 "idna", ··· 768 checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be" 769 770 [[package]] 771 name = "wasi" 772 version = "0.11.0+wasi-snapshot-preview1" 773 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 788 version = "0.4.0" 789 source = "registry+https://github.com/rust-lang/crates.io-index" 790 checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" 791 - 792 - [[package]] 793 - name = "winapi-util" 794 - version = "0.1.9" 795 - source = "registry+https://github.com/rust-lang/crates.io-index" 796 - checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb" 797 - dependencies = [ 798 - "windows-sys", 799 - ] 800 801 [[package]] 802 name = "winapi-x86_64-pc-windows-gnu" ··· 897 898 [[package]] 899 name = "yoke" 900 - version = "0.7.4" 901 source = "registry+https://github.com/rust-lang/crates.io-index" 902 - checksum = "6c5b1314b079b0930c31e3af543d8ee1757b1951ae1e1565ec704403a7240ca5" 903 dependencies = [ 904 "serde", 905 "stable_deref_trait", ··· 909 910 [[package]] 911 name = "yoke-derive" 912 - version = "0.7.4" 913 source = "registry+https://github.com/rust-lang/crates.io-index" 914 - checksum = "28cc31741b18cb6f1d5ff12f5b7523e3d6eb0852bbbad19d73905511d9849b95" 915 dependencies = [ 916 "proc-macro2", 917 "quote", 918 - "syn 2.0.87", 919 "synstructure", 920 ] 921 922 [[package]] 923 name = "zerofrom" 924 - version = "0.1.4" 925 source = "registry+https://github.com/rust-lang/crates.io-index" 926 - checksum = "91ec111ce797d0e0784a1116d0ddcdbea84322cd79e5d5ad173daeba4f93ab55" 927 dependencies = [ 928 "zerofrom-derive", 929 ] 930 931 [[package]] 932 name = "zerofrom-derive" 933 - version = "0.1.4" 934 source = "registry+https://github.com/rust-lang/crates.io-index" 935 - checksum = "0ea7b4a3637ea8669cedf0f1fd5c286a17f3de97b8dd5a70a6c167a1730e63a5" 936 dependencies = [ 937 "proc-macro2", 938 "quote", 939 - "syn 2.0.87", 940 "synstructure", 941 ] 942 ··· 959 dependencies = [ 960 "proc-macro2", 961 "quote", 962 - "syn 2.0.87", 963 ]
··· 12 ] 13 14 [[package]] 15 + name = "anstream" 16 + version = "0.6.18" 17 + source = "registry+https://github.com/rust-lang/crates.io-index" 18 + checksum = "8acc5369981196006228e28809f761875c0327210a891e941f4c683b3a99529b" 19 + dependencies = [ 20 + "anstyle", 21 + "anstyle-parse", 22 + "anstyle-query", 23 + "anstyle-wincon", 24 + "colorchoice", 25 + "is_terminal_polyfill", 26 + "utf8parse", 27 + ] 28 + 29 + [[package]] 30 + name = "anstyle" 31 + version = "1.0.10" 32 + source = "registry+https://github.com/rust-lang/crates.io-index" 33 + checksum = "55cc3b69f167a1ef2e161439aa98aed94e6028e5f9a59be9a6ffb47aef1651f9" 34 + 35 + [[package]] 36 + name = "anstyle-parse" 37 + version = "0.2.6" 38 source = "registry+https://github.com/rust-lang/crates.io-index" 39 + checksum = "3b2d16507662817a6a20a9ea92df6652ee4f94f914589377d69f3b21bc5798a9" 40 dependencies = [ 41 + "utf8parse", 42 ] 43 44 [[package]] 45 + name = "anstyle-query" 46 + version = "1.1.2" 47 source = "registry+https://github.com/rust-lang/crates.io-index" 48 + checksum = "79947af37f4177cfead1110013d678905c37501914fba0efea834c3fe9a8d60c" 49 + dependencies = [ 50 + "windows-sys", 51 + ] 52 + 53 + [[package]] 54 + name = "anstyle-wincon" 55 + version = "3.0.7" 56 + source = "registry+https://github.com/rust-lang/crates.io-index" 57 + checksum = "ca3534e77181a9cc07539ad51f2141fe32f6c3ffd4df76db8ad92346b003ae4e" 58 + dependencies = [ 59 + "anstyle", 60 + "once_cell", 61 + "windows-sys", 62 + ] 63 64 [[package]] 65 + name = "ariadne" 66 + version = "0.4.1" 67 source = "registry+https://github.com/rust-lang/crates.io-index" 68 + checksum = "44055e597c674aef7cb903b2b9f6e4cba1277ed0d2d61dae7cd52d7ffa81f8e2" 69 dependencies = [ 70 + "unicode-width", 71 + "yansi", 72 ] 73 74 [[package]] ··· 85 86 [[package]] 87 name = "bitflags" 88 + version = "2.9.0" 89 source = "registry+https://github.com/rust-lang/crates.io-index" 90 + checksum = "5c8214115b7bf84099f1309324e63141d4c5d7cc26862f97a0a857dbefe165bd" 91 92 [[package]] 93 name = "cc" 94 + version = "1.2.16" 95 source = "registry+https://github.com/rust-lang/crates.io-index" 96 + checksum = "be714c154be609ec7f5dad223a33bf1482fff90472de28f7362806e6d4832b8c" 97 dependencies = [ 98 "shlex", 99 ] ··· 106 107 [[package]] 108 name = "clap" 109 + version = "4.5.32" 110 source = "registry+https://github.com/rust-lang/crates.io-index" 111 + checksum = "6088f3ae8c3608d19260cd7445411865a485688711b78b5be70d78cd96136f83" 112 dependencies = [ 113 + "clap_builder", 114 + "clap_derive", 115 + ] 116 + 117 + [[package]] 118 + name = "clap_builder" 119 + version = "4.5.32" 120 + source = "registry+https://github.com/rust-lang/crates.io-index" 121 + checksum = "22a7ef7f676155edfb82daa97f99441f3ebf4a58d5e32f295a56259f1b6facc8" 122 + dependencies = [ 123 + "anstream", 124 + "anstyle", 125 "clap_lex", 126 "strsim", 127 + "terminal_size", 128 ] 129 130 [[package]] 131 + name = "clap_derive" 132 + version = "4.5.32" 133 source = "registry+https://github.com/rust-lang/crates.io-index" 134 + checksum = "09176aae279615badda0765c0c0b3f6ed53f4709118af73cf4655d85d1530cd7" 135 dependencies = [ 136 + "heck", 137 + "proc-macro2", 138 + "quote", 139 + "syn 2.0.100", 140 ] 141 142 [[package]] 143 + name = "clap_lex" 144 + version = "0.7.4" 145 + source = "registry+https://github.com/rust-lang/crates.io-index" 146 + checksum = "f46ad14479a25103f283c0f10005961cf086d8dc42205bb44c46ac563475dca6" 147 + 148 + [[package]] 149 + name = "colorchoice" 150 + version = "1.0.3" 151 + source = "registry+https://github.com/rust-lang/crates.io-index" 152 + checksum = "5b63caa9aa9397e2d9480a9b13673856c78d8ac123288526c37d7839f2a86990" 153 + 154 + [[package]] 155 name = "crossbeam-channel" 156 + version = "0.5.14" 157 source = "registry+https://github.com/rust-lang/crates.io-index" 158 + checksum = "06ba6d68e24814cb8de6bb986db8222d3a027d15872cabc0d18817bc3c0e4471" 159 dependencies = [ 160 "crossbeam-utils", 161 ] 162 163 [[package]] 164 name = "crossbeam-utils" 165 + version = "0.8.21" 166 source = "registry+https://github.com/rust-lang/crates.io-index" 167 + checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28" 168 169 [[package]] 170 name = "dirs-next" ··· 195 dependencies = [ 196 "proc-macro2", 197 "quote", 198 + "syn 2.0.100", 199 + ] 200 + 201 + [[package]] 202 + name = "errno" 203 + version = "0.3.10" 204 + source = "registry+https://github.com/rust-lang/crates.io-index" 205 + checksum = "33d852cb9b869c2a9b3df2f71a3074817f01e1844f839a144f5fcef059a4eb5d" 206 + dependencies = [ 207 + "libc", 208 + "windows-sys", 209 ] 210 211 [[package]] ··· 229 ] 230 231 [[package]] 232 + name = "heck" 233 + version = "0.5.0" 234 source = "registry+https://github.com/rust-lang/crates.io-index" 235 + checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" 236 237 [[package]] 238 name = "icu_collections" ··· 349 dependencies = [ 350 "proc-macro2", 351 "quote", 352 + "syn 2.0.100", 353 ] 354 355 [[package]] ··· 374 ] 375 376 [[package]] 377 + name = "is_terminal_polyfill" 378 + version = "1.70.1" 379 source = "registry+https://github.com/rust-lang/crates.io-index" 380 + checksum = "7943c866cc5cd64cbc25b2e01621d07fa8eb2a1a23160ee81ce38704e97b8ecf" 381 382 [[package]] 383 name = "itoa" 384 + version = "1.0.15" 385 source = "registry+https://github.com/rust-lang/crates.io-index" 386 + checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c" 387 388 [[package]] 389 name = "libc" 390 + version = "0.2.170" 391 source = "registry+https://github.com/rust-lang/crates.io-index" 392 + checksum = "875b3680cb2f8f71bdcf9a30f38d48282f5d3c95cbf9b3fa57269bb5d5c06828" 393 394 [[package]] 395 name = "libredox" ··· 397 source = "registry+https://github.com/rust-lang/crates.io-index" 398 checksum = "c0ff37bd590ca25063e35af745c343cb7a0271906fb7b37e4813e8f79f00268d" 399 dependencies = [ 400 + "bitflags 2.9.0", 401 "libc", 402 ] 403 404 [[package]] 405 + name = "linux-raw-sys" 406 + version = "0.9.2" 407 + source = "registry+https://github.com/rust-lang/crates.io-index" 408 + checksum = "6db9c683daf087dc577b7506e9695b3d556a9f3849903fa28186283afd6809e9" 409 + 410 + [[package]] 411 name = "litemap" 412 + version = "0.7.5" 413 source = "registry+https://github.com/rust-lang/crates.io-index" 414 + checksum = "23fb14cb19457329c82206317a5663005a4d404783dc74f4252769b0d5f42856" 415 416 [[package]] 417 name = "log" 418 + version = "0.4.26" 419 source = "registry+https://github.com/rust-lang/crates.io-index" 420 + checksum = "30bde2b3dc3671ae49d8e2e9f044c7c005836e7a023ee57cffa25ab82764bb9e" 421 422 [[package]] 423 name = "lsp-server" 424 + version = "0.7.8" 425 source = "registry+https://github.com/rust-lang/crates.io-index" 426 + checksum = "9462c4dc73e17f971ec1f171d44bfffb72e65a130117233388a0ebc7ec5656f9" 427 dependencies = [ 428 "crossbeam-channel", 429 "log", 430 "serde", 431 + "serde_derive", 432 "serde_json", 433 ] 434 ··· 525 ] 526 527 [[package]] 528 + name = "once_cell" 529 + version = "1.21.0" 530 source = "registry+https://github.com/rust-lang/crates.io-index" 531 + checksum = "cde51589ab56b20a6f686b2c68f7a0bd6add753d697abf720d63f8db3ab7b1ad" 532 533 [[package]] 534 name = "percent-encoding" ··· 538 539 [[package]] 540 name = "proc-macro2" 541 + version = "1.0.94" 542 source = "registry+https://github.com/rust-lang/crates.io-index" 543 + checksum = "a31971752e70b8b2686d7e46ec17fb38dad4051d94024c88df49b667caea9c84" 544 dependencies = [ 545 "unicode-ident", 546 ] 547 548 [[package]] 549 name = "quote" 550 + version = "1.0.39" 551 source = "registry+https://github.com/rust-lang/crates.io-index" 552 + checksum = "c1f1914ce909e1658d9907913b4b91947430c7d9be598b15a1912935b8c04801" 553 dependencies = [ 554 "proc-macro2", 555 ] ··· 579 580 [[package]] 581 name = "regex-automata" 582 + version = "0.4.9" 583 source = "registry+https://github.com/rust-lang/crates.io-index" 584 + checksum = "809e8dc61f6de73b46c85f4c96486310fe304c434cfa43669d7b40f711150908" 585 dependencies = [ 586 "aho-corasick", 587 "memchr", ··· 595 checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c" 596 597 [[package]] 598 + name = "rustix" 599 + version = "1.0.2" 600 + source = "registry+https://github.com/rust-lang/crates.io-index" 601 + checksum = "f7178faa4b75a30e269c71e61c353ce2748cf3d76f0c44c393f4e60abf49b825" 602 + dependencies = [ 603 + "bitflags 2.9.0", 604 + "errno", 605 + "libc", 606 + "linux-raw-sys", 607 + "windows-sys", 608 + ] 609 + 610 + [[package]] 611 name = "ryu" 612 + version = "1.0.20" 613 source = "registry+https://github.com/rust-lang/crates.io-index" 614 + checksum = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f" 615 616 [[package]] 617 name = "serde" 618 + version = "1.0.219" 619 source = "registry+https://github.com/rust-lang/crates.io-index" 620 + checksum = "5f0e2c6ed6606019b4e29e69dbaba95b11854410e5347d525002456dbbb786b6" 621 dependencies = [ 622 "serde_derive", 623 ] 624 625 [[package]] 626 name = "serde_derive" 627 + version = "1.0.219" 628 source = "registry+https://github.com/rust-lang/crates.io-index" 629 + checksum = "5b0276cf7f2c73365f7157c8123c21cd9a50fbbd844757af28ca1f5925fc2a00" 630 dependencies = [ 631 "proc-macro2", 632 "quote", 633 + "syn 2.0.100", 634 ] 635 636 [[package]] 637 name = "serde_json" 638 + version = "1.0.140" 639 source = "registry+https://github.com/rust-lang/crates.io-index" 640 + checksum = "20068b6e96dc6c9bd23e01df8827e6c7e1f2fddd43c21810382803c136b99373" 641 dependencies = [ 642 "itoa", 643 "memchr", ··· 647 648 [[package]] 649 name = "serde_repr" 650 + version = "0.1.20" 651 source = "registry+https://github.com/rust-lang/crates.io-index" 652 + checksum = "175ee3e80ae9982737ca543e96133087cbd9a485eecc3bc4de9c1a37b47ea59c" 653 dependencies = [ 654 "proc-macro2", 655 "quote", 656 + "syn 2.0.100", 657 ] 658 659 [[package]] ··· 664 665 [[package]] 666 name = "smallvec" 667 + version = "1.14.0" 668 source = "registry+https://github.com/rust-lang/crates.io-index" 669 + checksum = "7fcf8323ef1faaee30a44a340193b1ac6814fd9b7b4e88e9d4519a3e4abe1cfd" 670 671 [[package]] 672 name = "stable_deref_trait" ··· 675 checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" 676 677 [[package]] 678 + name = "streaming-iterator" 679 + version = "0.1.9" 680 + source = "registry+https://github.com/rust-lang/crates.io-index" 681 + checksum = "2b2231b7c3057d5e4ad0156fb3dc807d900806020c5ffa3ee6ff2c8c76fb8520" 682 + 683 + [[package]] 684 name = "strsim" 685 + version = "0.11.1" 686 source = "registry+https://github.com/rust-lang/crates.io-index" 687 + checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" 688 689 [[package]] 690 name = "sus-proc-macro" 691 + version = "0.2.0" 692 dependencies = [ 693 "quote", 694 + "regex", 695 "syn 1.0.109", 696 "tree-sitter", 697 "tree-sitter-sus", ··· 699 700 [[package]] 701 name = "sus_compiler" 702 + version = "0.2.0" 703 dependencies = [ 704 "ariadne", 705 "clap", 706 "dirs-next", 707 "lsp-server", ··· 727 728 [[package]] 729 name = "syn" 730 + version = "2.0.100" 731 source = "registry+https://github.com/rust-lang/crates.io-index" 732 + checksum = "b09a44accad81e1ba1cd74a32461ba89dee89095ba17b32f5d03683b1b1fc2a0" 733 dependencies = [ 734 "proc-macro2", 735 "quote", ··· 744 dependencies = [ 745 "proc-macro2", 746 "quote", 747 + "syn 2.0.100", 748 ] 749 750 [[package]] 751 + name = "terminal_size" 752 + version = "0.4.2" 753 source = "registry+https://github.com/rust-lang/crates.io-index" 754 + checksum = "45c6481c4829e4cc63825e62c49186a34538b7b2750b73b266581ffb612fb5ed" 755 dependencies = [ 756 + "rustix", 757 + "windows-sys", 758 ] 759 760 [[package]] 761 name = "thiserror" 762 + version = "1.0.69" 763 source = "registry+https://github.com/rust-lang/crates.io-index" 764 + checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52" 765 dependencies = [ 766 "thiserror-impl", 767 ] 768 769 [[package]] 770 name = "thiserror-impl" 771 + version = "1.0.69" 772 source = "registry+https://github.com/rust-lang/crates.io-index" 773 + checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1" 774 dependencies = [ 775 "proc-macro2", 776 "quote", 777 + "syn 2.0.100", 778 ] 779 780 [[package]] ··· 789 790 [[package]] 791 name = "tree-sitter" 792 + version = "0.24.7" 793 source = "registry+https://github.com/rust-lang/crates.io-index" 794 + checksum = "a5387dffa7ffc7d2dae12b50c6f7aab8ff79d6210147c6613561fc3d474c6f75" 795 dependencies = [ 796 "cc", 797 "regex", 798 + "regex-syntax", 799 + "streaming-iterator", 800 + "tree-sitter-language", 801 ] 802 803 [[package]] 804 + name = "tree-sitter-language" 805 + version = "0.1.5" 806 + source = "registry+https://github.com/rust-lang/crates.io-index" 807 + checksum = "c4013970217383f67b18aef68f6fb2e8d409bc5755227092d32efb0422ba24b8" 808 + 809 + [[package]] 810 name = "tree-sitter-sus" 811 + version = "0.2.0" 812 dependencies = [ 813 "cc", 814 "tree-sitter", ··· 816 817 [[package]] 818 name = "unicode-ident" 819 + version = "1.0.18" 820 source = "registry+https://github.com/rust-lang/crates.io-index" 821 + checksum = "5a5f39404a5da50712a4c1eecf25e90dd62b613502b7e925fd4e4d19b5c96512" 822 823 [[package]] 824 name = "unicode-width" ··· 828 829 [[package]] 830 name = "url" 831 + version = "2.5.4" 832 source = "registry+https://github.com/rust-lang/crates.io-index" 833 + checksum = "32f8b686cadd1473f4bd0117a5d28d36b1ade384ea9b5069a1c40aefed7fda60" 834 dependencies = [ 835 "form_urlencoded", 836 "idna", ··· 851 checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be" 852 853 [[package]] 854 + name = "utf8parse" 855 + version = "0.2.2" 856 + source = "registry+https://github.com/rust-lang/crates.io-index" 857 + checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" 858 + 859 + [[package]] 860 name = "wasi" 861 version = "0.11.0+wasi-snapshot-preview1" 862 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 877 version = "0.4.0" 878 source = "registry+https://github.com/rust-lang/crates.io-index" 879 checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" 880 881 [[package]] 882 name = "winapi-x86_64-pc-windows-gnu" ··· 977 978 [[package]] 979 name = "yoke" 980 + version = "0.7.5" 981 source = "registry+https://github.com/rust-lang/crates.io-index" 982 + checksum = "120e6aef9aa629e3d4f52dc8cc43a015c7724194c97dfaf45180d2daf2b77f40" 983 dependencies = [ 984 "serde", 985 "stable_deref_trait", ··· 989 990 [[package]] 991 name = "yoke-derive" 992 + version = "0.7.5" 993 source = "registry+https://github.com/rust-lang/crates.io-index" 994 + checksum = "2380878cad4ac9aac1e2435f3eb4020e8374b5f13c296cb75b4620ff8e229154" 995 dependencies = [ 996 "proc-macro2", 997 "quote", 998 + "syn 2.0.100", 999 "synstructure", 1000 ] 1001 1002 [[package]] 1003 name = "zerofrom" 1004 + version = "0.1.6" 1005 source = "registry+https://github.com/rust-lang/crates.io-index" 1006 + checksum = "50cc42e0333e05660c3587f3bf9d0478688e15d870fab3346451ce7f8c9fbea5" 1007 dependencies = [ 1008 "zerofrom-derive", 1009 ] 1010 1011 [[package]] 1012 name = "zerofrom-derive" 1013 + version = "0.1.6" 1014 source = "registry+https://github.com/rust-lang/crates.io-index" 1015 + checksum = "d71e5d6e06ab090c67b5e44993ec16b72dcbaabc526db883a360057678b48502" 1016 dependencies = [ 1017 "proc-macro2", 1018 "quote", 1019 + "syn 2.0.100", 1020 "synstructure", 1021 ] 1022 ··· 1039 dependencies = [ 1040 "proc-macro2", 1041 "quote", 1042 + "syn 2.0.100", 1043 ]
+5 -2
pkgs/by-name/su/sus-compiler/package.nix
··· 3 rustPlatform, 4 fetchFromGitHub, 5 versionCheckHook, 6 }: 7 8 rustPlatform.buildRustPackage rec { 9 pname = "sus-compiler"; 10 - version = "0.1.1"; 11 12 src = fetchFromGitHub { 13 owner = "pc2"; 14 repo = "sus-compiler"; 15 rev = "v${version}"; 16 - hash = "sha256-VSoroUultjBn2KxfvyhS923RQ/1v9AXb15k4/MoR+oM="; 17 fetchSubmodules = true; 18 }; 19 ··· 31 doInstallCheck = true; 32 nativeInstallCheckInputs = [ versionCheckHook ]; 33 versionCheckProgram = "${placeholder "out"}/bin/sus_compiler"; 34 35 meta = { 36 description = "A new Hardware Design Language that keeps you in the driver's seat";
··· 3 rustPlatform, 4 fetchFromGitHub, 5 versionCheckHook, 6 + nix-update-script, 7 }: 8 9 rustPlatform.buildRustPackage rec { 10 pname = "sus-compiler"; 11 + version = "0.2.0"; 12 13 src = fetchFromGitHub { 14 owner = "pc2"; 15 repo = "sus-compiler"; 16 rev = "v${version}"; 17 + hash = "sha256-0OZPBdilNknGCjWzXjyUAW57cpyyyV80EEo6pDlpG3g="; 18 fetchSubmodules = true; 19 }; 20 ··· 32 doInstallCheck = true; 33 nativeInstallCheckInputs = [ versionCheckHook ]; 34 versionCheckProgram = "${placeholder "out"}/bin/sus_compiler"; 35 + 36 + updateScript = nix-update-script { extraArgs = [ "--generate-lockfile" ]; }; 37 38 meta = { 39 description = "A new Hardware Design Language that keeps you in the driver's seat";