• 0 Posts
  • 5 Comments
Joined 3 个月前
cake
Cake day: 2025年6月6日

help-circle

  • What’s wrong with it

    • It’s a random crate no one uses.
    • You’re not even really “using” it. You are just importing a re-export of reqwest, which is what I expected you to immediately notice after I brought it into attention. You can obviously just remove it and use reqwest directly.
    • Still, trusting a re-export is not a trivial matter. The random author of the no-name crate could replace the original reqwest with something malicious, or bad in some other way, in a v0.1.1 release. That (theoretical) release will be picked up after a cargo update call, or when Cargo.lock is not checked, which is the case by default with libraries.