Are there any automated tools that you can help you convert a C codebase into Rust? And is there any reason why Rust couldn't be as portable as the C code that makes up curl?

Is it very difficult to transpile C into Rust?

As an aside, I not like the curl style guidelines [1]. Especially "'else' on the following line", and "No space before parentheses". That doesn't look nice at all.

[1] https://curl.haxx.se/dev/code-style.html