I' m grateful for curl and libcurl. It's a gem of our stack, a strong and robust tool to build upon. I maintain a project [1] that can't exist without libcurl so a big thanks!
Rust is definitely the worst language for this, writing curl in C++ would unlock memory and type safety while not throwing 30 years of language design out the window.
You really don't need to throw out all at once, you can just replace those components that profit most from rust guarantees, like where you parse external untrusted inputs first, with FFI one can then integrate that in the current code base without any calling overhead. Rinse repeat with next thing you profit most one, i.e., more like a Ship of Theseus process.
Funny, posted https://daniel.haxx.se/blog/2013/03/23/why-no-curl-8/ here in a reply, only a couple of days ago - but I missed there was an update:
https://daniel.haxx.se/blog/2021/09/13/heading-towards-curl-...