Show HN: Taurus – A Concurrent Gemini Server
garritfra
5 years ago
3
5
https://github.com/garritfra/taurus
smlckz5 years ago
Great job! I actually started reading the source code.

In src/gemini.rs you wrote:

    pub struct GeminiResonse {
    ...
You meant ''GeminiResponse''?
garritfrasmlckz5 years ago
Whoops, great catch! Thanks for noticing.
smlckz5 years ago
I think instead of a mutable GeminiRespone, add that not_found() (and subsequently new response types) into GeminiResponse impl and construct one when needed. And then, for consistency, GeminiResponse::new() should become GeminiReponse::success().
garritfrasmlckz5 years ago
This is a great idea. Thanks a lot for the feedback.