Cargo package aliases

Well with the npm-malicious-packages I don’t think that “there’s no problem.” We still don’t have a typo proof system, just a -/_ proof one.

How many crates are levenshtein< 1 from each other?

So I descended into the BurntSushiVers…

  1. check out crates.io-index and use @burntsushi’s walkdir to list all the names.
  2. convert all the names to lowercase and _ -> -
  3. use @burntsushi’s fst to make the list searchable.
  4. use @burntsushi’s fst-levenshtein to search the fst for each name.
  5. save the results to a gist.

Tada 3909 matches!

1 Like