this post was submitted on 16 Apr 2024
28 points (100.0% liked)
Rust
6011 readers
2 users here now
Welcome to the Rust community! This is a place to discuss about the Rust programming language.
Wormhole
Credits
- The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Hyper itself does work quite well in Rust and is the basis for the vast majority of Rust web frameworks, I just don't really see a use case for wrapping it in the curl API.
I think it's used because the author of curl is moving towards rust and doing it piecemeal. Although curl is well-tested and battle-tested, it's still written in a memory unsafe programming language, which I think was the motivation.
Anti Commercial-AI license
Well, the author of curl is the Daniel Stenberg suggesting its removal here.
Hyper was the standard for Rust web servers way before it was used by curl for anything.
That's probably why the curl author chose it.
Anti Commercial-AI license