Lib.rs › 统计

Rust crates生态系统统计。

crates.io注册库的增长

Download history of all crates since 2015 25M 51M 76M 102M 127M 153M 2015 2016 2017 2018 2019 2020 2021 2022 2023

自Rust 1.0以来的每日下载量,7日平均值

Crate下载量以每年2.1×的速度增长。

crates.io在一天内服务了1.91亿次下载,这比2015年5月Rust 1.0发布以来的前27个月的总下载量还要多。

工作日流量通常比周末高3.0×(比去年高2.8×)。

40511 crate owners registered on crates.io 6K 12K 18K 24K 30K 36K 2015 2016 2017 2018 2019 2020 2021 2022 2023

crates.io上拥有crate的用户/团队数量

有40,511个用户或团队在crates.io上拥有crate。拥有者数量以每年1.2×的速度增长。

Lib.rs已索引156226个crate。

依赖项

直接依赖项数量

每个crate明确使用的库数量。包括开发、构建时间和可选依赖。

0 1 2 3 4 5 6 7 8 9
27886
14103
14278
14944
12220
9789
8039
6899
6020
5044
10 11 ≥12 ≥14 ≥16 ≥18 ≥20 ≥25 ≥30 ≥40 ≥60 ≥80 ≥100 ≥120 ≥150
4058
3734
5541
4011
3071
2221
3235
1778
1591
778
139
43
19
1
7
mongodb-gridfs ic-stable-structures ruuvitag-upload futures-enum systemd_socket tembo-telemetry fabric-system arrow-digest cosmic-cli epsilonz filewatch google-plus1 tencent-qcloud-cos-rs globescraper archid-marketplace threescalers easy-qjs native-pkcs11 speedrun-api ida deployment-changelog imag-link cipherstash-grpc-web-client tower-sessions-surrealdb-store drogue-bme680 interledger-stream passcod-accord cueball-dns-resolver steel-engine gr-bin swc_ecma_compat_es2015 ugdb entropy-client lethe workflow-rpc fpd s2n-quic-core cronback-api-srv async-acme hcaptcha radvisor ambient_model_import nix-index rrss2imap usc tmkms node-launchpad oxyromon storage-proofs-porep bitcoin-test sp1-core sqlx-core-oldapi r-u-still-there gix antimatter bjsmiley-surrealdb wasmer-wasix denox tardis opendal deno qsv westend-runtime staging-kusama-runtime vrl coreutils zigbee2mqtt-types uhg-custom-appollo-roouter zero4rs apollo-router homestar-workspace-hack

传递性反向依赖项数量(受欢迎程度)

每个库crate作为其他crate的依赖项使用的频率,直接或间接。包括开发、构建时间和可选依赖。

1 2 ≥5 ≥15 ≥50 ≥100 ≥300 ≥1000 ≥2500 ≥5000 ≥10000 ≥20000 ≥50000
20759
15549
9060
4703
1625
1438
882
436
179
114
81
92
27
gnostr-core smashnet google-consumersurveys2 rigz_runtime iter-n triton-vm kaspa-consensus wedpr_s_protos pentacle grass-ir atm0s-media-server-transport poloto ril pgrx shell-quote sfml minus testing_logger ws2812-pio hex_color systemstat clap-markdown cranelift-module eui48 candle-nn deflate crypto_box websocket bio iref aptos-types bitstream-io trees oci-spec base64-serde kstring proptest-derive actix-testing sqlite3-sys tokio-io-timeout netlink-proto ordered-multimap arrow-row roff opencv-binding-generator solana-frozen-abi-macro byteorder-lite generator asn1-rs derivation-path lexical-util memmap cssparser-macros bevy_time objc2-app-kit number_prefix async-std ctr erased-serde rand_xoshiro sha-1 libsecp256k1 camino yaml-rust new_debug_unreachable plotters-backend rand_xorshift rdrand approx void criterion mime_guess parking bit-set iovec termcolor spin rustc-hash static_assertions windows-core num-conv vcpkg vec_map humantime env_logger http-body zerocopy form_urlencoded anyhow httparse generic-array chrono futures-io mio http autocfg windows_i686_gnu cfg-if windows_x86_64_msvc serde windows_i686_msvc unicode-ident once_cell shlex cc

开发

包的开发时长

其最早和最新发布之间的时间。

一次性 ≤1周 ≤1个月 ≤6个月 ≤1年 ≤2年 ≤3年 ≤5年 ≤7年 ≤10年
45403
28911
9565
18119
12211
14187
8072
8635
2911
1435
oxidate boing-internals fuchsia-core blackjack_commons ya epsilonz group-varint-offset-encoding cargo-vistree static-self-derive console-codes cameraunit_fli rflow markdown_converter impc atm0s-sdn-multiaddr howudoin reservoir-nft docufort clap-utilities hc_r2d2_sqlite tailwind-parse-macro forky_bevy resources huawei-cloud-api-definitions-iDMEClassicAPI encodings abstract-adapter-utils range_bounds_map git-bitmap afetch-colored serde-csv-core blackd-client operator-framework atsam4n16b-pac azure_devops_rust_api xshell-venv ms3d uchardet-sys ip2d rustorm_codegen pyproject-toml png_pong cargo-trim ejdb irust liquid-derive dynamic_reload prost-build fallible-iterator cid frank_jwt

没有任何更新时间

自 crate 最新版本发布以来经过的时间。请注意,一些 crate 可以“完成”并且不需要定期更新。

≤1个月 ≤3个月 ≤6个月 ≤1年 ≤2年 ≤3年 ≤4年 ≤5年 ≤7年 ≤10年
16183
10994
14279
18640
28965
18390
14882
10851
11038
5227
local_strtools zman rpn_calc_taro_kobayashi volo-http sha3 google-displayvideo1 google-plus1 tramex-tools a653rs ripcalc ddp2ass basejmp axiom-eth konst_kernel opcodes holy pklrs cargo-index-transit kill_tree unreal-doc async_zmq flat_vec uefisettings_backend_thrift bancho-packets bash2 nwn-rs-codegen puball dreck tampon rust_net xkcd-search slmp_client sndfile-sys moleculer packtool samd-dma lzfse hesoyam_macro chainable-if elvis-backend vdb rugenere ws-frame futures-spawner rusty_express rumo h telegram flic decimate

年龄

自 crate 首次发布以来经过的时间。

≤1个月 ≤3个月 ≤6个月 ≤1年 ≤2年 ≤3年 ≤4年 ≤5年 ≤7年 ≤10年
4502
5135
8732
16395
31035
22369
19318
15048
16824
10091
rpn_calc_taro_kobayashi paketkoll_cache crate_crypto_internal_eth_kzg_bls12_381 treesitter_kind_collector polynominal-interpolation test-format swimos_errors mavryk_crypto_rs gin-tonic say-hello-tobialbertino spawn64 node-launchpad diol wings_host custom-element holy halo2-wasm style-expand-shorthand eei_vfd yew-sidebar ingest degu valorant_api_official hilbert_transform proof-params-undelegate-claim clap-utilities zkwasmer naty_nativefy mugen-air cargo-prof goods-treasury-cli rebop tokio-dl-stream-to-disk dll-syringe intility_cloud_lib twitter-bot termprogress opentelemetry-tide uni_serde_urlencoded qmc messagepack-rs flume async-coap-uri https-everywhere-lib-wasm futures-spawner my-password-cli matrixnum drone-test system_uri grpcio-sys

每个crate的发布数量

每个crate的唯一版本数量,不包括已撤回的版本。

1 2 ≥4 ≥8 ≥16 ≥32 ≥50 ≥100 ≥500
48013
36750
29436
18802
10018
3254
2424
703
49
blackjack_commons boing-internals fbnc ya oxidate clipboard-ext bevy_simple_2d_outline group-varint-offset-encoding systemd_socket cargo-vistree bitmagic-sys stopwatch LCPminigrep json-mel bevy_mod_inverse_kinematics mqtt-async-client geoip-rs megam_api mongodb-gridfs rsocket_rust_transport_tcp stretch print_bytes parser-combinators zng-ext-hot-reload mpstthree proc-macro-hack tor-dirclient sass-sys apisdk huawei-cloud-api-definitions-IEF mathcat bitcoind ckb-systemtime fimg nostr-sdk deno_node oculante aws-sdk-connect odbcsv v8 rustc-ap-rustc_target rustc-ap-arena swc_ecma_lints swc_ecma_transforms_testing swc_ecma_transforms_base

每个用户拥有的crate数量

单个账户(用户或团队)拥有的crate数量。不包括世界上所有拥有0个crate的其他人。

1 2 3 ≥6 ≥25 ≥50 ≥75 ≥100 ≥150 ≥200
19342
6979
7220
5524
683
144
71
51
17
23
judu canadaduane dgoodlad ernesto-jimenez michaelklishin michaelmelanson auser zacheryph endoze mudge cablehead thequux joshuaclayton stefanoc ratmice devyn walkah daaku alienscience madninja Keats Jasper-Bekkers rwl filmil yvan-sraka jjl ahl nbari mattstam ubnt-intrepid vercel raviqqe FredrikNoren paulgb Protryon BrantBrown wasmcloud-automation jeremyBanks kurtbuilds pemistahl jbr Michael-F-Bryan andygrove kuviman matter-labs rust-lang matklad Wandalen FL03 uutils ml-ia matthiasbeyer vpetrigo sunfishcode Manishearth cart strake mingyang91 matthewkmayer btwiuse benesch aws-sdk-rust-ci anza-team rusoto sdroege kdy1 awslabs RustCrypto

大小

包大小(KB)

作为压缩tarball下载的数据量。代码+捆绑数据文件的大小。单独的包页面显示未压缩代码的大小。

≤1KB ≤10KB ≤50KB ≤100KB ≤500KB ≤1MB ≤5MB ≤10MB ≤42MB
19299
54210
45914
7268
7955
1964
3038
602
31
ipkv peon yr blackjack_commons chainlink_api optional_take dismantler LCPminigrep polyhorn-test group-varint-offset-encoding tembo-telemetry kcheck oxidate clippit emap sanakirja-core micro_banimate threescalers eiche grep-reader huawei-cloud-api-definitions-iDMEClassicAPI navajo threepm marseille acceptxmr lfest curve25519-dalek-organism typer hpm5361-pac lpc13xx-pac telraam-rs aionic delta_2a_lidar guessing_game_1732891 luajit-src just-latex elfkit fasttext tauri-plugin-printer-sujin999 boring-sys ffmpeg4-sys rbspy-testdata lief-sys v8 efm32gg11b-pac

包总带宽(GB)

作为压缩tarball下载的数据量 × 每月下载次数。

≥1MB ≥10MB ≥100MB ≥1GB ≥10GB ≥100GB ≥1TB ≥5TB ≥10TB
50023
25868
11210
4627
1437
451
63
10
14
fieldless_enum_tools cxx-clang-auto memedsn unreal-doc freya-hooks tempdb_cockroach xtp gh_page_tool chess dasp bandwhich async_zmq udevrs bevy_hanabi kakasi query_map clap-cargo sloggers smol_str parity-scale-codec-derive jiff yoke libe2fs-sys cardano-serialization-lib gix-tempfile axum-core ducc-sys prometheus aws-sdk-ssm cargo-make arrow2 futures-task bitcoin cc clap_builder indexmap sha3 rust-stemmers rayon rand unicode-normalization tracing-subscriber encoding_rs windows_aarch64_gnullvm tokio regex-automata librocksdb-sys windows_x86_64_gnullvm winapi regex-syntax syn libz-sys windows_i686_msvc ring windows windows_aarch64_msvc windows_x86_64_gnu image linux-raw-sys v8 windows-sys libsqlite3-sys

类别

每个类别中crate的数量。面积按crate的排名(按排名降低垃圾邮件)进行加权。颜色仅用于装饰。

Procedural macros (6483) Procedural macros (6483)Proc macros 6483 Rust patterns (4949) Rust patterns (4949)Rust patterns 4949 Concurrency (1789) Concurrency (1789)Concurrency 1789 Web programming (7044) Web programming (7044)Web programming 7044 WebAssembly (2400) WebAssembly (2400)WebAssembly 2400 HTTP server (2171) HTTP server (2171)HTTP server 2171 HTTP client (781) HTTP client (781)HTTP HTTP client (781)client 781 WebSocket (475) WebSocket (475)WebSocket 475 Magic Beans (11045) Magic Beans (11045)Crypto Magic Beans 11045 Network programming (8771) Network programming (8771)Network programming 8771 Asynchronous (3303) Asynchronous (3303)Async 3303 Development tools (3772) Development tools (3772)Development tools 3772 Testing (1308) Testing (1308)Testing 1308 Debugging (1224) Debugging (1224)Debugging 1224 Cargo plugins (1056) Cargo plugins (1056)Cargo Cargo plugins (1056)plugins 1056 Build Utils (1044) Build Utils (1044)Build Build Utils (1044)Utils 1044 Profiling (550) Profiling (550)Profiling FFI (452) FFI (452)FFI Command line utilities (7123) Command line utilities (7123)Command line utilities 7123 Command-line interface (1472) Command-line interface (1472)Command-line interface 1472 Embedded development (3484) Embedded development (3484)Embedded Embedded development (3484)development 3484 Hardware support (3164) Hardware support (3164)Hardware Hardware support (3164)support 3164 No standard library (604) No standard library (604)No standard No standard library (604)library Math (2816) Math (2816)Math 2816 Machine learning (1550) Machine learning (1550)Machine learning 1550 Science (1477) Science (1477)Science 1477 Biology (426) Biology (426)Biology 426 Geospatial (377) Geospatial (377)Geo Robotics (319) Robotics (319)Robots Database interfaces (4529) Database interfaces (4529)Database interfaces 4529 Database implementations (547) Database implementations (547)Database Parser implementations (4794) Parser implementations (4794)Parser implementations 4794 Parser tooling (458) Parser tooling (458)Parser tooling Text processing (2951) Text processing (2951)Text processing 2951 Template engine (915) Template engine (915)Template Template engine (915)engine 915 Text editors (700) Text editors (700)Editors 700 Value formatting (504) Value formatting (504)Value formatting 504 Game dev (3631) Game dev (3631)Game dev 3631 Games (1360) Games (1360)Games 1360 Audio (1656) Audio (1656)Audio 1656 Images (1398) Images (1398)Images 1398 Video (686) Video (686)Video Multimedia (558) Multimedia (558)Multimedia Cryptography (3946) Cryptography (3946)Cryptography 3946 Algorithms (3873) Algorithms (3873)Algorithms 3873 Unix APIs (1528) Unix APIs (1528)Unix APIs 1528 Operating systems (1149) Operating systems (1149)OS 1149 Windows APIs (799) Windows APIs (799)Windows APIs 799 macOS and iOS APIs (334) macOS and iOS APIs (334)Apple Data structures (3720) Data structures (3720)Data structures 3720 Encoding (3568) Encoding (3568)Encoding 3568 Filesystem (2561) Filesystem (2561)Filesystem 2561 Graphics APIs (1604) Graphics APIs (1604)Graphics APIs 1604 Rendering (514) Rendering (514)Rendering 514 Data formats (181) Data formats (181)Formats Rendering engine (116) Rendering engine (116)Engine GUI (2006) GUI (2006)GUI 2006 Programming languages (1796) Programming languages (1796)Lang 1796 Authentication (1581) Authentication (1581)Auth 1581 Configuration (1372) Configuration (1372)Config 1372 Compression (1061) Compression (1061)Compression 1061 Memory management (1092) Memory management (1092)Memory management 1092 Date and time (782) Date and time (782)Date and time Internationalization (i18n) (657) Internationalization (i18n) (657)i18n 657 Simulation (600) Simulation (600)Sim 600 Visualization (676) Visualization (676)Visualize Email (537) Email (537)Email Emulators (530) Emulators (530)Emulators 530 Caching (529) Caching (529)Cache 529 Finance (442) Finance (442)Finance 442 Accessibility (85) Accessibility (85)a11y

生态系统

具有其依赖中每个替代方案的crate数量。更受欢迎并不意味着更好。这些crate和类别都是人工挑选的。

运行时
220571398232167
tokioasync-stdpollstersmol
Web框架
209510898784283931323621
toweraxumactix-webwarprocketpoemrouillegotham
TLS客户端
376817081367
rustlsnative-tlsopenssl
git客户端
1148115
git2gix
日志记录器
4181020158481
logtracingslog
错误处理
3467321367295415251062820
thiserroranyhowquick-erroreyresnafumiette
参数解析器
20225995316270102
clapgetoptspico-argsarghargparse
Markdown解析器
805137119
pulldown-cmarkmarkdowncomrak
TOML解析器
11338637884
tomltoml_editbasic-toml
二进制编码器
5761323313241195392110
bincodeprostprotobufrmp-serdeciboriumcapnp
JSON解析器
362162161002213
serde_jsonjson5simd-jsonminiserdetinyjson
解析器生成器
7645355716153309825
nompestcombinepegpomlalrpop
XML解析器
17741570696217912724
xml-rsquick-xmlxmlparserxml5everlibxmlrxmlelementtree
临时文件
5776462
tempfiletempdir

Rustc兼容性

可以编译给定Rust版本的crate(在其当前版本中)的百分比。数据基于Linux/aarch64上对cargo checkclippy::incompatible_msrv的抽样。不包括从未构建的crate(例如,因为需要nightly、Windows或非常见的C依赖项)。

这些统计数据是在使用最兼容的Cargo.lock文件的最佳情况下。没有锁文件的全新项目将因过新的传递依赖项而兼容性较差。

按crate的流行度加权的兼容性并不是生态系统兼容性的真实反映。实际的兼容性总是更差,因为项目的最小支持Rust版本(MSRV)不是其依赖项MSRV的平均值,而是完全依赖于其最不兼容的依赖项。

所有crate,包括未维护的crate

RustcOK / 无数据 / Broken deps / Incompatible
1.80 97% compatible 2% no data 0% not compatible because of dependencies 0% not compatible
1.79 95% compatible 4% no data 0% not compatible because of dependencies 0% not compatible
1.78 92% compatible 6% no data 0% not compatible because of dependencies 0% not compatible
1.77 81% compatible 17% no data 0% not compatible because of dependencies 0% not compatible
1.76 80% compatible 18% no data 0% not compatible because of dependencies 0% not compatible
1.75 79% compatible 19% no data 1% not compatible because of dependencies 1% not compatible
1.74 76% compatible 19% no data 3% not compatible because of dependencies 2% not compatible
1.73 75% compatible 20% no data 4% not compatible because of dependencies 2% not compatible
1.72 74% compatible 21% no data 4% not compatible because of dependencies 2% not compatible
1.71 73% compatible 21% no data 5% not compatible because of dependencies 3% not compatible
1.70 71% compatible 22% no data 5% not compatible because of dependencies 3% not compatible
1.69 69% compatible 21% no data 9% not compatible because of dependencies 5% not compatible
1.68 68% compatible 21% no data 10% not compatible because of dependencies 6% not compatible
1.67 66% compatible 22% no data 10% not compatible because of dependencies 6% not compatible
1.66 64% compatible 24% no data 11% not compatible because of dependencies 6% not compatible
1.65 62% compatible 24% no data 12% not compatible because of dependencies 6% not compatible
1.64 59% compatible 26% no data 13% not compatible because of dependencies 7% not compatible
1.63 57% compatible 25% no data 16% not compatible because of dependencies 8% not compatible
1.62 53% compatible 27% no data 18% not compatible because of dependencies 9% not compatible
1.61 53% compatible 27% no data 19% not compatible because of dependencies 10% not compatible
1.60 51% compatible 27% no data 21% not compatible because of dependencies 10% not compatible
1.56 41% compatible 29% no data 29% not compatible because of dependencies 17% not compatible
1.55 33% compatible 5% no data 60% not compatible because of dependencies 58% not compatible
1.50 31% compatible 4% no data 63% not compatible because of dependencies 60% not compatible
1.45 27% compatible 6% no data 66% not compatible because of dependencies 60% not compatible
1.40 23% compatible 7% no data 69% not compatible because of dependencies 60% not compatible
1.35 17% compatible 8% no data 73% not compatible because of dependencies 62% not compatible
1.31 13% compatible 8% no data 78% not compatible because of dependencies 65% not compatible
1.30 6% compatible 2% no data 91% not compatible because of dependencies 90% not compatible
1.25 5% compatible 2% no data 92% not compatible because of dependencies 90% not compatible

最近更新的4000个crate

RustcOK / 无数据 / Broken deps / Incompatible
1.80 91% compatible 8% no data 0% not compatible because of dependencies 0% not compatible
1.79 68% compatible 28% no data 3% not compatible because of dependencies 3% not compatible
1.78 62% compatible 33% no data 4% not compatible because of dependencies 3% not compatible
1.77 53% compatible 40% no data 5% not compatible because of dependencies 4% not compatible
1.76 51% compatible 41% no data 7% not compatible because of dependencies 5% not compatible
1.75 41% compatible 42% no data 15% not compatible because of dependencies 12% not compatible
1.74 36% compatible 42% no data 21% not compatible because of dependencies 16% not compatible
1.73 31% compatible 43% no data 25% not compatible because of dependencies 19% not compatible
1.72 29% compatible 43% no data 27% not compatible because of dependencies 19% not compatible
1.71 27% compatible 43% no data 28% not compatible because of dependencies 20% not compatible
1.70 26% compatible 42% no data 31% not compatible because of dependencies 20% not compatible
1.69 21% compatible 39% no data 39% not compatible because of dependencies 26% not compatible
1.68 20% compatible 39% no data 40% not compatible because of dependencies 26% not compatible
1.67 17% compatible 40% no data 41% not compatible because of dependencies 26% not compatible
1.66 15% compatible 41% no data 43% not compatible because of dependencies 27% not compatible
1.65 13% compatible 41% no data 44% not compatible because of dependencies 28% not compatible
1.64 9% compatible 43% no data 47% not compatible because of dependencies 30% not compatible
1.63 8% compatible 40% no data 50% not compatible because of dependencies 32% not compatible
1.62 7% compatible 40% no data 52% not compatible because of dependencies 33% not compatible
1.61 6% compatible 39% no data 54% not compatible because of dependencies 33% not compatible
1.60 5% compatible 38% no data 55% not compatible because of dependencies 34% not compatible
1.56 1% compatible 35% no data 63% not compatible because of dependencies 43% not compatible
1.55 0% compatible 1% no data 97% not compatible because of dependencies 96% not compatible
1.50 0% compatible 0% no data 98% not compatible because of dependencies 97% not compatible
1.45 0% compatible 0% no data 98% not compatible because of dependencies 97% not compatible
1.40 0% compatible 1% no data 98% not compatible because of dependencies 97% not compatible
1.35 0% compatible 1% no data 98% not compatible because of dependencies 97% not compatible
1.31 0% compatible 0% no data 99% not compatible because of dependencies 97% not compatible
1.30 0% compatible 0% no data 99% not compatible because of dependencies 99% not compatible
1.25 0% compatible 0% no data 99% not compatible because of dependencies 99% not compatible

基于crates.io请求的Rust版本使用情况

这是基于初步的请求日志数据。这不仅限于真实用户,还包括CI等自动化流量。

这么多的crates.io请求... 0% 6% 49% 60% 65% 80% 87% 91.2% 92.6% 93.1% 94.0% 94.8% 98.4% 98.5% 98.7% 99.1% 99.2% 99.5%
...使用此稳定版本的Rust或更高版本 1.82+ 1.81+ 1.80+ 1.79+ 1.78+ 1.77+ 1.76+ 1.75+ 1.74+ 1.73+ 1.72+ 1.71+ 1.70+ 1.69+ 1.68+ 1.67+ 1.66+ 1.65+
这么多的crates.io请求... 5% 8% 11% 11% 12% 12% 12% 12% 13% 13% 13% 13% 13% 13% 13% 13% 13% 13%
...使用此或更高版本的nightlyRust 1.82+ 1.81+ 1.80+ 1.79+ 1.78+ 1.77+ 1.76+ 1.75+ 1.74+ 1.73+ 1.72+ 1.71+ 1.70+ 1.69+ 1.68+ 1.67+ 1.66+ 1.65+