Closed akyllus closed 9 months ago
Thanks, but agate is already a Gemini server. We don’t need a second Gemini server implementation.
Also, your code uses hyper::Request
and hyper::Response
and hyper::StatusCode
, which means it is parsing and sending HTTP headers and status codes rather than Gemini headers and status codes, so it will not work with a Gemini client.
Gemini server in Rust using the tokio and hyper libraries. This server will serve static files from a directory and respond to requests with a 20 text/gemini MIME type, After installing the tokio and hyper libraries, you can run the server by executing the Rust script.