I've run a quick analysis on directory listings of all crate files published on crates.io (to show a pie chart with crate contents of non-pure-Rust crates). Here's top 100 of most common filename extensions:
-
.html
× 178415 -
.rs
× 147826 -
.c
× 53092 -
.h
× 34328 -
.f
× 19817 -
.txt
× 14395 -
.gitignore
× 14330 -
.orig
× 11790 — somebody forgot to use Cargo'sinclude
/exclude
-
.cpp
× 11374 -
.md
× 9356 -
.yml
× 8542 -
.bin
× 8337 -
.cc
× 7578 -
.py
× 7509 -
.js
× 6605 -
.s
× 5384 -
.json
× 4817 -
.rb
× 4495 -
.sh
× 4304 -
.png
× 3344 -
.a
× 2909 -
.toml
× 2878 -
.3
× 2734 -
.hpp
× 2688 -
.in
× 2121 -
.xml
× 2079 -
.java
× 1848 -
.asm
× 1775 -
.wren
× 1771 -
.frag
× 1733 -
.reference
× 1707 -
.out
× 1504 -
.td
× 1287 -
.rst
× 1187 -
.vim
× 1148 -
.cs
× 1101 -
.sublime-snippet
× 916 -
.match
× 898 -
.vcxproj
× 863 -
.mk
× 825 -
.yaml
× 808 -
.ps1
× 794 -
.m4
× 790 -
.css
× 775 -
.cmake
× 756 -
.woff
× 721 -
.vert
× 720 -
.am
× 710 -
.o
× 686 -
.pem
× 674 -
.pb
× 660 -
.pl
× 643 -
.svg
× 606 -
.gyp
× 598 -
.filters
× 577 -
.exp
× 564 -
.sql
× 529 -
.build
× 515 -
.ttf
× 468 -
.comp
× 468 -
.1
× 466 -
.lua
× 465 -
.pod
× 464 -
.pas
× 448 -
.bmp
× 430 -
.markdown
× 429 -
.cfg
× 427 -
.proto
× 396 -
.m
× 366 -
.gitmodules
× 341 -
.dyon
× 330 -
.wast
× 323 -
.bat
× 322 -
.mm
× 313 -
.hh
× 311 -
.jpg
× 310 -
.props
× 308 -
.editorconfig
× 308 -
.tcc
× 296 -
.crt
× 296 -
.ttl
× 292 -
.d
× 290 -
.adoc
× 283 -
.vcproj
× 274 -
.sln
× 271 -
.data
× 270 -
.stderr
× 255 -
.atdf
× 255 -
.inc
× 254 -
.go
× 246 -
.orth
× 244 -
.gif
× 237 -
.lp
× 233 -
.gitattributes
× 225 -
.conf
× 223 -
.ml
× 215 -
.glsl
× 210 -
.jsonnet
× 204 -
.lo
× 200 -
.csv
× 196