Curio is a small HTTP client built in the Rust Programming Language from Mozilla. It was started by myself as a way to learn the ins and outs of HTTP and its quirks, After all there is nothing much more interesting to me than the standard that defines the internet. Its primary goal above all else is performance, closely followed by ease of use. If You are proficient in Rust, and know how to help me improve the performance of Curio, please do not hesitate to open an issue tagged with the feature tag. If you have a feature you think would be perfect for Curio, and would be useful to more than just yourself, please open an issue with the feature tag.
Long story short; you shouldn't. Curio will likely never reach a stage of feature-completeness rivaling the more mature clients.
Again, probably not, and it possibly never will. If I can find the time to add the feature then it might, but I have to split my time between a part time job, college, coding, and myself, so it is unlikely that I will be able to find the time to code a lot in one session.
Currently this library is heavily under development and as such is completely nonfunctional. There are no docs to ensure nobody uses it in its current state other than the developer.
Wed 26th Aug 2020 - First fully capable GET request handler: Commit 496ae5f
Note: These benchmarks are for the internals of Curio, they are not comparable to any other http client.
(all times in microseconds (denoted: us
) over a span of 10000 runs)
|Name|Average|High|Low|Standard Deviation|
|:---:|:---:|:---:|:---:|:---:|
|Full request cycle|619 us|9280 us|448 us|299 us|
|Parse Cookie|60 us|247 us|53 us|14 us|
|Parse Header|4 us|126 us|4 us|2 us|
|Parse Response|261 us|550 us|235 us|41 us|