I'm mapping ALL crates.io and their dependencies.

These are just 14341 crates (palindrome number and about 5.9% of crates.io) and it already seems something of cosmical proportions. Like some sort of megastructure. And we have some data!

Out of 14341 crates, 46% depend directly on tokio, 4.8% depend directly on syn, only 44 depend on a rustc_* internal crate, almost all of them being rustc_version and even being the most downloaded crate of all crates.io, only 166 depend on `hashbrown`.

#rust #opensource #foss

@blyxyas
Only 46% depend on tokio?
@mikalai @blyxyas I'm actually surprised it's that high. Tokio seems to most often be used as a dependency by applications, not libraries. If you don't need async file I/O or task scheduling you can write async code in a library using just std::future.
@tedmielczarek @mikalai This 14K crates are the most recently updated ones (so, the ones that have updated in the last ~50 days). So that might skew up some results (maybe these last two months there have been more binaries updated on crates.io).