rust-secure-code / safety-dance

Auditing crates for unsafe code which can be safely replaced

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Audit ureq

Shnatsel opened this issue · comments

ureq is a minimal HTTP request library that has a small dependency tree with minimal amounts of unsafe in it (aside of smallvec).

Unlike the more complex solutions, it is a good candidate for an Actually Secure™ HTTP client. It also survived the test of downloading the frontpages of the top million websites without crashes or hangs - while reqwest and even curl failed.

Right now ureq has 3 unsafe blocks of its own.

PR removing the last of unsafe code is open:
algesten/ureq#31

Is this a tinyvec canidate?

It has a transitive dependency on smallvec via unicode-normalization. So it is, but indirectly.