Skip to content

Instantly share code, notes, and snippets.

@brson brson/rust.txt Secret

Last active Jul 16, 2020
Embed
What would you like to do?
rust line counts w/ vendored sources
commit 68fdecd0ba798586d657af7a68c8128f5a67650b
-------------------------------------------------------------------------------
Language Files Lines Code Comments Blanks
-------------------------------------------------------------------------------
Ada 10 2840 1681 560 599
Alex 4 85 67 0 18
Assembly (!) 6504 1483615 1155822 8174 319619
Autoconf 427 57923 36865 13338 7720
Automake 63 10310 7930 1073 1307
BASH 7 1386 1073 179 134
Batch 28 3830 3268 52 510
C (!) 7964 1788902 1174503 396433 217966
C Header 8389 1568905 956396 384081 228428
CMake 1109 63837 49825 6521 7491
C# (!) 31 3086 2253 481 352
C++ 19853 5048972 3593911 823085 631976
C++ Header 56 16618 13525 1199 1894
CSS 54 7089 5809 305 975
D 226 3405 3045 0 360
Dockerfile 123 3526 2618 340 568
.NET Resource 5 646 332 257 57
Emacs Lisp 11 1332 928 262 142
FORTRAN Modern 2 279 18 258 3
Go 1916 486707 366510 70905 49292
Handlebars 15 544 460 25 59
Happy 1 6645 6080 0 565
HEX 1 15 15 0 0
HTML 141 460858 446814 678 13366
INI 3 30 25 0 5
JavaScript (!) 61 10577 8692 908 977
JSON 142 31099 31099 0 0
LD Script 1 4 4 0 0
Makefile 838 8611 5622 862 2127
Markdown 2371 208020 208020 0 0
Module-Definition 115 25603 23089 106 2408
MSBuild 11 1045 906 113 26
Nix 1 7 6 0 1
OCaml 89 11106 5975 3202 1929
Objective C 1685 109232 61352 29500 18380
Objective C++ 492 37334 24451 6349 6534
Pascal 4 1443 451 773 219
Perl 302 213698 172205 18078 23415
Prolog 1 643 643 0 0
Protocol Buffers 3 203 146 31 26
Python (!) 1601 263626 195829 24369 43428
R 1 15 7 5 3
Rakefile 54 2898 2421 83 394
ReStructuredText 1050 221536 221536 0 0
Ruby 133 19206 13558 2994 2654
Rust 21783 3239633 2403503 525649 310481
Scala 6 54 54 0 0
Shell 394 75293 56842 9543 8908
SVG 53 7291 6932 358 1
Swift 2 23 17 0 6
SWIG 68 10579 7386 509 2684
TeX 6 3374 2992 22 360
Plain Text (!) 1365 785144 785144 0 0
TOML 610 19994 13465 4113 2416
TypeScript 3 172 117 38 17
VBScript 1 431 341 60 30
Vim Script 10 539 446 33 60
Visual Studio Project 38 17421 17421 0 0
Visual Studio Solution 40 6016 6004 0 12
XSL 6 724 598 26 100
XML 51 135996 134820 34 1142
YAML 718 63825 51795 10188 1842
-------------------------------------------------------------------------------
Total (!) 81052 16553800 12293662 2346152 1913986
-------------------------------------------------------------------------------
3892d85fe09b39f8ff56e53a4875488fb2951dd5
-------------------------------------------------------------------------------
Language Files Lines Code Comments Blanks
-------------------------------------------------------------------------------
Ada 20 5680 3362 1120 1198
Assembly 143 106199 95086 1399 9714
Autoconf 511 223379 183673 18593 21113
Automake 171 14304 9492 2581 2231
BASH 12 1570 1221 156 193
Batch 49 3547 2977 59 511
C (!) 4644 2550725 1902804 299084 348837
C Header (!) 6566 2107475 1384912 446407 276156
CMake 92 11463 8067 1907 1489
C# (!) 44 10478 8106 1714 658
C Shell 1 36 17 7 12
C++ (!) 3728 2092820 1574491 240856 277473
C++ Header 259 95976 71470 12881 11625
CSS (!) 454 11966 9205 1084 1677
D 2 36 9 22 5
Dockerfile 24 497 329 107 61
Emacs Lisp 3 389 291 51 47
Fish 1 76 47 13 16
GLSL 1572 79336 33738 34904 10694
Go 8 1400 1042 232 126
Happy 4 6996 6115 0 881
Haxe 2 167 137 5 25
HLSL 5 748 546 52 150
HTML (!) 41218 2056554 1798487 85622 172445
INI 10876 424620 290717 189 133714
Java 97 17344 13293 2283 1768
JavaScript (!) 4068 535288 376644 91867 66777
JSON 564 1216069 1216069 0 0
Lua 2 156 124 2 30
Makefile (!) 405 25542 15266 5458 4818
Markdown 897 118454 118454 0 0
Meson 141 13345 9785 2421 1139
Module-Definition 47 6472 5834 401 237
MSBuild 11 635 526 96 13
Objective C 37 517 306 94 117
Objective C++ 39 2772 2205 167 400
Pascal 8 2886 902 1546 438
Perl 23 6533 4748 976 809
Prolog 2 138 116 0 22
Protocol Buffers 2 555 468 13 74
Python (!) 5245 1162067 894916 77267 189884
R 1 38 12 18 8
ReStructuredText 651 101078 101078 0 0
Ruby 2 33 28 0 5
Rust 7441 2739025 2190883 326476 221666
Sass 1 124 89 13 22
Scons 51 2795 2039 207 549
Shell 417 80268 60362 10353 9553
SVG 1243 76585 63855 9233 3497
Swift 1 9 7 0 2
SWIG 1 98 56 28 14
TeX 1 10079 6097 3231 751
Plain Text (!) 2942 1441911 1441911 0 0
TOML 657 23478 15963 4722 2793
VBScript 1 116 84 15 17
Visual Studio Project 137 83202 83117 67 18
Visual Studio Solution 32 2971 2952 0 19
XSL 11 652 528 56 68
XAML 3 164 159 1 4
XCode Config 6 146 33 81 32
XML (!) 999 464005 446972 4108 12925
YAML 433 32105 28750 642 2713
-------------------------------------------------------------------------------
Total (!) 97028 17974092 14490972 1690887 1792233
-------------------------------------------------------------------------------
commit b1c4ae8bf75d159cc2301549c77ddf9acbddf6d6
-------------------------------------------------------------------------------
Language Files Lines Code Comments Blanks
-------------------------------------------------------------------------------
Ada 20 5680 3362 1120 1198
Alex 1 20 20 0 0
Assembly 35 24772 20327 1217 3228
Autoconf 76 19078 14121 2961 1996
Automake 8 1463 1020 206 237
BASH 3 526 286 88 152
Batch 37 880 693 16 171
C (!) 2454 1028270 752904 148275 127091
C Header (!) 1962 643096 478372 113548 51176
CMake 104 25643 20688 1569 3386
C# (!) 6 753 495 153 105
C++ 1194 394516 286543 59617 48356
CSS 13 2805 2254 107 444
D 1 7 6 0 1
Dockerfile 132 5222 2507 1895 820
Emacs Lisp 2 78 35 39 4
FORTRAN Legacy 23 3735 3015 106 614
FORTRAN Modern 3 1772 1363 76 333
Go 87 151878 139074 4500 8304
HTML (!) 71 15427 14165 418 844
JavaScript 54 2823 2424 238 161
JSON 26 18243 18243 0 0
Lua 2 86 69 3 14
Makefile 167 14860 9611 2416 2833
Markdown 673 76157 76157 0 0
Meson 8 713 510 111 92
Module-Definition 19 2363 2126 90 147
MSBuild 6 452 439 8 5
Nix 1 7 6 0 1
Objective C 9 455 412 0 43
Objective C++ 4 888 608 93 187
Pascal 8 2886 902 1546 438
Perl 285 258013 212902 18426 26685
PHP 1 30 10 17 3
Prolog 1 643 643 0 0
Protocol Buffers 146 17688 7593 7694 2401
Python 229 50104 36834 5876 7394
Rakefile 1 143 115 9 19
ReStructuredText 19 4032 4032 0 0
Ruby 3 97 39 45 13
Rust 5487 2010397 1559448 294671 156278
Scala 1 195 164 2 29
Scons 46 958 593 112 253
Shell 399 31819 20587 6877 4355
SQL (!) 29 198 198 0 0
SVG 16 13217 13199 14 4
SWIG 2 340 231 63 46
Plain Text (!) 269 341495 341495 0 0
TOML 416 21024 14284 4073 2667
Visual Studio Project 129 45121 45121 0 0
Visual Studio Solution 30 2316 2297 0 19
XSL 6 543 472 27 44
XCode Config 12 292 66 162 64
XML 16 9214 8342 37 835
YAML 61 8332 8038 100 194
-------------------------------------------------------------------------------
Total (!) 14813 5261765 4129460 678621 453684
-------------------------------------------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.