logoalt Hacker News

metaltyphoonyesterday at 11:21 PM1 replyview on HN

> often with duplicated functionality (multiple Base64, rand, sha256, etc crates)

I don’t think this is true unless they differ in major versions no? Cargo will apply semantic versioning and pick the best available given the cargo.toml version constraints.


Replies

nicoburnsyesterday at 11:44 PM

I don't think they mean multiple versions of the same crate (although can certainly happen too), but rather multiple different crates that cover the same functionality.

show 1 reply