Hacker News new | past | comments | ask | show | jobs | submit login
Show HN: Visualize Rust Crates Dependencies (crates.live)
5 points by csomar on Aug 27, 2021 | hide | past | favorite | 5 comments



Nice work on this! The search is very snappy and the layout is quite pleasing. One thought: it's a little difficult for me to read the "DEV"/"OPTIONAL" dependency text on the side of the nodes; I wonder if some color-coding would help here?


> The search is very snappy

It's running on Cloudflare workers. Some 500 servers I guess! It's kinda of an overkill for the use case but I did it as I was looking to explore their API.

> I wonder if some color-coding would help here?

tbh, I kept trying a few combinations and then gave up. Design is not my strongest skill.


This is really cool.

You might want to somehow cap the depth for crates that have an extreme amount of dependencies.

Example (may freeze your browser):

https://crates.live/wgpu/0.10.1


It's capped to 500 crates, but some crates seem to hang the browser before that. See https://crates.live/reqwest/0.11.4


Nice work! The ability to colour the boxes by license might be a nice touch

Would be an easy visual way to identify dependencies with incompatible licenses




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: