logoalt Hacker News

vsgherziyesterday at 6:18 PM2 repliesview on HN

Crates has also been making efforts to include rust sec, but in addition to the above I would like the community to shy away from many small dependencies to a few larger ones just as tokio has


Replies

kibwenyesterday at 8:53 PM

Contrary to what the article here presents, Rust does not have a culture of microlibraries like NPM does. The author and their LLM are cargo-culting a criticism of Rust made by people whose only experience is with the Node ecosystem. The Rust stdlib may not be especially "wide" compared to languages like Python, but it is quite deep, with the objective of making it so that you don't feel the need to publish single-purpose libraries which only exist to fix papercuts. Dozens of new APIs get added with every Rust release, which, occurring every six weeks, amounts to hundreds per year.

fleventynineyesterday at 6:35 PM

Many small crates published by large, trustworthy projects are fine and preferable to one large crate that "does everything".

show 2 replies