Hacker News new | past | comments | ask | show | jobs | submit login

Rust depending on 220 packages is somewhat understandable.

After all it runs on many platforms. I counted 16 Windows packages just by glancing over and also many macOS related.

But 541 for docs?

Surely there's a gradient between trusting no one and trusting 541 packages to generate static files.




Are you confusing `docs.rs` with `cargo doc`?

It is indeed many packages, but if you look into the dependencies and code, docs is full blown standalone HTTP async server which uses tokio, AWS S3 and Postgresql. It is used to host the docs.rs where is the documentation of every cargo project.

Maybe they should feature-gate some functionality and also split the dependencies

Static site generator is mostly in the Rust itself: https://github.com/rust-lang/rust/tree/master/src/librustdoc




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: