this post was submitted on 19 Jul 2023
33 points (97.1% liked)
Rust
5953 readers
13 users here now
Welcome to the Rust community! This is a place to discuss about the Rust programming language.
Wormhole
Credits
- The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
While I share the sentiments about cryptocurrency being a solution that is in search for a problem - libs should not editorialize the contents while still claiming to be "more complete and accurate crate information than crates.io"
Today the came for cryptocurrency, if we don't speak up - tomorrow they will come for monads and other category theory goodies.
on the one hand, I completely agree with the maintainers stance here:
but I do not agree with disinformation. Modifying a package to state it's deprecated is slimy and underhanded. You've already put warnings up everywhere. You do not need to resort to tactics like this.
disinformation is what got the world into the shitty state it's in. if you spread disinformation you're no better than the cryptoscammers that do the same.
https://crates.io/search?q=git (finds dead placeholder, no git2 in sight) vs https://lib.rs/search?q=git (finds git2 first)
https://crates.io/search?q=option (dead placeholder again, and every crate that contains "at your option" in license) vs https://lib.rs/search?q=option (finds
Option
helpers and cli parsers)https://crates.io/search?q=database vs https://lib.rs/search?q=database
https://crates.io/search?q=error (7-year-old crate, podcast-api!?) vs https://lib.rs/search?q=error (anyhow + thiserror first)
https://crates.io/search?q=sedre (typo) vs https://lib.rs/search?q=sedre (did you mean serde?)
crates.io is fine when you know the name of the crate you want (navigation searches), but is full of noise for broader queries. It doesn't eliminate namesquatted garbage nor obsolete crates. It searches all text including tangential boilerplate. It shows fewer results per page. OTOH lib.rs filters out the noise. It also understands words with multiple meanings and ensures all meanings are included (e.g. search for "http" knows to include "http client" and "http server" and asks you to clarify which meaning you wanted).
To defend a scam technology like cryptocurrencies with a line that was originally about people being shipped off to concentration camps is disgusting.