3 ms·
crates.io isn't npm. A lot of mess in npm is specific to npm, Node and JS. I need to rm -rf node_modules regularly. Cargo works every time. Node makes breakin
by pornel 4y ago
crates.io isn't npm. A lot of mess in npm is specific to npm, Node and JS.
I need to rm -rf node_modules regularly. Cargo works every time.
Node makes breaking changes regularly and intentionally. Rust releases are checked against all crates-io crates to avoid breaking anything.
JS has dynamic typing, monkey patching, and a drama around modules. Rust has very clear and strict library interfaces.
Cargo is much more reliable than the npm client. Has lock files that work. Left-pad scenario has been fixed at npm long time ago, and has never been possible at crates-io.