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

Fun facts about the graph:

There are 615 crates without any dependencies, those can be seen on up right.

Down right, with a big red cloud are AWS Rust crates, which ALL depend on `tokio` but not `syn`, `clap` or `hashbrown`. Curious.

On cyan to its side, Google crates.

Here is the color code:
Yellow - Syn
Light green - Clap
Not so light green - Rand
Red - Tokio

Tokio is put last because if it's first, maybe 70% of that big cloud is red and that's not interesting.